Skip to content

Commit 4b64756

Browse files
committed
Add extra job to openstack-operator for testing 4.18
1 parent e6b129e commit 4b64756

4 files changed

+160
-0
lines changed

ci-operator/config/openstack-k8s-operators/openstack-operator/openstack-k8s-operators-openstack-operator-18.0-fr2.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,18 @@ tests:
102102
env:
103103
CEPH_HOSTNETWORK: "false"
104104
workflow: openstack-k8s-operators-test-build-deploy-kuttl
105+
- as: openstack-operator-build-deploy-kuttl-4-18
106+
cluster_claim:
107+
architecture: amd64
108+
cloud: vexxhost
109+
owner: openstack-k8s-operators
110+
product: ocp
111+
timeout: 1h0m0s
112+
version: "4.18"
113+
steps:
114+
env:
115+
CEPH_HOSTNETWORK: "false"
116+
workflow: openstack-k8s-operators-test-build-deploy-kuttl
105117
- as: openstack-operator-build-deploy-tempest
106118
cluster_claim:
107119
architecture: amd64

ci-operator/config/openstack-k8s-operators/openstack-operator/openstack-k8s-operators-openstack-operator-main.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,18 @@ tests:
102102
env:
103103
CEPH_HOSTNETWORK: "false"
104104
workflow: openstack-k8s-operators-test-build-deploy-kuttl
105+
- as: openstack-operator-build-deploy-kuttl-4-18
106+
cluster_claim:
107+
architecture: amd64
108+
cloud: vexxhost
109+
owner: openstack-k8s-operators
110+
product: ocp
111+
timeout: 1h0m0s
112+
version: "4.18"
113+
steps:
114+
env:
115+
CEPH_HOSTNETWORK: "false"
116+
workflow: openstack-k8s-operators-test-build-deploy-kuttl
105117
- as: openstack-operator-build-deploy-tempest
106118
cluster_claim:
107119
architecture: amd64

ci-operator/jobs/openstack-k8s-operators/openstack-operator/openstack-k8s-operators-openstack-operator-18.0-fr2-presubmits.yaml

+68
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,74 @@ presubmits:
242242
secret:
243243
secretName: result-aggregator
244244
trigger: (?m)^/test( | .* )openstack-operator-build-deploy-kuttl,?($|\s.*)
245+
- agent: kubernetes
246+
always_run: false
247+
branches:
248+
- ^18\.0-fr2$
249+
- ^18\.0-fr2-
250+
cluster: build09
251+
context: ci/prow/openstack-operator-build-deploy-kuttl-4-18
252+
decorate: true
253+
labels:
254+
ci.openshift.io/generator: prowgen
255+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
256+
name: pull-ci-openstack-k8s-operators-openstack-operator-18.0-fr2-openstack-operator-build-deploy-kuttl-4-18
257+
rerun_command: /test openstack-operator-build-deploy-kuttl-4-18
258+
skip_if_only_changed: ^renovate.json|^README.md
259+
spec:
260+
containers:
261+
- args:
262+
- --gcs-upload-secret=/secrets/gcs/service-account.json
263+
- --hive-kubeconfig=/secrets/hive-hive-credentials/kubeconfig
264+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
265+
- --report-credentials-file=/etc/report/credentials
266+
- --secret-dir=/secrets/ci-pull-credentials
267+
- --target=openstack-operator-build-deploy-kuttl-4-18
268+
command:
269+
- ci-operator
270+
image: ci-operator:latest
271+
imagePullPolicy: Always
272+
name: ""
273+
resources:
274+
requests:
275+
cpu: 10m
276+
volumeMounts:
277+
- mountPath: /secrets/ci-pull-credentials
278+
name: ci-pull-credentials
279+
readOnly: true
280+
- mountPath: /secrets/gcs
281+
name: gcs-credentials
282+
readOnly: true
283+
- mountPath: /secrets/hive-hive-credentials
284+
name: hive-hive-credentials
285+
readOnly: true
286+
- mountPath: /secrets/manifest-tool
287+
name: manifest-tool-local-pusher
288+
readOnly: true
289+
- mountPath: /etc/pull-secret
290+
name: pull-secret
291+
readOnly: true
292+
- mountPath: /etc/report
293+
name: result-aggregator
294+
readOnly: true
295+
serviceAccountName: ci-operator
296+
volumes:
297+
- name: ci-pull-credentials
298+
secret:
299+
secretName: ci-pull-credentials
300+
- name: hive-hive-credentials
301+
secret:
302+
secretName: hive-hive-credentials
303+
- name: manifest-tool-local-pusher
304+
secret:
305+
secretName: manifest-tool-local-pusher
306+
- name: pull-secret
307+
secret:
308+
secretName: registry-pull-credentials
309+
- name: result-aggregator
310+
secret:
311+
secretName: result-aggregator
312+
trigger: (?m)^/test( | .* )openstack-operator-build-deploy-kuttl-4-18,?($|\s.*)
245313
- agent: kubernetes
246314
always_run: false
247315
branches:

ci-operator/jobs/openstack-k8s-operators/openstack-operator/openstack-k8s-operators-openstack-operator-main-presubmits.yaml

+68
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,74 @@ presubmits:
242242
secret:
243243
secretName: result-aggregator
244244
trigger: (?m)^/test( | .* )openstack-operator-build-deploy-kuttl,?($|\s.*)
245+
- agent: kubernetes
246+
always_run: false
247+
branches:
248+
- ^main$
249+
- ^main-
250+
cluster: build11
251+
context: ci/prow/openstack-operator-build-deploy-kuttl-4-18
252+
decorate: true
253+
labels:
254+
ci.openshift.io/generator: prowgen
255+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
256+
name: pull-ci-openstack-k8s-operators-openstack-operator-main-openstack-operator-build-deploy-kuttl-4-18
257+
rerun_command: /test openstack-operator-build-deploy-kuttl-4-18
258+
skip_if_only_changed: ^renovate.json|^README.md
259+
spec:
260+
containers:
261+
- args:
262+
- --gcs-upload-secret=/secrets/gcs/service-account.json
263+
- --hive-kubeconfig=/secrets/hive-hive-credentials/kubeconfig
264+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
265+
- --report-credentials-file=/etc/report/credentials
266+
- --secret-dir=/secrets/ci-pull-credentials
267+
- --target=openstack-operator-build-deploy-kuttl-4-18
268+
command:
269+
- ci-operator
270+
image: ci-operator:latest
271+
imagePullPolicy: Always
272+
name: ""
273+
resources:
274+
requests:
275+
cpu: 10m
276+
volumeMounts:
277+
- mountPath: /secrets/ci-pull-credentials
278+
name: ci-pull-credentials
279+
readOnly: true
280+
- mountPath: /secrets/gcs
281+
name: gcs-credentials
282+
readOnly: true
283+
- mountPath: /secrets/hive-hive-credentials
284+
name: hive-hive-credentials
285+
readOnly: true
286+
- mountPath: /secrets/manifest-tool
287+
name: manifest-tool-local-pusher
288+
readOnly: true
289+
- mountPath: /etc/pull-secret
290+
name: pull-secret
291+
readOnly: true
292+
- mountPath: /etc/report
293+
name: result-aggregator
294+
readOnly: true
295+
serviceAccountName: ci-operator
296+
volumes:
297+
- name: ci-pull-credentials
298+
secret:
299+
secretName: ci-pull-credentials
300+
- name: hive-hive-credentials
301+
secret:
302+
secretName: hive-hive-credentials
303+
- name: manifest-tool-local-pusher
304+
secret:
305+
secretName: manifest-tool-local-pusher
306+
- name: pull-secret
307+
secret:
308+
secretName: registry-pull-credentials
309+
- name: result-aggregator
310+
secret:
311+
secretName: result-aggregator
312+
trigger: (?m)^/test( | .* )openstack-operator-build-deploy-kuttl-4-18,?($|\s.*)
245313
- agent: kubernetes
246314
always_run: false
247315
branches:

0 commit comments

Comments
 (0)