From b2d0b656b1729d923c2633ab8109ffe662ac1303 Mon Sep 17 00:00:00 2001 From: deepsm007 Date: Wed, 19 Oct 2022 07:30:09 -0400 Subject: [PATCH] Adding Arm Azure IPI jobs --- ...nshift-multiarch-master__nightly-4.12.yaml | 11 +++ .../openshift-multiarch-master-periodics.yaml | 75 +++++++++++++++++++ .../e2e/test/openshift-e2e-test-commands.sh | 2 +- 3 files changed, 87 insertions(+), 1 deletion(-) diff --git a/ci-operator/config/openshift/multiarch/openshift-multiarch-master__nightly-4.12.yaml b/ci-operator/config/openshift/multiarch/openshift-multiarch-master__nightly-4.12.yaml index 68be4edbe69b3..461411af56488 100644 --- a/ci-operator/config/openshift/multiarch/openshift-multiarch-master__nightly-4.12.yaml +++ b/ci-operator/config/openshift/multiarch/openshift-multiarch-master__nightly-4.12.yaml @@ -270,6 +270,17 @@ tests: BASE_DOMAIN: arm-ci.devcluster.openshift.com COMPUTE_NODE_TYPE: m6g.xlarge workflow: openshift-e2e-aws-techpreview-serial +- as: ocp-e2e-azure-ovn-arm64 + interval: 72h + steps: + cluster_profile: azure-arm64 + dependencies: + OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:arm64-latest + env: + BASE_DOMAIN: ci.azure.devcluster.openshift.com + COMPUTE_NODE_TYPE: Standard_D4ps_v5 + OCP_ARCH: arm64 + workflow: openshift-e2e-azure-ovn - as: ocp-e2e-ovn-remote-libvirt-s390x cluster: build01 interval: 96h diff --git a/ci-operator/jobs/openshift/multiarch/openshift-multiarch-master-periodics.yaml b/ci-operator/jobs/openshift/multiarch/openshift-multiarch-master-periodics.yaml index b6c0beafb3bc2..9bdc398b15919 100644 --- a/ci-operator/jobs/openshift/multiarch/openshift-multiarch-master-periodics.yaml +++ b/ci-operator/jobs/openshift/multiarch/openshift-multiarch-master-periodics.yaml @@ -4299,6 +4299,81 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build05 + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: master + org: openshift + repo: multiarch + interval: 72h + labels: + ci-operator.openshift.io/cloud: azure-arm64 + ci-operator.openshift.io/cloud-cluster-profile: azure-arm64 + ci-operator.openshift.io/variant: nightly-4.12 + ci.openshift.io/generator: prowgen + job-release: "4.12" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-multiarch-master-nightly-4.12-ocp-e2e-azure-ovn-arm64 + 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/ocp-e2e-azure-ovn-arm64-cluster-profile + - --target=ocp-e2e-azure-ovn-arm64 + - --variant=nightly-4.12 + 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/ocp-e2e-azure-ovn-arm64-cluster-profile + name: cluster-profile + - mountPath: /secrets/gcs + name: gcs-credentials + 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-azure-arm64 + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator - agent: kubernetes cluster: build01 cron: '@yearly' diff --git a/ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh b/ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh index 83da24b2f9ac1..76a6a3c9b96eb 100755 --- a/ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh +++ b/ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh @@ -123,7 +123,7 @@ aws|aws-arm64) export TEST_PROVIDER="{\"type\":\"aws\",\"region\":\"${REGION}\",\"zone\":\"${ZONE}\",\"multizone\":true,\"multimaster\":true}" export KUBE_SSH_USER=core ;; -azure4) export TEST_PROVIDER=azure;; +azure4|azure-arm64) export TEST_PROVIDER=azure;; azurestack) export TEST_PROVIDER="none" export AZURE_AUTH_LOCATION=${SHARED_DIR}/osServicePrincipal.json