Skip to content

Commit 5de7d23

Browse files
Add odf-operator ci config for 4.21 (#70241)
Signed-off-by: Malay Kumar Parida <[email protected]>
1 parent ec81466 commit 5de7d23

File tree

3 files changed

+313
-2
lines changed

3 files changed

+313
-2
lines changed

ci-operator/config/red-hat-storage/odf-operator/red-hat-storage-odf-operator-main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ build_root:
22
image_stream_tag:
33
name: release
44
namespace: openshift
5-
tag: rhel-9-release-golang-1.24-openshift-4.20
5+
tag: rhel-9-release-golang-1.24-openshift-4.21
66
images:
77
- dockerfile_path: Dockerfile
88
to: odf-operator
@@ -24,7 +24,7 @@ operator:
2424
releases:
2525
latest:
2626
integration:
27-
name: "4.20"
27+
name: "4.21"
2828
namespace: ocp
2929
resources:
3030
'*':
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
build_root:
2+
image_stream_tag:
3+
name: release
4+
namespace: openshift
5+
tag: rhel-9-release-golang-1.24-openshift-4.21
6+
images:
7+
- dockerfile_path: Dockerfile
8+
to: odf-operator
9+
- dockerfile_path: bundle.odf.deps.Dockerfile
10+
to: odf-dependencies-bundle
11+
operator:
12+
bundles:
13+
- as: odf-operator-bundle
14+
dockerfile_path: bundle.Dockerfile
15+
skip_building_index: true
16+
- as: odf-dependencies-catalog
17+
dockerfile_path: catalog.deps.Dockerfile
18+
skip_building_index: true
19+
substitutions:
20+
- pullspec: quay.io/ocs-dev/odf-operator:latest
21+
with: pipeline:odf-operator
22+
- pullspec: quay.io/ocs-dev/odf-dependencies-bundle:latest
23+
with: pipeline:odf-dependencies-bundle
24+
releases:
25+
latest:
26+
integration:
27+
name: "4.21"
28+
namespace: ocp
29+
resources:
30+
'*':
31+
requests:
32+
cpu: 100m
33+
memory: 200Mi
34+
tests:
35+
- as: odf-operator-e2e-aws
36+
steps:
37+
cluster_profile: odf-aws
38+
env:
39+
BASE_DOMAIN: makestoragegreatagain.com
40+
test:
41+
- as: unit-tests
42+
cli: latest
43+
commands: |
44+
GOFLAGS='' make test
45+
from: src
46+
resources:
47+
requests:
48+
cpu: 100m
49+
memory: 200Mi
50+
- as: e2e-tests
51+
cli: latest
52+
commands: |
53+
unset VERSION
54+
BUNDLE_IMG="$OO_BUNDLE" ODF_DEPS_CATALOG_IMG="$OO_CATALOG" make install-odf
55+
GOFLAGS='' ODF_OPERATOR_INSTALL=false ODF_OPERATOR_UNINSTALL=false make e2e-test
56+
dependencies:
57+
- env: OO_BUNDLE
58+
name: odf-operator-bundle
59+
- env: OO_CATALOG
60+
name: odf-dependencies-catalog
61+
from: src
62+
resources:
63+
requests:
64+
cpu: 100m
65+
memory: 200Mi
66+
workflow: ipi-aws
67+
zz_generated_metadata:
68+
branch: release-4.21
69+
org: red-hat-storage
70+
repo: odf-operator
Lines changed: 241 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,241 @@
1+
presubmits:
2+
red-hat-storage/odf-operator:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^release-4\.21$
7+
- ^release-4\.21-
8+
cluster: build05
9+
context: ci/prow/ci-bundle-odf-dependencies-catalog
10+
decorate: true
11+
decoration_config:
12+
skip_cloning: true
13+
labels:
14+
ci.openshift.io/generator: prowgen
15+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
16+
name: pull-ci-red-hat-storage-odf-operator-release-4.21-ci-bundle-odf-dependencies-catalog
17+
rerun_command: /test ci-bundle-odf-dependencies-catalog
18+
spec:
19+
containers:
20+
- args:
21+
- --gcs-upload-secret=/secrets/gcs/service-account.json
22+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
23+
- --report-credentials-file=/etc/report/credentials
24+
- --target=odf-dependencies-catalog
25+
command:
26+
- ci-operator
27+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
28+
imagePullPolicy: Always
29+
name: ""
30+
resources:
31+
requests:
32+
cpu: 10m
33+
volumeMounts:
34+
- mountPath: /secrets/gcs
35+
name: gcs-credentials
36+
readOnly: true
37+
- mountPath: /secrets/manifest-tool
38+
name: manifest-tool-local-pusher
39+
readOnly: true
40+
- mountPath: /etc/pull-secret
41+
name: pull-secret
42+
readOnly: true
43+
- mountPath: /etc/report
44+
name: result-aggregator
45+
readOnly: true
46+
serviceAccountName: ci-operator
47+
volumes:
48+
- name: manifest-tool-local-pusher
49+
secret:
50+
secretName: manifest-tool-local-pusher
51+
- name: pull-secret
52+
secret:
53+
secretName: registry-pull-credentials
54+
- name: result-aggregator
55+
secret:
56+
secretName: result-aggregator
57+
trigger: (?m)^/test( | .* )ci-bundle-odf-dependencies-catalog,?($|\s.*)
58+
- agent: kubernetes
59+
always_run: true
60+
branches:
61+
- ^release-4\.21$
62+
- ^release-4\.21-
63+
cluster: build05
64+
context: ci/prow/ci-bundle-odf-operator-bundle
65+
decorate: true
66+
decoration_config:
67+
skip_cloning: true
68+
labels:
69+
ci.openshift.io/generator: prowgen
70+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
71+
name: pull-ci-red-hat-storage-odf-operator-release-4.21-ci-bundle-odf-operator-bundle
72+
rerun_command: /test ci-bundle-odf-operator-bundle
73+
spec:
74+
containers:
75+
- args:
76+
- --gcs-upload-secret=/secrets/gcs/service-account.json
77+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
78+
- --report-credentials-file=/etc/report/credentials
79+
- --target=odf-operator-bundle
80+
command:
81+
- ci-operator
82+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
83+
imagePullPolicy: Always
84+
name: ""
85+
resources:
86+
requests:
87+
cpu: 10m
88+
volumeMounts:
89+
- mountPath: /secrets/gcs
90+
name: gcs-credentials
91+
readOnly: true
92+
- mountPath: /secrets/manifest-tool
93+
name: manifest-tool-local-pusher
94+
readOnly: true
95+
- mountPath: /etc/pull-secret
96+
name: pull-secret
97+
readOnly: true
98+
- mountPath: /etc/report
99+
name: result-aggregator
100+
readOnly: true
101+
serviceAccountName: ci-operator
102+
volumes:
103+
- name: manifest-tool-local-pusher
104+
secret:
105+
secretName: manifest-tool-local-pusher
106+
- name: pull-secret
107+
secret:
108+
secretName: registry-pull-credentials
109+
- name: result-aggregator
110+
secret:
111+
secretName: result-aggregator
112+
trigger: (?m)^/test( | .* )ci-bundle-odf-operator-bundle,?($|\s.*)
113+
- agent: kubernetes
114+
always_run: true
115+
branches:
116+
- ^release-4\.21$
117+
- ^release-4\.21-
118+
cluster: build05
119+
context: ci/prow/images
120+
decorate: true
121+
decoration_config:
122+
skip_cloning: true
123+
labels:
124+
ci.openshift.io/generator: prowgen
125+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
126+
name: pull-ci-red-hat-storage-odf-operator-release-4.21-images
127+
rerun_command: /test images
128+
spec:
129+
containers:
130+
- args:
131+
- --gcs-upload-secret=/secrets/gcs/service-account.json
132+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
133+
- --report-credentials-file=/etc/report/credentials
134+
- --target=[images]
135+
command:
136+
- ci-operator
137+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
138+
imagePullPolicy: Always
139+
name: ""
140+
resources:
141+
requests:
142+
cpu: 10m
143+
volumeMounts:
144+
- mountPath: /secrets/gcs
145+
name: gcs-credentials
146+
readOnly: true
147+
- mountPath: /secrets/manifest-tool
148+
name: manifest-tool-local-pusher
149+
readOnly: true
150+
- mountPath: /etc/pull-secret
151+
name: pull-secret
152+
readOnly: true
153+
- mountPath: /etc/report
154+
name: result-aggregator
155+
readOnly: true
156+
serviceAccountName: ci-operator
157+
volumes:
158+
- name: manifest-tool-local-pusher
159+
secret:
160+
secretName: manifest-tool-local-pusher
161+
- name: pull-secret
162+
secret:
163+
secretName: registry-pull-credentials
164+
- name: result-aggregator
165+
secret:
166+
secretName: result-aggregator
167+
trigger: (?m)^/test( | .* )images,?($|\s.*)
168+
- agent: kubernetes
169+
always_run: true
170+
branches:
171+
- ^release-4\.21$
172+
- ^release-4\.21-
173+
cluster: build03
174+
context: ci/prow/odf-operator-e2e-aws
175+
decorate: true
176+
decoration_config:
177+
skip_cloning: true
178+
labels:
179+
ci-operator.openshift.io/cloud: aws
180+
ci-operator.openshift.io/cloud-cluster-profile: odf-aws
181+
ci.openshift.io/generator: prowgen
182+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
183+
name: pull-ci-red-hat-storage-odf-operator-release-4.21-odf-operator-e2e-aws
184+
rerun_command: /test odf-operator-e2e-aws
185+
spec:
186+
containers:
187+
- args:
188+
- --gcs-upload-secret=/secrets/gcs/service-account.json
189+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
190+
- --lease-server-credentials-file=/etc/boskos/credentials
191+
- --report-credentials-file=/etc/report/credentials
192+
- --secret-dir=/secrets/ci-pull-credentials
193+
- --target=odf-operator-e2e-aws
194+
command:
195+
- ci-operator
196+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
197+
imagePullPolicy: Always
198+
name: ""
199+
resources:
200+
requests:
201+
cpu: 10m
202+
volumeMounts:
203+
- mountPath: /etc/boskos
204+
name: boskos
205+
readOnly: true
206+
- mountPath: /secrets/ci-pull-credentials
207+
name: ci-pull-credentials
208+
readOnly: true
209+
- mountPath: /secrets/gcs
210+
name: gcs-credentials
211+
readOnly: true
212+
- mountPath: /secrets/manifest-tool
213+
name: manifest-tool-local-pusher
214+
readOnly: true
215+
- mountPath: /etc/pull-secret
216+
name: pull-secret
217+
readOnly: true
218+
- mountPath: /etc/report
219+
name: result-aggregator
220+
readOnly: true
221+
serviceAccountName: ci-operator
222+
volumes:
223+
- name: boskos
224+
secret:
225+
items:
226+
- key: credentials
227+
path: credentials
228+
secretName: boskos-credentials
229+
- name: ci-pull-credentials
230+
secret:
231+
secretName: ci-pull-credentials
232+
- name: manifest-tool-local-pusher
233+
secret:
234+
secretName: manifest-tool-local-pusher
235+
- name: pull-secret
236+
secret:
237+
secretName: registry-pull-credentials
238+
- name: result-aggregator
239+
secret:
240+
secretName: result-aggregator
241+
trigger: (?m)^/test( | .* )odf-operator-e2e-aws,?($|\s.*)

0 commit comments

Comments
 (0)