Workflow: optional-operators-ci-aws-upgrade

Installs a cluster with a default configuration on AWS and installs an specified initial version of an operator and then upgrades to the latest bundle from the built index.

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-subscribe The subscribe step installs an optional operator from a provided index image.
optional-operators-ci-upgrade The upgrade step upgrades an optional operator installed by the subscribe step.

Test Steps

No test steps configured.

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
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 optional-operators-ci-upgrade
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_LATEST_CSV The name of the CSV being upgraded to. optional-operators-ci-upgrade
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
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-ci-aws-upgrade" 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-subscribe 6->7 8 optional-operators-ci-upgrade 7->8 9 Intentionally left blank 8->9 10 gather-aws-console 9->10 11 gather-must-gather 10->11 12 gather-extra 11->12 13 gather-audit-logs 12->13 14 ipi-deprovision-deprovision 13->14

GitHub Link:

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

Owners:

Approvers:

Source code for this page located on GitHub