From 2781cac9d0adfa6abd2ceba9131f2543f0d825b2 Mon Sep 17 00:00:00 2001 From: Grant Spence Date: Mon, 16 Sep 2024 15:38:35 -0400 Subject: [PATCH] OCPBUGS-42045: Add IBM Public Cloud PreSubmit E2E for Ingress Operator The Ingress Operator was lacking a presubmit E2E job for IBM Public Cloud. This change adds a IBM Public Cloud presubmit job as optional so that we can identify issues in CI. --- ...shift-cluster-ingress-operator-master.yaml | 13 +++ ...er-ingress-operator-master-presubmits.yaml | 79 +++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/ci-operator/config/openshift/cluster-ingress-operator/openshift-cluster-ingress-operator-master.yaml b/ci-operator/config/openshift/cluster-ingress-operator/openshift-cluster-ingress-operator-master.yaml index e3b5bc0e7d445..0bf9c4876c231 100644 --- a/ci-operator/config/openshift/cluster-ingress-operator/openshift-cluster-ingress-operator-master.yaml +++ b/ci-operator/config/openshift/cluster-ingress-operator/openshift-cluster-ingress-operator-master.yaml @@ -150,6 +150,19 @@ tests: env: FEATURE_SET: TechPreviewNoUpgrade workflow: openshift-e2e-aws +- as: e2e-ibmcloud-operator + optional: true + steps: + cluster_profile: ibmcloud + test: + - as: test + cli: latest + commands: make test-e2e + from: src + resources: + requests: + cpu: 100m + workflow: openshift-e2e-ibmcloud - as: e2e-aws-operator-techpreview optional: true steps: diff --git a/ci-operator/jobs/openshift/cluster-ingress-operator/openshift-cluster-ingress-operator-master-presubmits.yaml b/ci-operator/jobs/openshift/cluster-ingress-operator/openshift-cluster-ingress-operator-master-presubmits.yaml index bdb4b628742cb..1f90ece011e8f 100644 --- a/ci-operator/jobs/openshift/cluster-ingress-operator/openshift-cluster-ingress-operator-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/cluster-ingress-operator/openshift-cluster-ingress-operator-master-presubmits.yaml @@ -1107,6 +1107,85 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )e2e-hypershift,?($|\s.*) + - agent: kubernetes + always_run: true + branches: + - ^master$ + - ^master- + cluster: build02 + context: ci/prow/e2e-ibmcloud-operator + decorate: true + labels: + ci-operator.openshift.io/cloud: ibmcloud + ci-operator.openshift.io/cloud-cluster-profile: ibmcloud + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-cluster-ingress-operator-master-e2e-ibmcloud-operator + optional: true + rerun_command: /test e2e-ibmcloud-operator + 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-ibmcloud-operator-cluster-profile + - --target=e2e-ibmcloud-operator + 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-ibmcloud-operator-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-ibmcloud + - 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-ibmcloud-operator,?($|\s.*) - agent: kubernetes always_run: true branches: