Workflow: optional-operators-cvp-common-claim

This workflows perform shared pre/post actions on clusters obtained from preinstalled pools (https://docs.ci.openshift.org/docs/architecture/ci-operator/#testing-with-a-cluster-from-a-cluster-pool). The intent of this workflow is to mimic the `ipi-$PLATFORM` workflow behavior, just without the installation/deprovision steps.

Pre Steps

Name Description
ipi-install-rbac The pre-installation RBAC step adds necessary privileges for the cluster under test against the build farm.
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
gather The gather step chain contains all the individual steps necessary to gather artifacts from a cluster.

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

Environment

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

Variable Name Variable Content Consumed By Steps
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
PYXIS_URL Optional. URL that contains specific cvp product package name for specific ISV with unique pid. optional-operators-cvp-common-apply-secrets

Step Graph

Webreg Workflow "optional-operators-cvp-common-claim" cluster_0 Pre cluster_1 Test cluster_3 Post cluster_2 gather 0 ipi-install-rbac 1 optional-operators-configure-proxy-registry 0->1 2 optional-operators-cvp-common-apply-secrets 1->2 3 optional-operators-subscribe 2->3 4 optional-operators-cvp-common-scorecard 3->4 5 optional-operators-cvp-common-test 4->5 6 gather-must-gather 5->6 7 gather-extra 6->7 8 gather-audit-logs 7->8

GitHub Link:

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

Owners:

Approvers:

Source code for this page located on GitHub