From d912a42889d08ffc0d00fcd46a7fe1e015a75a0b Mon Sep 17 00:00:00 2001 From: Adrien Gentil Date: Fri, 3 May 2024 17:36:56 +0200 Subject: [PATCH] Revert "NO-ISSUE: Disable assisted-service vsphere periodic job as it permanently failing (#51340)" Issues solved by https://github.com/openshift/assisted-service/pull/6239 This reverts commit d0ecb3b16b490f4f7d11ffd9694e2beb350892da. --- .../openshift-assisted-test-infra-master.yaml | 10 +++ ...-assisted-test-infra-master-periodics.yaml | 77 +++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/ci-operator/config/openshift/assisted-test-infra/openshift-assisted-test-infra-master.yaml b/ci-operator/config/openshift/assisted-test-infra/openshift-assisted-test-infra-master.yaml index 98afabb93a84..9e0d6da2e50c 100644 --- a/ci-operator/config/openshift/assisted-test-infra/openshift-assisted-test-infra-master.yaml +++ b/ci-operator/config/openshift/assisted-test-infra/openshift-assisted-test-infra-master.yaml @@ -688,6 +688,16 @@ tests: MAKEFILE_TARGET=test PLATFORM: vsphere workflow: assisted-vsphere +- as: e2e-vsphere-assisted-periodic + cron: 00 05 */1 * 0-5 + steps: + cluster_profile: vsphere-2 + env: + ASSISTED_CONFIG: | + NUM_WORKERS=0 + MAKEFILE_TARGET=test + PLATFORM: vsphere + workflow: assisted-vsphere - always_run: false as: e2e-vsphere-assisted-4-12 optional: true diff --git a/ci-operator/jobs/openshift/assisted-test-infra/openshift-assisted-test-infra-master-periodics.yaml b/ci-operator/jobs/openshift/assisted-test-infra/openshift-assisted-test-infra-master-periodics.yaml index 0faa17d8cbbb..05bf5b00c3f0 100644 --- a/ci-operator/jobs/openshift/assisted-test-infra/openshift-assisted-test-infra-master-periodics.yaml +++ b/ci-operator/jobs/openshift/assisted-test-infra/openshift-assisted-test-infra-master-periodics.yaml @@ -1924,6 +1924,83 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: vsphere02 + cron: 00 05 */1 * 0-5 + decorate: true + extra_refs: + - base_ref: master + org: openshift + repo: assisted-test-infra + labels: + ci-operator.openshift.io/cloud: vsphere + ci-operator.openshift.io/cloud-cluster-profile: vsphere-2 + ci.openshift.io/generator: prowgen + job-release: "4.16" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-assisted-test-infra-master-e2e-vsphere-assisted-periodic + 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-assisted-periodic-cluster-profile + - --target=e2e-vsphere-assisted-periodic + 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-assisted-periodic-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 - agent: kubernetes cluster: build03 cron: '*/30 * * * *'