From 101cb6eb8bc0f06d4309a7897d0f58f3a5ff94ee Mon Sep 17 00:00:00 2001 From: Petr Muller Date: Fri, 2 Feb 2024 15:54:58 +0100 Subject: [PATCH] cvo: add techpreview jobs --- ...shift-cluster-version-operator-master.yaml | 43 +++ ...er-version-operator-master-presubmits.yaml | 316 ++++++++++++++++++ 2 files changed, 359 insertions(+) diff --git a/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-master.yaml b/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-master.yaml index 63fdfd17ebcbb..9eac2d2ad8227 100644 --- a/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-master.yaml +++ b/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-master.yaml @@ -67,6 +67,14 @@ tests: steps: cluster_profile: azure4 workflow: openshift-e2e-azure +- always_run: false + as: e2e-agnostic-ovn-techpreview + optional: true + steps: + cluster_profile: azure4 + env: + FEATURE_SET: TechPreviewNoUpgrade + workflow: openshift-e2e-azure - as: e2e-agnostic-operator skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ steps: @@ -80,11 +88,35 @@ tests: cpu: 100m memory: 200Mi workflow: openshift-e2e-azure +- always_run: false + as: e2e-agnostic-operator-techpreview + optional: true + steps: + cluster_profile: azure4 + env: + FEATURE_SET: TechPreviewNoUpgrade + test: + - as: e2e-test + commands: hack/test-integration.sh + from: src + resources: + requests: + cpu: 100m + memory: 200Mi + workflow: openshift-e2e-azure - as: e2e-agnostic-ovn-upgrade-into-change skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ steps: cluster_profile: azure4 workflow: openshift-upgrade-azure +- always_run: false + as: e2e-agnostic-ovn-upgrade-into-change-techpreview + optional: true + steps: + cluster_profile: azure4 + env: + FEATURE_SET: TechPreviewNoUpgrade + workflow: openshift-upgrade-azure - as: e2e-agnostic-ovn-upgrade-out-of-change skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ steps: @@ -93,6 +125,17 @@ tests: OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:latest OPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDE: release:initial workflow: openshift-upgrade-azure +- always_run: false + as: e2e-agnostic-ovn-upgrade-out-of-change-techpreview + optional: true + steps: + cluster_profile: azure4 + dependencies: + OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:latest + OPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDE: release:initial + env: + FEATURE_SET: TechPreviewNoUpgrade + workflow: openshift-upgrade-azure - as: e2e-hypershift-conformance skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ steps: diff --git a/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml b/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml index 8cfce394e2584..bbe0564fad1f2 100644 --- a/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml @@ -79,6 +79,85 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )e2e-agnostic-operator,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - ^master$ + - ^master- + cluster: build02 + context: ci/prow/e2e-agnostic-operator-techpreview + decorate: true + labels: + ci-operator.openshift.io/cloud: azure4 + ci-operator.openshift.io/cloud-cluster-profile: azure4 + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-cluster-version-operator-master-e2e-agnostic-operator-techpreview + optional: true + rerun_command: /test e2e-agnostic-operator-techpreview + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --secret-dir=/usr/local/e2e-agnostic-operator-techpreview-cluster-profile + - --target=e2e-agnostic-operator-techpreview + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - mountPath: /usr/local/e2e-agnostic-operator-techpreview-cluster-profile + name: cluster-profile + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials + - name: cluster-profile + secret: + secretName: cluster-secrets-azure4 + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator + trigger: (?m)^/test( | .* )e2e-agnostic-operator-techpreview,?($|\s.*) - agent: kubernetes always_run: false branches: @@ -158,6 +237,85 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )e2e-agnostic-ovn,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - ^master$ + - ^master- + cluster: build02 + context: ci/prow/e2e-agnostic-ovn-techpreview + decorate: true + labels: + ci-operator.openshift.io/cloud: azure4 + ci-operator.openshift.io/cloud-cluster-profile: azure4 + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-cluster-version-operator-master-e2e-agnostic-ovn-techpreview + optional: true + rerun_command: /test e2e-agnostic-ovn-techpreview + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --secret-dir=/usr/local/e2e-agnostic-ovn-techpreview-cluster-profile + - --target=e2e-agnostic-ovn-techpreview + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - mountPath: /usr/local/e2e-agnostic-ovn-techpreview-cluster-profile + name: cluster-profile + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials + - name: cluster-profile + secret: + secretName: cluster-secrets-azure4 + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator + trigger: (?m)^/test( | .* )e2e-agnostic-ovn-techpreview,?($|\s.*) - agent: kubernetes always_run: false branches: @@ -237,6 +395,85 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )e2e-agnostic-ovn-upgrade-into-change,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - ^master$ + - ^master- + cluster: build02 + context: ci/prow/e2e-agnostic-ovn-upgrade-into-change-techpreview + decorate: true + labels: + ci-operator.openshift.io/cloud: azure4 + ci-operator.openshift.io/cloud-cluster-profile: azure4 + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-cluster-version-operator-master-e2e-agnostic-ovn-upgrade-into-change-techpreview + optional: true + rerun_command: /test e2e-agnostic-ovn-upgrade-into-change-techpreview + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --secret-dir=/usr/local/e2e-agnostic-ovn-upgrade-into-change-techpreview-cluster-profile + - --target=e2e-agnostic-ovn-upgrade-into-change-techpreview + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - mountPath: /usr/local/e2e-agnostic-ovn-upgrade-into-change-techpreview-cluster-profile + name: cluster-profile + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials + - name: cluster-profile + secret: + secretName: cluster-secrets-azure4 + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator + trigger: (?m)^/test( | .* )e2e-agnostic-ovn-upgrade-into-change-techpreview,?($|\s.*) - agent: kubernetes always_run: false branches: @@ -316,6 +553,85 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )e2e-agnostic-ovn-upgrade-out-of-change,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - ^master$ + - ^master- + cluster: build02 + context: ci/prow/e2e-agnostic-ovn-upgrade-out-of-change-techpreview + decorate: true + labels: + ci-operator.openshift.io/cloud: azure4 + ci-operator.openshift.io/cloud-cluster-profile: azure4 + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-cluster-version-operator-master-e2e-agnostic-ovn-upgrade-out-of-change-techpreview + optional: true + rerun_command: /test e2e-agnostic-ovn-upgrade-out-of-change-techpreview + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --secret-dir=/usr/local/e2e-agnostic-ovn-upgrade-out-of-change-techpreview-cluster-profile + - --target=e2e-agnostic-ovn-upgrade-out-of-change-techpreview + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - mountPath: /usr/local/e2e-agnostic-ovn-upgrade-out-of-change-techpreview-cluster-profile + name: cluster-profile + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials + - name: cluster-profile + secret: + secretName: cluster-secrets-azure4 + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator + trigger: (?m)^/test( | .* )e2e-agnostic-ovn-upgrade-out-of-change-techpreview,?($|\s.*) - agent: kubernetes always_run: false branches: