Workflow: ocm-e2e-kind

This workflow creates a VM with KinD installed to run test and then destroys the VM when done.

Pre Steps

Name Description
ocm-ci-rbac This workflow adds the necessary privileges to the Prow job's namespace so that images can be accessed outside the Prow clusters.
ocm-e2e-kind-create This step creates AWS VM created to run KinD based tests. The IP address for the VM is stored in ${SHARED_DIR}/public_ip. The SSH private key is stored in ${SHARED_DIR}/private.pem. Because of the way Prow creates the shared directory, the private key file will have 644 permissions when your test starts. You will need to run `chmod 400 "${SHARED_DIR}/private.pem"` before you use the private key file with ssh.

Test Steps

No test steps configured.

Post Steps

Name Description
ocm-e2e-kind-destroy This step destroys the AWS VM created to run KinD based tests.


No step in this workflow sets dependencies.[?]


In addition to the default environment, the following variables are consumed through this workflow

Variable Name Variable Content Consumed By Steps
AWS_CREDENTIALS_SECRET The name of the kube secret with the AWS credentials. ocm-e2e-kind-create ocm-e2e-kind-destroy
AWS_INSTANCE_TYPE The AWS EC2 instance type to use. (default: t3.xlarge) ocm-e2e-kind-create
AWS_REGION The AWS region to use. The KinD AMI is only available in us-east-1, us-east-2, us-west-1, and us-west-2. (default: us-east-1) ocm-e2e-kind-create

Step Graph

Webreg Workflow "ocm-e2e-kind" cluster_0 Pre cluster_1 Test cluster_2 Post 0 ocm-ci-rbac 1 ocm-e2e-kind-create 0->1 2 Intentionally left blank 1->2 3 ocm-e2e-kind-destroy 2->3

GitHub Link:



Source code for this page located on GitHub