Workflow: optional-operators-cvp-common-aws

Installs a cluster with a default configuration on AWS, install an optional operator using the input index image, package and channel, and execute a common suite of CVP tests to validate the optional operator. Important: Parameter values in `env` are supposed to be used only in rehearsals and serve as "testing defaults". Production jobs should always override them via `cvp-trigger`.

Cluster Profile: aws-cpaas

Pre Steps

Name Description
ipi-aws-pre The IPI setup step contains all steps that provision an OpenShift cluster with a default configuration on AWS.
optional-operators-configure-proxy-registry The configure-proxy registry step configures the proxy image registry to pull internal images.
optional-operators-cvp-common-apply-secrets Collect the project information from the supplied Pyxis project URL, decrypt the encrypted kube_objects and apply the kube_objects on the testing cluster before the opereator is installed and tested.
optional-operators-subscribe The subscribe step installs an optional operator from a provided index image.

Test Steps

Name Description
optional-operators-cvp-common-scorecard The operator cvp scorecard test for bundle images from brew registry.
optional-operators-cvp-common-test The shared CVP tests to validate optional operator images.

Post Steps

Name Description
ipi-aws-post The IPI cleanup step contains all steps that gather and deprovision an OpenShift cluster on AWS, provisioned by the `ipi-aws-pre` chain.

Dependencies

Image Exposed As Override[?] Required By Steps
bundle-image BUNDLE_IMAGE no optional-operators-cvp-common-scorecard
ci-index OO_INDEX no optional-operators-subscribe
release:latest OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE no ipi-install-install
RELEASE_IMAGE_LATEST no ipi-install-install

Environment

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

Variable Name Variable Content Consumed By Steps
BASE_DOMAIN A fully-qualified domain or subdomain name. The base domain of the cloud provider is used for setting baseDomain variable of the install configuration of the cluster. (default: origin-ci-int-aws.dev.rhcloud.com) ipi-conf-aws
COMPUTE_NODE_TYPE The instance type to use for compute nodes (e.g. AWS https://aws.amazon.com/ec2/instance-types/). We use a 4 core worker to match the median configuration of the fleet. (default: m5.xlarge) ipi-conf-aws
FIPS_ENABLED (default: false) ipi-conf
INITIAL_CHANNEL (For upgrade tests) The name of the initial channel of the operator to track. optional-operators-subscribe
INITIAL_CSV (For upgrade tests) The name of the initial CSV to install. optional-operators-subscribe
OO_CHANNEL The name of the operator channel to track. optional-operators-subscribe
OO_INSTALL_NAMESPACE The namespace into which the operator and catalog will be installed. Special value `!create` means that a new namespace will be created. optional-operators-subscribe
OO_PACKAGE The name of the operator package to be installed. Must be present in the index image referenced by `INDEX_IMAGE`. optional-operators-subscribe
OO_TARGET_NAMESPACES A comma-separated list of namespaces the operator will target. Special, value `!all` means that all namespaces will be targeted. If no OperatorGroup exists in `INSTALL_NAMESPACE`, a new one will be created with its target namespaces set to `TARGET_NAMESPACES`, otherwise the existing OperatorGroup's target namespace set will be replaced. The special value `!install` will set the target namespace to the operator's installation namespace. optional-operators-subscribe
OPENSHIFT_INSTALL_EXPERIMENTAL_DUAL_STACK Using experimental Azure dual-stack support (default: false) ipi-install-install
OPENSHIFT_INSTALL_PRESERVE_BOOTSTRAP Keep bootstrap resources after install. Warning: this should only be used for debugging purposes, and poses a risk to cluster stability. ipi-install-install
PYXIS_URL Optional. URL that contains specific cvp product package name for specific ISV with unique pid. optional-operators-cvp-common-apply-secrets
SIZE_VARIANT The size of the cluster in one of our supported t-shirt values that is standard across all CI environments. The sizes are: * "" (default) - 4 vCPU, 16GB control plane nodes, default workers * "compact" - 8 vCPU, 32GB control plane nodes, no workers * "large" - 16 vCPU, 64GB+ control plane nodes, default workers, suitable for clusters up to 250 nodes * "xlarge" - 32 vCPU, 128GB+ control plane nodes, default workers, suitable for clusters up to 1000 nodes These sizes are roughly consistent across all cloud providers, but we may not be able to instantiate some sizes in some regions or accounts due to quota issues. ipi-conf-aws
TMPDIR A pathname of a directory made available for programs that need a place to create temporary files. (default: /tmp) gather-aws-console
ZONES_COUNT The number of Availability Zones to present in the cluster. This depends on the selected region. (default: 2) ipi-conf-aws

Step Graph

Webreg Workflow "optional-operators-cvp-common-aws" cluster_3 Pre cluster_2 ipi-aws-pre cluster_0 ipi-conf-aws cluster_1 ipi-install cluster_4 Test cluster_8 Post cluster_7 ipi-aws-post cluster_6 ipi-deprovision cluster_5 gather 0 ipi-conf 1 ipi-conf-aws 0->1 2 ipi-install-monitoringpvc 1->2 3 ipi-install-rbac 2->3 4 openshift-cluster-bot-rbac 3->4 5 ipi-install-install 4->5 6 ipi-install-times-collection 5->6 7 optional-operators-configure-proxy-registry 6->7 8 optional-operators-cvp-common-apply-secrets 7->8 9 optional-operators-subscribe 8->9 10 optional-operators-cvp-common-scorecard 9->10 11 optional-operators-cvp-common-test 10->11 12 gather-aws-console 11->12 13 gather-must-gather 12->13 14 gather-extra 13->14 15 gather-audit-logs 14->15 16 ipi-deprovision-deprovision 15->16

GitHub Link:

https://github.com/openshift/release/blob/master/ci-operator/step-registry/optional-operators/cvp-common/aws/optional-operators-cvp-common-aws-workflow.yaml

Owners:

Approvers:

Source code for this page located on GitHub