Discover Packages
github.com/IBM/portieris
test
e2e
package
Version:
v0.13.21
Opens a new window with list of versions in this module.
Published: Nov 14, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
copyright:
years: 2020, 2021
lastupdated: "2021-08-26"
E2E tests
The end-to-end (E2E) tests run against a Kubernetes cluster. The tests are typically run by maintainers against an IBM Cloud Kubernetes Service cluster before a pull request (PR) is accepted.
Before you begin, contact a maintainer to find out what to set for exporting the E2E_ACCOUNT_HEADER
. You'll need this information for one of the steps.
Run a test by completing the following steps.
Order an IBM Cloud Kubernetes Service cluster, see Creating clusters , or use an existing cluster.
Get the cluster configuration by running the following ibmcloud ks cluster config
command.
ibmcloud ks cluster config -c <cluster-name>
Export KUBECONFIG to point at the kube-config.yaml
file for your cluster that is in ~/.bluemix/plugins/container-service/clusters
.
For example,
export KUBECONFIG=~/.bluemix/plugins/container-service/clusters/mycluster-xxxx/kube-config.yaml
Create an IBM Cloud Container Registry namespace that is owned by the same account as the cluster, see Setting up a namespace .
Export the HUB
variable that points to your IBM Cloud Container Registry namespace.
For example,
export HUB=uk.icr.io/yournamespace
After completing your code changes, build and push the image to your namespace by running the following command.
make push
Install Portieris into your cluster.
helm install helm/portieris
Export E2E_ACCOUNT_HEADER
. (Contact a maintainer to find out what to set.)
Run the following command.
make e2e.quick
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.