Skip to content

Commit

Permalink
hcp/openstack: periodic jobs for Cinder & Manila CSI
Browse files Browse the repository at this point in the history
Add periodic jobs for Hypershift on OpenStack with Cinder and Manila
CSI.
  • Loading branch information
EmilienM committed Nov 28, 2024
1 parent 5614a6e commit 31876e8
Show file tree
Hide file tree
Showing 4 changed files with 386 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 * * *
Expand Down
Loading

0 comments on commit 31876e8

Please sign in to comment.