forked from kyma-project/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kyma-integration-gardener-data.yaml
369 lines (366 loc) · 16.5 KB
/
kyma-integration-gardener-data.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
templates:
- fromTo:
- from: generic.tmpl
to: ../../prow/jobs/kyma/kyma-integration-gardener-eventing.yaml
render:
- localSets:
extra_refs_kyma-local:
extra_refs:
kyma-local:
- org: "kyma-incubator"
repo: "local-kyma"
base_ref: "main"
extra_refs_busola:
extra_refs:
busola:
- org: "kyma-project"
repo: "busola"
base_ref: "main"
jobConfig_default:
request_memory: 1Gi
request_cpu: 400m
labels:
preset-debug-commando-oom: "true"
image: europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-garden:v20230823-58eb9dcf
jobConfig_buildpack_node:
image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-nodejs:v20230823-58eb9dcf"
request_memory: 1Gi
request_cpu: 400m
jobConfig_presubmit:
optional: true
labels:
preset-build-pr: "true"
command_integration_eventing:
command: "/home/prow/go/src/github.com/kyma-project/test-infra/prow/scripts/cluster-integration/kyma-integration-gardener-eventing.sh"
command_integration_skr_eventing:
command: "/home/prow/go/src/github.com/kyma-project/test-infra/prow/scripts/cluster-integration/kyma-integration-skr-eventing.sh"
labels:
preset-keb-dev-credentials: "true"
preset-kyma-integration-compass-dev: "true"
preset-kyma-integration-compass-enabled: "true"
preset-kyma-integration-central-app-connectivity-enabled: "true"
preset-kyma-integration-subaccounnt: "true"
preset-kyma-integration-kcp-client-credentials: "true"
command_upgrade_eventing:
command: "/home/prow/go/src/github.com/kyma-project/test-infra/prow/scripts/cluster-integration/kyma-integration-gardener-eventing-upgrade.sh"
gardener_gcp_job_eventing:
labels:
preset-gardener-gcp-kyma-integration: "true"
preset-kyma-cli-stable: "true"
preset-cluster-version: "true"
env:
KYMA_PROJECT_DIR: "/home/prow/go/src/github.com/kyma-project"
GARDENER_REGION: "europe-west4"
GARDENER_ZONES: "europe-west4-b"
CREDENTIALS_DIR: "/etc/credentials/kyma-tunas-prow-event-mesh"
evaluation_profile:
env:
EXECUTION_PROFILE: "evaluation"
production_profile:
env:
EXECUTION_PROFILE: "production"
jobConfigs:
- repoName: kyma-project/kyma
jobs:
# presubmits
- jobConfig:
name: pre-main-kyma-gardener-gcp-eventing-upgrade
annotations:
owner: skydivingtunas
description: Execute a kyma upgrade with special focus on the eventing component
optional: false
decoration_config:
timeout: 14400000000000 # 4h
grace_period: 600000000000 # 10min
run_if_changed: "^((tests/fast-integration/eventing-test\\S+|tests/fast-integration/utils\\S+|tests/fast-integration/monitoring\\S+|tests/fast-integration/test/fixtures/commerce-mock\\S+|resources/eventing\\S+|installation/resources/crds/eventing\\S+)(\\.[^.][^.][^.]+$|\\.[^.][^dD]$|\\.[^mM][^.]$|\\.[^.]$|/[^.]+$))"
labels:
preset-bot-github-token: "true"
env:
EXECUTION_PROFILE: "production"
MACHINE_TYPE: "n1-standard-8"
MACHINES_MIN: "3"
EVENTING_UPGRADE_JOB: true
EVENTING_JS_RECREATED_TEST: true
volumes:
- name: kyma-tunas-prow-event-mesh
secretName: kyma-tunas-prow-event-mesh
volumeMounts:
- name: kyma-tunas-prow-event-mesh
mountPath: /etc/credentials/kyma-tunas-prow-event-mesh
readOnly: true
inheritedConfigs:
global:
- jobConfig_buildpack_node
- jobConfig_presubmit
- extra_refs_test-infra
local:
- jobConfig_buildpack_node
- jobConfig_presubmit
- gardener_gcp_job_eventing
- command_upgrade_eventing
- jobConfig:
name: pre-main-kyma-gardener-gcp-eventing
labels:
preset-kyma-eventing-auth-ias-creds: "true"
annotations:
owner: skydivingtunas
description: Execute fast integration job with focus on eventing on a gardener cluster
optional: false
decoration_config:
timeout: 14400000000000 # 4h
grace_period: 600000000000 # 10min
# following regexp won't start build if only Markdown files were changed
run_if_changed: "^((tests/fast-integration\\S+|resources/eventing\\S+)(\\.[^.][^.][^.]+$|\\.[^.][^dD]$|\\.[^mM][^.]$|\\.[^.]$|/[^.]+$))"
env:
EXECUTION_PROFILE: "evaluation"
EVENTING_WEBHOOK_AUTH_ENABLED: "false"
volumes:
- name: kyma-tunas-prow-event-mesh
secretName: kyma-tunas-prow-event-mesh
volumeMounts:
- name: kyma-tunas-prow-event-mesh
mountPath: /etc/credentials/kyma-tunas-prow-event-mesh
readOnly: true
inheritedConfigs:
global:
- jobConfig_buildpack_node
- jobConfig_presubmit
- extra_refs_test-infra
local:
- jobConfig_buildpack_node
- jobConfig_presubmit
- gardener_gcp_job_eventing
- command_integration_eventing
- jobConfig:
name: pre-main-kyma-gardener-gcp-eventing-with-auth-manager
labels:
preset-kyma-eventing-auth-ias-creds: "true"
annotations:
owner: skydivingtunas
description: Execute fast integration job with focus on eventing on a gardener cluster
optional: false
decoration_config:
timeout: 14400000000000 # 4h
grace_period: 600000000000 # 10min
# following regexp won't start build if only Markdown files were changed
run_if_changed: "^((tests/fast-integration\\S+|resources/eventing\\S+)(\\.[^.][^.][^.]+$|\\.[^.][^dD]$|\\.[^mM][^.]$|\\.[^.]$|/[^.]+$))"
env:
EXECUTION_PROFILE: "evaluation"
EVENTING_WEBHOOK_AUTH_ENABLED: "true"
volumes:
- name: kyma-tunas-prow-event-mesh
secretName: kyma-tunas-prow-event-mesh
volumeMounts:
- name: kyma-tunas-prow-event-mesh
mountPath: /etc/credentials/kyma-tunas-prow-event-mesh
readOnly: true
inheritedConfigs:
global:
- jobConfig_buildpack_node
- jobConfig_presubmit
- extra_refs_test-infra
local:
- jobConfig_buildpack_node
- jobConfig_presubmit
- gardener_gcp_job_eventing
- command_integration_eventing
- fromTo:
- from: generic.tmpl
to: ../../prow/jobs/kyma/kyma-integration-gardener.yaml
render:
- localSets:
extra_refs_kyma-local:
extra_refs:
kyma-local:
- org: "kyma-incubator"
repo: "local-kyma"
base_ref: "main"
extra_refs_busola:
extra_refs:
busola:
- org: "kyma-project"
repo: "busola"
base_ref: "main"
jobConfig_default:
image: europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-garden:v20230823-58eb9dcf
request_memory: 1Gi
request_cpu: 400m
labels:
preset-debug-commando-oom: "true"
jobConfig_buildpack_node:
image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-nodejs:v20230823-58eb9dcf"
request_memory: 1Gi
request_cpu: 400m
jobConfig_presubmit:
optional: true
labels:
preset-build-pr: "true"
command_integration:
command: "/home/prow/go/src/github.com/kyma-project/test-infra/prow/scripts/cluster-integration/kyma-integration-gardener.sh"
command_busola_long_lasting:
command: "/home/prow/go/src/github.com/kyma-project/test-infra/prow/scripts/cluster-integration/kyma-busola-long-lasting.sh"
command_upgrade_gardener_kyma2_to_main:
command: "/home/prow/go/src/github.com/kyma-project/test-infra/prow/scripts/cluster-integration/kyma-upgrade-gardener-kyma2-to-main.sh"
command_upgrade_gardener_kyma2_minor_versions:
command: "/home/prow/go/src/github.com/kyma-project/test-infra/prow/scripts/cluster-integration/kyma-upgrade-gardener-kyma2-minor-versions.sh"
gardener_gcp_job:
labels:
preset-gardener-gcp-kyma-integration: "true"
preset-kyma-cli-stable: "true"
preset-cluster-version: "true"
env:
KYMA_PROJECT_DIR: "/home/prow/go/src/github.com/kyma-project"
GARDENER_REGION: "europe-west4"
GARDENER_ZONES: "europe-west4-b"
gardener_azure_job:
env:
RS_GROUP: "kyma-gardener-azure"
REGION: "northeurope"
KYMA_PROJECT_DIR: "/home/prow/go/src/github.com/kyma-project"
GARDENER_REGION: "northeurope"
GARDENER_ZONES: "1"
labels:
preset-gardener-azure-kyma-integration: "true"
preset-docker-push-repository-gke-integration: "true"
preset-kyma-cli-stable: "true"
preset-az-kyma-prow-credentials: "true"
preset-dind-enabled: "true" # we need to be able to start docker
preset-gc-compute-envs: "true" # prrovides the GCP region
preset-gc-project-env: "true" # required to be able to delete images
preset-sa-test-gcr-push: "true" # required for pushing images
preset-sa-gardener-logs: "true" # required for writing logs to Stackdriver
preset-cluster-version: "true"
installer_2:
annotations:
pipeline.installer: kyma deploy
evaluation_profile:
env:
EXECUTION_PROFILE: "evaluation"
production_profile:
env:
EXECUTION_PROFILE: "production"
jobConfigs:
- repoName: kyma-project/kyma
jobs:
# periodics
- jobConfig:
name: kyma-integration-evaluation-gardener-azure
annotations:
owner: huskies
testgrid-dashboards: kyma_integration
description: Evaluation profile for Kyma Azure Gardener integration job.
decoration_config:
timeout: 7200000000000 # 2h
grace_period: 600000000000 # 10min
cron: "0 2,14 * * *"
slack_channel: huskies-notifications
labels:
preset-log-collector-slack-token: "true"
inheritedConfigs:
global:
- jobConfig_default
- jobConfig_periodic
- extra_refs_test-infra
- extra_refs_kyma
local:
- jobConfig_default
- gardener_azure_job
- extra_refs_kyma-local
- command_integration
- evaluation_profile
- jobConfig:
name: kyma-integration-production-gardener-azure
annotations:
owner: huskies
testgrid-dashboards: kyma_integration
description: Production profile for Kyma Azure Gardener integration job.
decoration_config:
timeout: 7200000000000 # 2h
grace_period: 600000000000 # 10min
cron: "0 1,13 * * *"
slack_channel: huskies-notifications
labels:
preset-log-collector-slack-token: "true"
inheritedConfigs:
global:
- jobConfig_default
- jobConfig_periodic
- extra_refs_test-infra
- extra_refs_kyma
local:
- jobConfig_default
- gardener_azure_job
- extra_refs_kyma-local
- command_integration
- production_profile
- jobConfig:
name: kyma-weekly-gardener-gcp-busola-kyma
annotations:
owner: hasselhoff
description: set up nkyma cluster
decoration_config:
timeout: 7200000000000 # 2h
grace_period: 600000000000 # 10min
cron: "0 3 * * 1" # "At 03:00 UTC on Monday."
labels:
preset-busola-nightly-provision-type-kyma: "true"
preset-log-collector-slack-token: "true"
preset-recreate-cluster: "true"
inheritedConfigs:
global:
- jobConfig_default
- jobConfig_periodic
- extra_refs_test-infra
- extra_refs_kyma
- disable_testgrid
local:
- jobConfig_default
- command_busola_long_lasting
- gardener_gcp_job
- extra_refs_busola
- jobConfig:
name: kyma-upgrade-gardener-kyma2-to-main-reconciler-main
annotations:
owner: jellyfish
testgrid-dashboards: kyma_integration
description: Azure Kyma 2.0 to main branch.
decoration_config:
timeout: 7200000000000 # 2h
grace_period: 600000000000 # 10min
cron: "0 0 6-18/2 ? * 1-5"
labels:
preset-bot-github-token: "true"
inheritedConfigs:
global:
- jobConfig_buildpack_node
- jobConfig_periodic
- extra_refs_test-infra
- extra_refs_kyma
- jobConfig_slack_jellyfish
local:
- jobConfig_buildpack_node
- gardener_azure_job
- command_upgrade_gardener_kyma2_to_main
- jobConfig:
name: kyma-upgrade-gardener-kyma2-minor-versions
annotations:
owner: jellyfish
testgrid-dashboards: kyma_integration
description: Azure Kyma 2 previous minor versions.
decoration_config:
timeout: 7200000000000 # 2h
grace_period: 600000000000 # 10min
cron: "0 8 * * 1-5"
labels:
preset-bot-github-token: "true"
inheritedConfigs:
global:
- jobConfig_buildpack_node
- jobConfig_periodic
- extra_refs_test-infra
- extra_refs_kyma
- kyma_minor_upgrade
local:
- jobConfig_buildpack_node
- gardener_azure_job
- command_upgrade_gardener_kyma2_minor_versions