-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
Copy pathk8s-staging-cluster-api.yaml
260 lines (259 loc) · 12 KB
/
k8s-staging-cluster-api.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
postsubmits:
# this is the github repo we'll build from; this block needs to be repeated for each repo.
kubernetes-sigs/cluster-api:
- name: post-cluster-api-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
decorate: true
branches:
- ^master$
- ^release-0.2$
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-cluster-api
- --scratch-bucket=gs://k8s-staging-cluster-api-gcb
- --env-passthrough=PULL_BASE_REF
- .
kubernetes-sigs/cluster-api-provider-aws:
- name: post-cluster-api-provider-aws-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
decorate: true
branches:
- ^master$
- ^release-0.4$
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-cluster-api-aws
- --scratch-bucket=gs://k8s-staging-cluster-api-aws-gcb
- --env-passthrough=PULL_BASE_REF
- .
kubernetes-sigs/cluster-api-provider-azure:
- name: post-cluster-api-provider-azure-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
testgrid-dashboards: sig-cluster-lifecycle-image-pushes, sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-alert-email: k8s-infra-staging-cluster-api-azure@kubernetes.io
decorate: true
branches:
- ^master$
- ^release-0.3$
- ^release-0.4$
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
- --project=k8s-staging-cluster-api-azure
- --scratch-bucket=gs://k8s-staging-cluster-api-azure-gcb
- --env-passthrough=PULL_BASE_REF
- .
kubernetes-sigs/cluster-api-provider-digitalocean:
- name: post-cluster-api-provider-digitalocean-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
testgrid-alert-email: k8s-infra-staging-cluster-api-do@kubernetes.io
decorate: true
branches:
- ^master$
- ^release-0.3$
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-cluster-api-do
- --scratch-bucket=gs://k8s-staging-cluster-api-do-gcb
- --env-passthrough=PULL_BASE_REF
- .
kubernetes-sigs/cluster-api-provider-gcp:
- name: post-cluster-api-provider-gcp-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
decorate: true
branches:
- ^master$
- ^release-.*
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-cluster-api-gcp
- --scratch-bucket=gs://k8s-staging-cluster-api-gcp-gcb
- --env-passthrough=PULL_BASE_REF
- .
kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm:
- name: post-cluster-api-bootstrap-provider-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
decorate: true
branches:
- ^master$
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-capi-kubeadm
- --scratch-bucket=gs://k8s-staging-capi-kubeadm-gcb
- --env-passthrough=PULL_BASE_REF
- .
kubernetes-sigs/cluster-api-provider-openstack:
- name: post-cluster-api-provider-openstack-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
decorate: true
branches:
- ^master$
- ^release-.+$
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-capi-openstack
- --scratch-bucket=gs://k8s-staging-capi-openstack-gcb
- --env-passthrough=PULL_BASE_REF
- .
kubernetes-sigs/image-builder:
- name: post-image-builder-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
decorate: true
branches:
- ^master$
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-scl-image-builder
- --scratch-bucket=gs://k8s-staging-scl-image-builder-gcb
- --env-passthrough=PULL_BASE_REF
- --with-git-dir
- .
periodics:
- name: cluster-api-push-images-nightly
cluster: k8s-infra-prow-build-trusted
decorate: true
cron: '0 8 * * *' # everyday at 0:00 PT (8:00 UTC)
extra_refs:
- org: kubernetes-sigs
repo: cluster-api
base_ref: master
path_alias: sigs.k8s.io/cluster-api
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-cluster-api
- --scratch-bucket=gs://k8s-staging-cluster-api-gcb
- --env-passthrough=PULL_BASE_REF
- --gcb-config=cloudbuild-nightly.yaml
- .
env:
# We need to emulate a pull job for the cloud build to work the same
# way as it usually does.
- name: PULL_BASE_REF
value: master
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
testgrid-tab-name: cluster-api-push-images-nightly
testgrid-alert-email: kubernetes-sig-cluster-lifecycle-cluster-api-alerts@googlegroups.com
- name: cluster-api-provider-openstack-push-images-nightly
cluster: k8s-infra-prow-build-trusted
decorate: true
cron: '0 8 * * *' # everyday at 0:00 PT (8:00 UTC)
extra_refs:
- org: kubernetes-sigs
repo: cluster-api-provider-openstack
base_ref: master
path_alias: sigs.k8s.io/cluster-api-provider-openstack
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-capi-openstack
- --scratch-bucket=gs://k8s-staging-capi-openstack-gcb
- --env-passthrough=PULL_BASE_REF
- --gcb-config=cloudbuild-nightly.yaml
- .
env:
# We need to emulate a pull job for the cloud build to work the same
# way as it usually does.
- name: PULL_BASE_REF
value: master
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
testgrid-tab-name: cluster-api-provider-openstack-push-images-nightly
testgrid-alert-email: kubernetes-sig-cluster-lifecycle-cluster-api-alerts@googlegroups.com