From 9af12ccefc1d8749e5b47db2c005aa1f7cef27ff Mon Sep 17 00:00:00 2001 From: vr4manta Date: Wed, 28 Feb 2024 10:08:46 -0500 Subject: [PATCH] Created CI jobs for CAPI vSphere static IP. --- .../openshift-installer-master__altinfra.yaml | 10 +++ ...hift-installer-release-4.16__altinfra.yaml | 10 +++ ...hift-installer-release-4.17__altinfra.yaml | 10 +++ ...openshift-installer-master-presubmits.yaml | 83 +++++++++++++++++++ ...ift-installer-release-4.16-presubmits.yaml | 83 +++++++++++++++++++ ...ift-installer-release-4.17-presubmits.yaml | 83 +++++++++++++++++++ 6 files changed, 279 insertions(+) diff --git a/ci-operator/config/openshift/installer/openshift-installer-master__altinfra.yaml b/ci-operator/config/openshift/installer/openshift-installer-master__altinfra.yaml index 6966e2194e31c..2a7ded0bc541d 100644 --- a/ci-operator/config/openshift/installer/openshift-installer-master__altinfra.yaml +++ b/ci-operator/config/openshift/installer/openshift-installer-master__altinfra.yaml @@ -259,6 +259,16 @@ tests: FEATURE_SET: CustomNoUpgrade workflow: openshift-e2e-vsphere-zones timeout: 6h0m0s +- always_run: false + as: e2e-vsphere-capi-static-ovn + optional: true + steps: + cluster_profile: vsphere-8-vpn + env: + FEATURE_GATES: '["ClusterAPIInstall=true","VSphereStaticIPs=true"]' + FEATURE_SET: CustomNoUpgrade + workflow: openshift-e2e-vsphere-staticip + timeout: 6h0m0s zz_generated_metadata: branch: master org: openshift diff --git a/ci-operator/config/openshift/installer/openshift-installer-release-4.16__altinfra.yaml b/ci-operator/config/openshift/installer/openshift-installer-release-4.16__altinfra.yaml index 54266c2f8961e..33c87bfe395f1 100644 --- a/ci-operator/config/openshift/installer/openshift-installer-release-4.16__altinfra.yaml +++ b/ci-operator/config/openshift/installer/openshift-installer-release-4.16__altinfra.yaml @@ -260,6 +260,16 @@ tests: FEATURE_SET: CustomNoUpgrade workflow: openshift-e2e-vsphere-zones timeout: 6h0m0s +- always_run: false + as: e2e-vsphere-capi-static-ovn + optional: true + steps: + cluster_profile: vsphere-8-vpn + env: + FEATURE_GATES: '["ClusterAPIInstall=true","VSphereStaticIPs=true"]' + FEATURE_SET: CustomNoUpgrade + workflow: openshift-e2e-vsphere-staticip + timeout: 6h0m0s zz_generated_metadata: branch: release-4.16 org: openshift diff --git a/ci-operator/config/openshift/installer/openshift-installer-release-4.17__altinfra.yaml b/ci-operator/config/openshift/installer/openshift-installer-release-4.17__altinfra.yaml index 9f1248675eb3d..6d035ddc3ddd5 100644 --- a/ci-operator/config/openshift/installer/openshift-installer-release-4.17__altinfra.yaml +++ b/ci-operator/config/openshift/installer/openshift-installer-release-4.17__altinfra.yaml @@ -259,6 +259,16 @@ tests: FEATURE_SET: CustomNoUpgrade workflow: openshift-e2e-vsphere-zones timeout: 6h0m0s +- always_run: false + as: e2e-vsphere-capi-static-ovn + optional: true + steps: + cluster_profile: vsphere-8-vpn + env: + FEATURE_GATES: '["ClusterAPIInstall=true","VSphereStaticIPs=true"]' + FEATURE_SET: CustomNoUpgrade + workflow: openshift-e2e-vsphere-staticip + timeout: 6h0m0s zz_generated_metadata: branch: release-4.17 org: openshift diff --git a/ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml b/ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml index dcd3b08c2e0d9..b9023aab2f266 100644 --- a/ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml @@ -1557,6 +1557,89 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )altinfra-e2e-vsphere-capi-ovn,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - ^master$ + - ^master- + cluster: vsphere02 + context: ci/prow/altinfra-e2e-vsphere-capi-static-ovn + decorate: true + decoration_config: + timeout: 6h0m0s + labels: + ci-operator.openshift.io/cloud: vsphere + ci-operator.openshift.io/cloud-cluster-profile: vsphere-8-vpn + ci-operator.openshift.io/variant: altinfra + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-installer-master-altinfra-e2e-vsphere-capi-static-ovn + optional: true + rerun_command: /test altinfra-e2e-vsphere-capi-static-ovn + 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-vsphere-capi-static-ovn-cluster-profile + - --target=e2e-vsphere-capi-static-ovn + - --variant=altinfra + 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-vsphere-capi-static-ovn-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-vsphere + - 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( | .* )altinfra-e2e-vsphere-capi-static-ovn,?($|\s.*) - agent: kubernetes always_run: false branches: diff --git a/ci-operator/jobs/openshift/installer/openshift-installer-release-4.16-presubmits.yaml b/ci-operator/jobs/openshift/installer/openshift-installer-release-4.16-presubmits.yaml index c61f16d92fabc..ef4afbf7188e5 100644 --- a/ci-operator/jobs/openshift/installer/openshift-installer-release-4.16-presubmits.yaml +++ b/ci-operator/jobs/openshift/installer/openshift-installer-release-4.16-presubmits.yaml @@ -1557,6 +1557,89 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )altinfra-e2e-vsphere-capi-ovn,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - ^release-4\.16$ + - ^release-4\.16- + cluster: vsphere02 + context: ci/prow/altinfra-e2e-vsphere-capi-static-ovn + decorate: true + decoration_config: + timeout: 6h0m0s + labels: + ci-operator.openshift.io/cloud: vsphere + ci-operator.openshift.io/cloud-cluster-profile: vsphere-8-vpn + ci-operator.openshift.io/variant: altinfra + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-installer-release-4.16-altinfra-e2e-vsphere-capi-static-ovn + optional: true + rerun_command: /test altinfra-e2e-vsphere-capi-static-ovn + 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-vsphere-capi-static-ovn-cluster-profile + - --target=e2e-vsphere-capi-static-ovn + - --variant=altinfra + 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-vsphere-capi-static-ovn-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-vsphere + - 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( | .* )altinfra-e2e-vsphere-capi-static-ovn,?($|\s.*) - agent: kubernetes always_run: false branches: diff --git a/ci-operator/jobs/openshift/installer/openshift-installer-release-4.17-presubmits.yaml b/ci-operator/jobs/openshift/installer/openshift-installer-release-4.17-presubmits.yaml index 41104e23242f2..49d620a709825 100644 --- a/ci-operator/jobs/openshift/installer/openshift-installer-release-4.17-presubmits.yaml +++ b/ci-operator/jobs/openshift/installer/openshift-installer-release-4.17-presubmits.yaml @@ -1557,6 +1557,89 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )altinfra-e2e-vsphere-capi-ovn,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - ^release-4\.17$ + - ^release-4\.17- + cluster: vsphere02 + context: ci/prow/altinfra-e2e-vsphere-capi-static-ovn + decorate: true + decoration_config: + timeout: 6h0m0s + labels: + ci-operator.openshift.io/cloud: vsphere + ci-operator.openshift.io/cloud-cluster-profile: vsphere-8-vpn + ci-operator.openshift.io/variant: altinfra + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-installer-release-4.17-altinfra-e2e-vsphere-capi-static-ovn + optional: true + rerun_command: /test altinfra-e2e-vsphere-capi-static-ovn + 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-vsphere-capi-static-ovn-cluster-profile + - --target=e2e-vsphere-capi-static-ovn + - --variant=altinfra + 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-vsphere-capi-static-ovn-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-vsphere + - 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( | .* )altinfra-e2e-vsphere-capi-static-ovn,?($|\s.*) - agent: kubernetes always_run: false branches: