Skip to content

Commit bd29b52

Browse files
bardiellerobpblake
authored andcommitted
Adding new job for RHCS terraform provider for v1.5.0-branch (openshift#47097)
Signed-off-by: Danielle Barda <[email protected]>
1 parent 4398d64 commit bd29b52

File tree

2 files changed

+333
-0
lines changed

2 files changed

+333
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
binary_build_commands: make install
2+
build_root:
3+
image_stream_tag:
4+
name: release
5+
namespace: openshift
6+
tag: golang-1.21
7+
images:
8+
- dockerfile_path: build/ci-tf-e2e.Dockerfile
9+
to: rhcs-tf-e2e
10+
releases:
11+
latest:
12+
integration:
13+
name: "4.14"
14+
namespace: ocp
15+
resources:
16+
'*':
17+
limits:
18+
memory: 4Gi
19+
requests:
20+
cpu: 100m
21+
memory: 200Mi
22+
tests:
23+
- as: unit
24+
commands: |-
25+
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo@latest
26+
unset GOFLAGS
27+
make unit-test
28+
container:
29+
from: src
30+
- as: rosa-sts-advanced-critical-high-presubmit
31+
skip_if_only_changed: ^(LICENSE|OWNERS|README\.md|\.gitignore|\.goreleaser\.yaml)$|^docs/|^subsystem/|^examples/
32+
steps:
33+
cluster_profile: aws-terraform-qe
34+
env:
35+
CASE_LABEL_FILTER: (Critical,High)&&day1-post&&!Exclude
36+
CHANNEL_GROUP: candidate
37+
CLUSTER_PROFILE: rosa-sts-ad
38+
REGION: ap-northeast-1
39+
RHCS_ENV: staging
40+
test:
41+
- ref: rhcs-e2e-tests
42+
workflow: rhcs-aws-sts
43+
- as: rosa-sts-private-critical-high-presubmit
44+
skip_if_only_changed: ^(LICENSE|OWNERS|README\.md|\.gitignore|\.goreleaser\.yaml)$|^docs/|^subsystem/|^examples/
45+
steps:
46+
cluster_profile: aws-terraform-qe
47+
env:
48+
CASE_LABEL_FILTER: (Critical,High)&&day1-post&&!Exclude
49+
CHANNEL_GROUP: candidate
50+
CLUSTER_PROFILE: rosa-sts-pl
51+
REGION: us-east-1
52+
RHCS_ENV: staging
53+
test:
54+
- ref: rhcs-e2e-tests
55+
workflow: rhcs-aws-sts
56+
zz_generated_metadata:
57+
branch: v1.5.0-branch
58+
org: terraform-redhat
59+
repo: terraform-provider-rhcs
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,274 @@
1+
presubmits:
2+
terraform-redhat/terraform-provider-rhcs:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^v1\.5\.0-branch$
7+
- ^v1\.5\.0-branch-
8+
cluster: build03
9+
context: ci/prow/images
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-terraform-redhat-terraform-provider-rhcs-v1.5.0-branch-images
17+
rerun_command: /test images
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=[images]
25+
command:
26+
- ci-operator
27+
image: 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( | .* )images,?($|\s.*)
58+
- agent: kubernetes
59+
always_run: false
60+
branches:
61+
- ^v1\.5\.0-branch$
62+
- ^v1\.5\.0-branch-
63+
cluster: build03
64+
context: ci/prow/rosa-sts-advanced-critical-high-presubmit
65+
decorate: true
66+
decoration_config:
67+
skip_cloning: true
68+
labels:
69+
ci-operator.openshift.io/cloud: aws
70+
ci-operator.openshift.io/cloud-cluster-profile: aws-terraform-qe
71+
ci.openshift.io/generator: prowgen
72+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
73+
name: pull-ci-terraform-redhat-terraform-provider-rhcs-v1.5.0-branch-rosa-sts-advanced-critical-high-presubmit
74+
rerun_command: /test rosa-sts-advanced-critical-high-presubmit
75+
skip_if_only_changed: ^(LICENSE|OWNERS|README\.md|\.gitignore|\.goreleaser\.yaml)$|^docs/|^subsystem/|^examples/
76+
spec:
77+
containers:
78+
- args:
79+
- --gcs-upload-secret=/secrets/gcs/service-account.json
80+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
81+
- --lease-server-credentials-file=/etc/boskos/credentials
82+
- --report-credentials-file=/etc/report/credentials
83+
- --secret-dir=/secrets/ci-pull-credentials
84+
- --secret-dir=/usr/local/rosa-sts-advanced-critical-high-presubmit-cluster-profile
85+
- --target=rosa-sts-advanced-critical-high-presubmit
86+
command:
87+
- ci-operator
88+
image: ci-operator:latest
89+
imagePullPolicy: Always
90+
name: ""
91+
resources:
92+
requests:
93+
cpu: 10m
94+
volumeMounts:
95+
- mountPath: /etc/boskos
96+
name: boskos
97+
readOnly: true
98+
- mountPath: /secrets/ci-pull-credentials
99+
name: ci-pull-credentials
100+
readOnly: true
101+
- mountPath: /usr/local/rosa-sts-advanced-critical-high-presubmit-cluster-profile
102+
name: cluster-profile
103+
- mountPath: /secrets/gcs
104+
name: gcs-credentials
105+
readOnly: true
106+
- mountPath: /secrets/manifest-tool
107+
name: manifest-tool-local-pusher
108+
readOnly: true
109+
- mountPath: /etc/pull-secret
110+
name: pull-secret
111+
readOnly: true
112+
- mountPath: /etc/report
113+
name: result-aggregator
114+
readOnly: true
115+
serviceAccountName: ci-operator
116+
volumes:
117+
- name: boskos
118+
secret:
119+
items:
120+
- key: credentials
121+
path: credentials
122+
secretName: boskos-credentials
123+
- name: ci-pull-credentials
124+
secret:
125+
secretName: ci-pull-credentials
126+
- name: cluster-profile
127+
secret:
128+
secretName: cluster-secrets-aws-terraform-qe
129+
- name: manifest-tool-local-pusher
130+
secret:
131+
secretName: manifest-tool-local-pusher
132+
- name: pull-secret
133+
secret:
134+
secretName: registry-pull-credentials
135+
- name: result-aggregator
136+
secret:
137+
secretName: result-aggregator
138+
trigger: (?m)^/test( | .* )rosa-sts-advanced-critical-high-presubmit,?($|\s.*)
139+
- agent: kubernetes
140+
always_run: false
141+
branches:
142+
- ^v1\.5\.0-branch$
143+
- ^v1\.5\.0-branch-
144+
cluster: build03
145+
context: ci/prow/rosa-sts-private-critical-high-presubmit
146+
decorate: true
147+
decoration_config:
148+
skip_cloning: true
149+
labels:
150+
ci-operator.openshift.io/cloud: aws
151+
ci-operator.openshift.io/cloud-cluster-profile: aws-terraform-qe
152+
ci.openshift.io/generator: prowgen
153+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
154+
name: pull-ci-terraform-redhat-terraform-provider-rhcs-v1.5.0-branch-rosa-sts-private-critical-high-presubmit
155+
rerun_command: /test rosa-sts-private-critical-high-presubmit
156+
skip_if_only_changed: ^(LICENSE|OWNERS|README\.md|\.gitignore|\.goreleaser\.yaml)$|^docs/|^subsystem/|^examples/
157+
spec:
158+
containers:
159+
- args:
160+
- --gcs-upload-secret=/secrets/gcs/service-account.json
161+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
162+
- --lease-server-credentials-file=/etc/boskos/credentials
163+
- --report-credentials-file=/etc/report/credentials
164+
- --secret-dir=/secrets/ci-pull-credentials
165+
- --secret-dir=/usr/local/rosa-sts-private-critical-high-presubmit-cluster-profile
166+
- --target=rosa-sts-private-critical-high-presubmit
167+
command:
168+
- ci-operator
169+
image: ci-operator:latest
170+
imagePullPolicy: Always
171+
name: ""
172+
resources:
173+
requests:
174+
cpu: 10m
175+
volumeMounts:
176+
- mountPath: /etc/boskos
177+
name: boskos
178+
readOnly: true
179+
- mountPath: /secrets/ci-pull-credentials
180+
name: ci-pull-credentials
181+
readOnly: true
182+
- mountPath: /usr/local/rosa-sts-private-critical-high-presubmit-cluster-profile
183+
name: cluster-profile
184+
- mountPath: /secrets/gcs
185+
name: gcs-credentials
186+
readOnly: true
187+
- mountPath: /secrets/manifest-tool
188+
name: manifest-tool-local-pusher
189+
readOnly: true
190+
- mountPath: /etc/pull-secret
191+
name: pull-secret
192+
readOnly: true
193+
- mountPath: /etc/report
194+
name: result-aggregator
195+
readOnly: true
196+
serviceAccountName: ci-operator
197+
volumes:
198+
- name: boskos
199+
secret:
200+
items:
201+
- key: credentials
202+
path: credentials
203+
secretName: boskos-credentials
204+
- name: ci-pull-credentials
205+
secret:
206+
secretName: ci-pull-credentials
207+
- name: cluster-profile
208+
secret:
209+
secretName: cluster-secrets-aws-terraform-qe
210+
- name: manifest-tool-local-pusher
211+
secret:
212+
secretName: manifest-tool-local-pusher
213+
- name: pull-secret
214+
secret:
215+
secretName: registry-pull-credentials
216+
- name: result-aggregator
217+
secret:
218+
secretName: result-aggregator
219+
trigger: (?m)^/test( | .* )rosa-sts-private-critical-high-presubmit,?($|\s.*)
220+
- agent: kubernetes
221+
always_run: true
222+
branches:
223+
- ^v1\.5\.0-branch$
224+
- ^v1\.5\.0-branch-
225+
cluster: build03
226+
context: ci/prow/unit
227+
decorate: true
228+
decoration_config:
229+
skip_cloning: true
230+
labels:
231+
ci.openshift.io/generator: prowgen
232+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
233+
name: pull-ci-terraform-redhat-terraform-provider-rhcs-v1.5.0-branch-unit
234+
rerun_command: /test unit
235+
spec:
236+
containers:
237+
- args:
238+
- --gcs-upload-secret=/secrets/gcs/service-account.json
239+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
240+
- --report-credentials-file=/etc/report/credentials
241+
- --target=unit
242+
command:
243+
- ci-operator
244+
image: ci-operator:latest
245+
imagePullPolicy: Always
246+
name: ""
247+
resources:
248+
requests:
249+
cpu: 10m
250+
volumeMounts:
251+
- mountPath: /secrets/gcs
252+
name: gcs-credentials
253+
readOnly: true
254+
- mountPath: /secrets/manifest-tool
255+
name: manifest-tool-local-pusher
256+
readOnly: true
257+
- mountPath: /etc/pull-secret
258+
name: pull-secret
259+
readOnly: true
260+
- mountPath: /etc/report
261+
name: result-aggregator
262+
readOnly: true
263+
serviceAccountName: ci-operator
264+
volumes:
265+
- name: manifest-tool-local-pusher
266+
secret:
267+
secretName: manifest-tool-local-pusher
268+
- name: pull-secret
269+
secret:
270+
secretName: registry-pull-credentials
271+
- name: result-aggregator
272+
secret:
273+
secretName: result-aggregator
274+
trigger: (?m)^/test( | .* )unit,?($|\s.*)

0 commit comments

Comments
 (0)