From 7704004ba65a69cc990d54a82b7f120055788df6 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 21 Nov 2024 14:22:55 -0500 Subject: [PATCH] hcp/openstack: periodic jobs for Cinder & Manila CSI Add periodic jobs for Hypershift on OpenStack with Cinder and Manila CSI. --- ...ft-hypershift-release-4.18__periodics.yaml | 28 +++ ...ft-hypershift-release-4.19__periodics.yaml | 26 +++ ...ift-hypershift-release-4.18-periodics.yaml | 166 ++++++++++++++++++ ...ift-hypershift-release-4.19-periodics.yaml | 166 ++++++++++++++++++ 4 files changed, 386 insertions(+) diff --git a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.18__periodics.yaml b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.18__periodics.yaml index 8ec9a324b3cd..033d722e14bf 100644 --- a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.18__periodics.yaml +++ b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.18__periodics.yaml @@ -207,6 +207,34 @@ tests: - env: OPENSTACK_CLOUD resource_type: openstack-vexxhost-quota-slice workflow: hypershift-openstack-conformance +- as: e2e-openstack-csi-cinder + minimum_interval: 72h + steps: + cluster_profile: hypershift + env: + CLUSTER_TYPE_OVERRIDE: openstack-vh-mecha-central + RHCOS_IMAGE_NAME: rhcos-4.18-hcp-nodepool + TECH_PREVIEW_NO_UPGRADE: "true" + TEST_CSI_DRIVER_MANIFEST: manifest-openstack-cinder.yaml + TEST_SUITE: openshift/csi + leases: + - env: OPENSTACK_CLOUD + resource_type: openstack-vh-mecha-central-quota-slice + workflow: hypershift-openstack-conformance +- as: e2e-openstack-csi-manila + minimum_interval: 72h + steps: + cluster_profile: hypershift + env: + CLUSTER_TYPE_OVERRIDE: openstack-vh-mecha-central + RHCOS_IMAGE_NAME: rhcos-4.18-hcp-nodepool + TECH_PREVIEW_NO_UPGRADE: "true" + TEST_CSI_DRIVER_MANIFEST: manifest-openstack-manila.yaml + TEST_SUITE: openshift/csi + leases: + - env: OPENSTACK_CLOUD + resource_type: openstack-vh-mecha-central-quota-slice + workflow: hypershift-openstack-conformance zz_generated_metadata: branch: release-4.18 org: openshift diff --git a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19__periodics.yaml b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19__periodics.yaml index e09e2da33f0c..9d694f4e0c59 100644 --- a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19__periodics.yaml +++ b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19__periodics.yaml @@ -203,6 +203,32 @@ tests: - env: OPENSTACK_CLOUD resource_type: openstack-vexxhost-quota-slice workflow: hypershift-openstack-conformance +- as: e2e-openstack-csi-cinder + minimum_interval: 72h + steps: + cluster_profile: hypershift + env: + CLUSTER_TYPE_OVERRIDE: openstack-vh-mecha-central + TECH_PREVIEW_NO_UPGRADE: "true" + TEST_CSI_DRIVER_MANIFEST: manifest-openstack-cinder.yaml + TEST_SUITE: openshift/csi + leases: + - env: OPENSTACK_CLOUD + resource_type: openstack-vh-mecha-central-quota-slice + workflow: hypershift-openstack-conformance +- as: e2e-openstack-csi-manila + minimum_interval: 72h + steps: + cluster_profile: hypershift + env: + CLUSTER_TYPE_OVERRIDE: openstack-vh-mecha-central + TECH_PREVIEW_NO_UPGRADE: "true" + TEST_CSI_DRIVER_MANIFEST: manifest-openstack-manila.yaml + TEST_SUITE: openshift/csi + leases: + - env: OPENSTACK_CLOUD + resource_type: openstack-vh-mecha-central-quota-slice + workflow: hypershift-openstack-conformance zz_generated_metadata: branch: release-4.19 org: openshift diff --git a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.18-periodics.yaml b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.18-periodics.yaml index 46ef2335030a..54263463d980 100644 --- a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.18-periodics.yaml +++ b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.18-periodics.yaml @@ -1191,6 +1191,172 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build01 + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-4.18 + org: openshift + repo: hypershift + labels: + ci-operator.openshift.io/cloud: hypershift + ci-operator.openshift.io/cloud-cluster-profile: hypershift + ci-operator.openshift.io/variant: periodics + ci.openshift.io/generator: prowgen + job-release: "4.18" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + minimum_interval: 72h + name: periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-openstack-csi-cinder + reporter_config: + slack: + channel: '#shiftstack-bot' + job_states_to_report: + - failure + - error + report_template: ':volcano: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. + <{{.Status.URL}}|View logs> :volcano:' + 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 + - --target=e2e-openstack-csi-cinder + - --variant=periodics + 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: /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: 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: build01 + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-4.18 + org: openshift + repo: hypershift + labels: + ci-operator.openshift.io/cloud: hypershift + ci-operator.openshift.io/cloud-cluster-profile: hypershift + ci-operator.openshift.io/variant: periodics + ci.openshift.io/generator: prowgen + job-release: "4.18" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + minimum_interval: 72h + name: periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-openstack-csi-manila + reporter_config: + slack: + channel: '#shiftstack-bot' + job_states_to_report: + - failure + - error + report_template: ':volcano: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. + <{{.Status.URL}}|View logs> :volcano:' + 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 + - --target=e2e-openstack-csi-manila + - --variant=periodics + 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: /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: 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: build01 cron: 0 8 * * * diff --git a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.19-periodics.yaml b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.19-periodics.yaml index 5211a7fd1280..502a732e5138 100644 --- a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.19-periodics.yaml +++ b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.19-periodics.yaml @@ -1175,6 +1175,172 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build09 + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-4.19 + org: openshift + repo: hypershift + labels: + ci-operator.openshift.io/cloud: hypershift + ci-operator.openshift.io/cloud-cluster-profile: hypershift + ci-operator.openshift.io/variant: periodics + ci.openshift.io/generator: prowgen + job-release: "4.19" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + minimum_interval: 72h + name: periodic-ci-openshift-hypershift-release-4.19-periodics-e2e-openstack-csi-cinder + reporter_config: + slack: + channel: '#shiftstack-bot' + job_states_to_report: + - failure + - error + report_template: ':volcano: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. + <{{.Status.URL}}|View logs> :volcano:' + 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 + - --target=e2e-openstack-csi-cinder + - --variant=periodics + 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: /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: 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: build09 + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-4.19 + org: openshift + repo: hypershift + labels: + ci-operator.openshift.io/cloud: hypershift + ci-operator.openshift.io/cloud-cluster-profile: hypershift + ci-operator.openshift.io/variant: periodics + ci.openshift.io/generator: prowgen + job-release: "4.19" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + minimum_interval: 72h + name: periodic-ci-openshift-hypershift-release-4.19-periodics-e2e-openstack-csi-manila + reporter_config: + slack: + channel: '#shiftstack-bot' + job_states_to_report: + - failure + - error + report_template: ':volcano: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. + <{{.Status.URL}}|View logs> :volcano:' + 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 + - --target=e2e-openstack-csi-manila + - --variant=periodics + 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: /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: 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: build09 cron: 0 8 * * *