-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
cluster-api-presubmits-main.yaml
379 lines (379 loc) · 13.9 KB
/
cluster-api-presubmits-main.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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
presubmits:
kubernetes-sigs/cluster-api:
- name: pull-cluster-api-build-main
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
path_alias: sigs.k8s.io/cluster-api
always_run: true
branches:
# The script this job runs is not in all branches.
- ^main$
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
command:
- runner.sh
- ./scripts/ci-build.sh
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-build-main
- name: pull-cluster-api-apidiff-main
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
path_alias: sigs.k8s.io/cluster-api
optional: true
branches:
# The script this job runs is not in all branches.
- ^main$
run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)'
spec:
serviceAccountName: prowjob-default-sa
containers:
- command:
- runner.sh
- ./scripts/ci-apidiff.sh
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-apidiff-main
- name: pull-cluster-api-verify-main
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
path_alias: sigs.k8s.io/cluster-api
always_run: true
labels:
preset-dind-enabled: "true"
branches:
# The script this job runs is not in all branches.
- ^main$
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
command:
- "runner.sh"
- ./scripts/ci-verify.sh
resources:
requests:
cpu: 7300m
securityContext:
privileged: true
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-verify-main
- name: pull-cluster-api-test-main
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
path_alias: sigs.k8s.io/cluster-api
branches:
# The script this job runs is not in all branches.
- ^main$
run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)'
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
args:
- runner.sh
- ./scripts/ci-test.sh
resources:
requests:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-test-main
- name: pull-cluster-api-test-mink8s-main
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
path_alias: sigs.k8s.io/cluster-api
optional: true
always_run: false
branches:
# The script this job runs is not in all branches.
- ^main$
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
args:
- runner.sh
- ./scripts/ci-test.sh
env:
# This value determines the minimum Kubernetes
# supported version for Cluster API management cluster
# and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions)
# docs (look for minimum supported k8s version for management cluster, i.e N-3).
#
# To check the latest available envtest in Kubebuilder for the minor version we determined above, please
# refer to https://github.com/kubernetes-sigs/kubebuilder/tree/tools-releases.
- name: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION
value: "1.25.0"
resources:
requests:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-test-mink8s-main
- name: pull-cluster-api-e2e-mink8s-main
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
path_alias: sigs.k8s.io/cluster-api
optional: true
always_run: false
branches:
# The script this job runs is not in all branches.
- ^main$
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
args:
- runner.sh
- ./scripts/ci-e2e.sh
env:
- name: GINKGO_SKIP
value: "\\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]|\\[Scale\\]"
# This value determines the minimum Kubernetes
# supported version for Cluster API management cluster
# and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions)
# docs (look for minimum supported k8s version for management cluster, i.e N-3).
- name: KUBERNETES_VERSION_MANAGEMENT
value: "v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8"
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-e2e-mink8s-main
- name: pull-cluster-api-e2e-main
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
branches:
# The script this job runs is not in all branches.
- ^main$
path_alias: sigs.k8s.io/cluster-api
run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)'
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
args:
- runner.sh
- "./scripts/ci-e2e.sh"
env:
- name: GINKGO_FOCUS
value: "\\[PR-Blocking\\]"
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-e2e-main
- name: pull-cluster-api-e2e-informing-main
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
optional: true
branches:
# The script this job runs is not in all branches.
- ^main$
path_alias: sigs.k8s.io/cluster-api
run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)'
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
args:
- runner.sh
- "./scripts/ci-e2e.sh"
env:
- name: GINKGO_FOCUS
value: "\\[PR-Informing\\]"
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-e2e-informing-main
- name: pull-cluster-api-e2e-full-dualstack-and-ipv6-main
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
optional: true
always_run: false
branches:
# The script this job runs is not in all branches.
- ^main$
path_alias: sigs.k8s.io/cluster-api
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
args:
- runner.sh
- "./scripts/ci-e2e.sh"
env:
# enable IPV6 in bootstrap image
- name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
value: "true"
# Since the PR-Blocking tests are run as part of the cluster-api-e2e job
# and the upgrade tests are being run as part of the periodic upgrade jobs.
# This jobs ends up running all the other tests in the E2E suite
- name: GINKGO_SKIP
value: "\\[PR-Blocking\\] \\[Conformance\\] \\[K8s-Upgrade\\]|\\[Scale\\]"
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-e2e-full-dualstack-and-ipv6-main
- name: pull-cluster-api-e2e-full-main
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
optional: true
always_run: false
branches:
# The script this job runs is not in all branches.
- ^main$
path_alias: sigs.k8s.io/cluster-api
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
args:
- runner.sh
- "./scripts/ci-e2e.sh"
env:
# Since the PR-Blocking tests are run as part of the cluster-api-e2e job
# and the upgrade tests are being run as part of the periodic upgrade jobs.
# This jobs ends up running all the other tests in the E2E suite
- name: GINKGO_SKIP
value: "\\[PR-Blocking\\] \\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]|\\[Scale\\]"
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-e2e-full-main
- name: pull-cluster-api-e2e-workload-upgrade-1-28-latest-main
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
optional: true
always_run: false
branches:
# The script this job runs is not in all branches.
- ^main$
path_alias: sigs.k8s.io/cluster-api
extra_refs:
- org: kubernetes
repo: kubernetes
base_ref: master
path_alias: k8s.io/kubernetes
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
args:
- runner.sh
- "./scripts/ci-e2e.sh"
env:
- name: ALWAYS_BUILD_KIND_IMAGES
value: "true"
- name: KUBERNETES_VERSION_UPGRADE_FROM
value: "stable-1.28"
- name: KUBERNETES_VERSION_UPGRADE_TO
value: "ci/latest-1.29"
- name: ETCD_VERSION_UPGRADE_TO
value: "3.5.9-0"
- name: COREDNS_VERSION_UPGRADE_TO
value: "v1.10.1"
- name: GINKGO_FOCUS
value: "\\[K8s-Upgrade\\]"
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-e2e-main-1-28-latest
# This job is experimental for now. Please do not duplicate it to release branches.
- name: pull-cluster-api-e2e-scale-main-experimental
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
preset-service-account: "true"
preset-aws-ssh: "true"
preset-aws-credential: "true"
decorate: true
optional: true
always_run: false
branches:
# The script this job runs is not in all branches.
- ^main$
path_alias: sigs.k8s.io/cluster-api
spec:
serviceAccountName: prowjob-default-sa
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-1.28
args:
- runner.sh
- "./scripts/ci-e2e.sh"
env:
- name: BOSKOS_HOST
value: "boskos.test-pods.svc.cluster.local"
- name: GINKGO_FOCUS
value: "\\[Scale\\]"
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
testgrid-tab-name: capi-pr-e2e-scale-main-experimental