forked from kyma-project/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
1283 lines (1272 loc) · 39.2 KB
/
config.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
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
prowjob_namespace: default
pod_namespace: default
decorate_all_jobs: true
plank:
job_url_prefix_config:
"*": https://status.build.kyma-project.io/view/
report_templates:
"*": >-
[Full PR test history](https://status.build.kyma-project.io/pr-history?org={{.Spec.Refs.Org}}&repo={{.Spec.Refs.Repo}}&pr={{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}).
[Your PR dashboard](https://status.build.kyma-project.io/pr?query=is:pr+state:open+author:{{with
index .Spec.Refs.Pulls 0}}{{.Author}}{{end}}).
max_concurrency: 100 # Limit of concurrent ProwJobs. Need to be adjusted depending of the cluster size.
pod_pending_timeout: 60m
default_decoration_config_entries:
- config:
timeout: 3h
grace_period: 10m
censor_secrets: true
censoring_options:
censoring_concurrency: 2 # 2 concurrent censoring
censoring_buffer_size: 3092 # 3kB
utility_images:
clonerefs: europe-docker.pkg.dev/kyma-project/prod/k8s-prow/clonerefs:v20240325-dea14c60
initupload: europe-docker.pkg.dev/kyma-project/prod/k8s-prow/initupload:v20240325-dea14c60
entrypoint: europe-docker.pkg.dev/kyma-project/prod/k8s-prow/entrypoint:v20240325-dea14c60
sidecar: europe-docker.pkg.dev/kyma-project/prod/k8s-prow/sidecar:v20240325-dea14c60
resources:
clonerefs:
requests:
cpu: 100m
memory: 250Mi
limits:
cpu: 100m
memory: 250Mi
initupload:
requests:
cpu: 100m
memory: 250Mi
limits:
cpu: 100m
memory: 250Mi
place_entrypoint:
requests:
cpu: 100m
memory: 250Mi
limits:
cpu: 100m
memory: 250Mi
sidecar:
requests:
cpu: 100m
memory: 250Mi
limits:
cpu: 100m
memory: 250Mi
gcs_configuration:
bucket: kyma-prow-logs
path_strategy: "explicit"
gcs_credentials_secret: ""
default_service_account_name: prowjob-default-sa
- cluster: "untrusted-workload"
config:
gcs_credentials_secret: ""
default_service_account_name: prowjob-default-sa
- cluster: "trusted-workload"
config:
gcs_credentials_secret: ""
default_service_account_name: prowjob-default-sa
deck:
spyglass:
size_limit: 500000000 # 500MB
gcs_browser_prefix: https://gcsweb.build.kyma-project.io/gcs/
lenses:
- lens:
name: metadata
required_files:
- ^(?:started|finished)\.json$
optional_files:
- ^(?:podinfo|prowjob)\.json$
- lens:
name: buildlog
config:
highlighter:
endpoint: http://halogen.default.svc.cluster.local
pin: true
auto: false
highlight_regexes:
- Automatic merge failed
- cannot convert.+to type
- "cannot use.+as.+(type|value)"
- Cluster failed to initialize
- cluster unreachable
- "compilepkg: error"
- configuration error
- contact Google support
- could not apply prowjob annotations
- could not find the referenced.+TestGroup
- could not write config
- "couldn't load prow config:"
- curl.+Failed to connect
- DATA RACE
- dirty working directory
- ^E\d{4} \d\d:\d\d:\d\d\.\d+
- (Error|ERROR|error)s?(:|\s)
- Error.+executing benchmarks
- Expected.+got
- FAILED. See logs
- failed to acquire k8s binaries
- failed to solve
- (FAIL|Failure \[)\b
- fatal error
- flag provided but not defined
- Full Stack Trace
- got.+expected
- hash mismatch
- Hit an unsupported type
- imported but not used
- Incompatible changes
- incorrect boilerplate
- indent-error-flow
- INSTALLATION FAILED
- is a misspelling
- LimitExceeded
- "make:.+Error"
- Master not detected
- Merge conflict
- not enough arguments in call
- panic\b
- Previous (write|read)
- Process did not finish before.+timeout
- race detected
- security token.+invalid
- "signal: killed"
- Something went wrong
- too few arguments
- too many errors
- "[Tt]imed out"
- type.+has no field
- unable to start the controlplane
- "undefined:"
- Unfortunately, an error
- unused.+deadcode
- "[Uu]nexpected error"
- verify.+failed
- want.+got
- Your cluster may not be fully functional
- ^\s+\^$
- \^-- # script validation
- \[(0;)?31m
- "^diff " # [+-]{3}\\s" has too much noise from go test output and set -x
- • Failure
# This highlights the start of bazel tests/runs to skip go importing noise.
- "^INFO: Analyzed \\d+ targets"
- "JobGuard caught error"
- "Directory vpath is present"
- '"status": "Vulns"' # protecode guard
- "command not found"
- '\[ERROR\]'
# This highlights prowjobconfigtests failed tests.
- '\[PJ config test failed\]'
required_files:
- ^.*build-log\.txt$
- lens:
name: junit
required_files:
- ^artifacts(/.*/|/)junit.*\.xml$ # https://regex101.com/r/vCSegS/1
- lens:
name: coverage
required_files:
- ^artifacts/filtered\.cov$
optional_files:
- ^artifacts/filtered\.html$
- lens:
name: podinfo
required_files:
- ^podinfo\.json$
optional_files:
- ^prowjob\.json$
- lens:
name: links
required_files:
- artifacts/.*\.link\.txt
- lens:
name: html
required_files:
- ^artifacts/report.*\.html$
branding:
header_color: "#0b74de" # Kyma color
logo: "/static/extensions/logo.svg"
favicon: "/static/extensions/favicon.png"
rerun_auth_configs:
"*":
github_team_ids:
- 3108790 # cluster-access GH team in Kyma organization
sinker:
max_prowjob_age: 168h
max_pod_age: 5h
resync_period: 1m
terminated_pod_ttl: 30m
push_gateway:
endpoint: pushgateway
serve_metrics: true
slack_reporter_configs:
"*":
job_types_to_report:
- postsubmit
- periodic
- batch
job_states_to_report:
- failure
- error
channel: kyma-ci-force
report_template: |
*Name:* {{.Spec.Job}}
*Type:* {{.Spec.Type}}
*Status:* {{.Status.State}}
{{with .Spec.Refs}}*Repository:* {{.Org}}/{{.Repo}}
*Commit:* <{{.BaseLink}}|{{printf "%.7s" .BaseSHA}}>
{{end}}*<{{.Status.URL}}|View logs>*
in_repo_config:
enabled:
"*": true
allowed_clusters:
"*": ["untrusted-workload"]
branch-protection:
enforce_admins: true
allow_disabled_policies: true
required_pull_request_reviews:
dismiss_stale_reviews: true
require_code_owner_reviews: true
required_approving_review_count: 1
# all jobs that have ContextRequired() set to true are also treated as required_status_checks, so there is no point to mention it here.
required_status_checks:
contexts:
- license/cla
- tide
orgs:
kyma-project:
protect: true # protect all repos & branches in kyma-project org
exclude:
- "^dependabot/"
repos:
kyma:
branches:
kyma-2.0-docu:
required_pull_request_reviews:
require_code_owner_reviews: false
community:
protect: false
branches:
main:
protect: true
community-modules:
enforce_admins: false
private-fn-for-e2e-serverless-tests:
protect: false
busola:
branches:
ui5:
protect: false
price-calculator:
branches:
gh-pages:
protect: false
k8s-prow:
protect: true
required_status_checks:
contexts:
- license/cla
enforce_admins: false
required_pull_request_reviews:
dismiss_stale_reviews: false
require_code_owner_reviews: false
required_approving_review_count: 0
restrictions:
users:
- kyma-bot
exclude:
- "^dependabot/"
kyma-environment-broker:
required_status_checks:
contexts:
- "run-eslint"
- "run-go-linter"
- "run-go-checks"
- "run-go-tests / build"
- "run-keb-chart-tests / finish-keb-chart-tests"
- "markdown-link-check"
- "validate-labels"
exclude:
- "^gh-pages$"
- "^sec-scanners-config-"
- "^bump-keb-"
btp-manager:
required_status_checks:
contexts:
- "run-unit-tests / build"
- "run-e2e-tests / finish-e2e-tests"
- "markdown-link-check"
- "validate-labels"
- "run-go-linter"
exclude:
- "^sec-scanners-config-"
template-operator:
required_status_checks:
contexts:
- "lint"
- "Run integration tests"
lifecycle-manager:
required_status_checks:
contexts:
- "E2E (kyma-metrics)"
- "E2E (module-status-propagation)"
- "E2E (module-without-default-cr)"
- "E2E (upgrade-under-deletion)"
- "E2E (self-signed-certificate-rotation)"
- "E2E (non-blocking-deletion)"
- "E2E (purge-controller)"
- "E2E (purge-metrics)"
- "E2E (watcher-enqueue)"
- "E2E (module-upgrade-channel-switch)"
- "E2E (module-upgrade-new-version)"
- "E2E (ca-certificate-rotation)"
- "E2E (kyma-deprovision-with-foreground-propagation)"
- "E2E (kyma-deprovision-with-background-propagation)"
- "E2E (misconfigured-kyma-secret)"
- "Run 'make test'"
- "kyma (unstable) alpha deploy -k config/control-plane"
- "kyma (unstable) alpha deploy -k config/default"
- "lint"
- "Kustomize (dry-run)"
- "Kustomize (dry-run-control-plane)"
- "markdown-link-check"
- "Diff manifests"
runtime-watcher:
required_status_checks:
contexts:
- "E2E (watcher-enqueue)"
- "E2E (watcher-metrics)"
cli:
required_status_checks:
contexts:
- "Run E2E tests (test-kubebuilder-module-creation)"
- "Run E2E tests (test-moduleconfig-module-creation)"
- "Run E2E tests (test-same-version-module-creation)"
- "lint"
- "docs validation"
- "unit tests"
- "build"
exclude:
- "^v3$"
serverless:
unmanaged: true
keda-manager:
unmanaged: true
warden:
unmanaged: true
kyma-incubator:
protect: true # protect all repos & branches in kyma-incubator org
exclude:
- "^dependabot/"
repos:
compass:
protect: false
branches:
main:
protect: true
compass-console:
protect: false
branches:
main:
protect: true
ord-service:
protect: false
branches:
main:
protect: true
reconciler:
protect: false
branches:
main:
protect: true
develop:
protect: true
load-test-mock:
protect: true
istio-op:
protect: true
tide:
sync_period: 2m
batch_size_limit:
"*": -1 # disable batch merging for all repos
merge_method:
kyma-project/kyma: squash
kyma-project/test-infra: squash
kyma-project/kyma-dashboard: squash
kyma-project/busola: squash
kyma-project/control-plane: squash
kyma-project/third-party-images: squash
kyma-project/hydroform: squash
kyma-project/cli: squash
kyma-project/community: squash
kyma-project/examples: squash
kyma-project/lifecycle-manager: squash
kyma-project/runtime-watcher: squash
kyma-project/template-operator: squash
kyma-project/api-gateway: squash
kyma-project/btp-manager: squash
kyma-project/kyma-environment-broker: squash
kyma-project/istio: squash
kyma-project/warden: squash
kyma-project/serverless: squash
kyma-project/keda-manager: squash
kyma-project/telemetry-manager: squash
kyma-project/kyma-metrics-collector: squash
kyma-project/directory-size-exporter: squash
kyma-project/eventing-publisher-proxy: squash
kyma-project/eventing-manager: squash
kyma-project/eventing-auth-manager: squash
kyma-project/eventing-tools: squash
kyma-project/nats-manager: squash
kyma-incubator/compass: squash
kyma-incubator/reconciler: squash
kyma-incubator/compass-console: squash
kyma-incubator/ord-service: squash
kyma-incubator/kymart: squash
kyma-incubator/github-dashboard: squash
kyma-incubator/opensap: squash
kyma-incubator/migrate: squash
target_url: https://status.build.kyma-project.io/tide
pr_status_base_urls:
"*": https://status.build.kyma-project.io/pr
squash_label: tide/merge-method-squash
rebase_label: tide/merge-method-rebase
merge_label: tide/merge-method-merge
queries:
- labels:
- lgtm
missingLabels:
- do-not-merge/hold
- do-not-merge/work-in-progress
- do-not-merge/invalid-owners-file
- do-not-merge/invalid-commit-message
orgs:
- kyma-project
- kyma-incubator
reviewApprovedRequired: true
- labels:
- lgtm
- approved
missingLabels:
- do-not-merge/hold
- do-not-merge/work-in-progress
- do-not-merge/invalid-owners-file
- do-not-merge/invalid-commit-message
repos:
- kyma-incubator/compass
- kyma-project/k8s-prow
reviewApprovedRequired: true
# special query for automations
- labels:
- skip-review
author: kyma-bot
missingLabels:
- do-not-merge/hold
- do-not-merge/work-in-progress
- do-not-merge/invalid-owners-file
- do-not-merge/invalid-commit-message
repos:
- kyma-project/k8s-prow
context_options:
from-branch-protection: true
orgs:
kyma-project:
repos:
lifecycle-manager:
skip-unknown-contexts: true
kyma-environment-broker:
skip-unknown-contexts: true
btp-manager:
skip-unknown-contexts: true
presets:
- labels:
preset-recreate-cluster: "true"
env:
- name: RECREATE_CLUSTER
value: "true"
- labels:
preset-slack-alerts: "true"
env:
- name: STABILITY_SLACK_CLIENT_CHANNEL_ID
value: "#kyma-ci-force"
- name: KYMA_ALERTS_SLACK_API_URL
valueFrom:
secretKeyRef:
name: kyma-alerts-slack-api-url
key: secret
- name: KYMA_ALERTS_CHANNEL
value: "#kyma-ci-force"
# cluster version
- labels:
preset-cluster-version: "true"
env:
- name: AKS_CLUSTER_VERSION
value: "1.28"
- name: GKE_CLUSTER_VERSION
value: "1.28"
- name: GARDENER_CLUSTER_VERSION
value: "1.28"
# test clusters log collector
- labels:
preset-log-collector-slack-token: "true"
env:
- name: LOG_COLLECTOR_SLACK_TOKEN
valueFrom:
secretKeyRef:
name: log-collector-slack-token
key: token
- labels:
preset-certificates-bucket: "true"
env:
- name: CERTIFICATES_BUCKET
value: "kyma-prowjobs-secrets"
- labels:
preset-gke-kyma-developers-group: "true"
env:
- name: GCLOUD_SECURITY_GROUP
value: "kyma_developers"
- name: GCLOUD_SECURITY_GROUP_DOMAIN
value: "sap.com"
- labels:
preset-gc-compute-envs: "true"
env:
- name: CLOUDSDK_COMPUTE_REGION
value: "europe-west4"
- labels:
preset-gc-project-env: "true"
env:
- name: CLOUDSDK_CORE_PROJECT
value: "sap-kyma-prow-workloads"
- labels:
preset-kms-gc-project-env: "true"
env:
- name: CLOUDSDK_KMS_PROJECT
value: "sap-kyma-prow-workloads"
- labels:
preset-sa-vm-kyma-integration: "true" # Service account with "Compute Admin" and "Compute OS Admin Login" roles
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/credentials/sa-vm-kyma-integration/service-account.json
volumes:
- name: sa-vm-kyma-integration
secret:
secretName: sa-vm-kyma-integration
- name: sa-vm-kyma-ssh-key # https://github.com/kyma-project/kyma/issues/10818
secret:
secretName: sa-vm-kyma-ssh-key
defaultMode: 0700
volumeMounts:
- name: sa-vm-kyma-integration
mountPath: /etc/credentials/sa-vm-kyma-integration
readOnly: true
- name: sa-vm-kyma-ssh-key
mountPath: /root/.ssh/user
- labels:
preset-sa-gke-kyma-integration: "true"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/credentials/sa-gke-kyma-integration/service-account.json
- name: CLOUDSDK_DNS_ZONE_NAME
value: "build-kyma-workloads" #GCloud DNS Zone Name (NOT it's DNS name!)
- name: KYMA_PROJECT_DIR
value: "/home/prow/go/src/github.com/kyma-project"
volumes:
- name: sa-gke-kyma-integration
secret:
secretName: sa-gke-kyma-integration
volumeMounts:
- name: sa-gke-kyma-integration
mountPath: /etc/credentials/sa-gke-kyma-integration
readOnly: true
# Gardener needs the credentials, we can't use preset-sa-gke-kyma-integration, as KYMA_PROJECT_DIR is colliding with another preset
- labels:
preset-sa-test-gcr-push: "true" # Service account with write access to test gcr.
env:
- name: GCR_PUSH_GOOGLE_APPLICATION_CREDENTIALS
value: /etc/credentials/sa-test-gcr-push/service-account.json
volumes:
- name: sa-test-gcr-push
secret:
secretName: sa-gke-kyma-integration
volumeMounts:
- name: sa-test-gcr-push
mountPath: /etc/credentials/sa-test-gcr-push
readOnly: true
- labels:
preset-sa-kyma-push-images: "true"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/credentials/sa-kyma-push-images/service-account.json
volumes:
- name: sa-kyma-push-images
secret:
secretName: sa-kyma-push-images
volumeMounts:
- name: sa-kyma-push-images
mountPath: /etc/credentials/sa-kyma-push-images
readOnly: true
- labels:
preset-sa-kyma-artifacts: "true"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/credentials/sa-kyma-artifacts/service-account.json
volumes:
- name: sa-kyma-artifacts
secret:
secretName: sa-kyma-artifacts
volumeMounts:
- name: sa-kyma-artifacts
mountPath: /etc/credentials/sa-kyma-artifacts
- labels:
preset-sa-gardener-logs: "true"
env:
- name: SA_GARDENER_LOGS
value: /etc/credentials/sa-gardener-logs/service-account.json
volumes:
- name: sa-gardener-logs
secret:
secretName: sa-gardener-logs
volumeMounts:
- name: sa-gardener-logs
mountPath: /etc/credentials/sa-gardener-logs
readOnly: true
- labels:
preset-sa-prow-job-github-issues: "true"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/credentials/sa-prow-job-github-issues/service-account.json
volumes:
- name: sa-prow-job-github-issues
secret:
secretName: sa-prow-job-github-issues
volumeMounts:
- name: sa-prow-job-github-issues
mountPath: /etc/credentials/sa-prow-job-github-issues
readOnly: true
- labels:
preset-gardener-azure-kyma-integration: "true"
env:
- name: GARDENER_KYMA_PROW_KUBECONFIG
value: /etc/credentials/gardener-kyma-prow/kubeconfig
- name: GARDENER_KYMA_PROW_PROJECT_NAME
value: "kyma-prow"
- name: GARDENER_KYMA_PROW_PROVIDER_SECRET_NAME
value: "kyma-azure"
- name: GARDENER_PROVIDER
value: "azure"
volumes:
- name: gardener-kyma-prow-kubeconfig
secret:
secretName: gardener-kyma-prow-kubeconfig
volumeMounts:
- name: gardener-kyma-prow-kubeconfig
mountPath: /etc/credentials/gardener-kyma-prow
- labels:
preset-gardener-gcp-kyma-integration: "true"
env:
- name: GARDENER_KYMA_PROW_KUBECONFIG
value: /etc/credentials/gardener-kyma-prow/kubeconfig
- name: GARDENER_KYMA_PROW_PROJECT_NAME
value: "kyma-prow"
- name: GARDENER_KYMA_PROW_PROVIDER_SECRET_NAME
value: "kyma-gcp-workloads"
- name: GARDENER_PROVIDER
value: "gcp"
volumes:
- name: gardener-kyma-prow-kubeconfig
secret:
secretName: gardener-kyma-prow-kubeconfig
volumeMounts:
- name: gardener-kyma-prow-kubeconfig
mountPath: /etc/credentials/gardener-kyma-prow
- labels:
preset-gardener-aws-kyma-integration: "true"
env:
- name: GARDENER_KYMA_PROW_KUBECONFIG
value: /etc/credentials/gardener-kyma-prow/kubeconfig
- name: GARDENER_KYMA_PROW_PROJECT_NAME
value: "kyma-prow"
- name: GARDENER_KYMA_PROW_PROVIDER_SECRET_NAME
value: "prow-dev-aws"
- name: GARDENER_PROVIDER
value: "aws"
volumes:
- name: gardener-kyma-prow-kubeconfig
secret:
secretName: gardener-kyma-prow-kubeconfig
volumeMounts:
- name: gardener-kyma-prow-kubeconfig
mountPath: /etc/credentials/gardener-kyma-prow
- labels:
preset-gardener-neighbors: "true"
env:
- name: GARDENER_KUBECONFIG
value: /etc/credentials/gardener-neighbors/kubeconfig
- name: GARDENER_PROJECT_NAME
value: "neighbors"
- name: GARDENER_PROVIDER_SECRET_NAME
value: "neighbors-gardener"
volumes:
- name: gardener-neighbors-kubeconfig
secret:
secretName: gardener-neighbors-kubeconfig
volumeMounts:
- name: gardener-neighbors-kubeconfig
mountPath: /etc/credentials/gardener-neighbors
- labels:
preset-gardener-kyma-rotate-kubeconfig: "true"
volumes:
- name: gardener-kyma-prow-token-rotate-kubeconfig
secret:
secretName: gardener-kyma-prow-token-rotate-kubeconfig
volumeMounts:
- name: gardener-kyma-prow-token-rotate-kubeconfig
mountPath: /etc/credentials/gardener-kyma-prow-rotate
- labels:
preset-az-kyma-prow-credentials: "true"
env:
- name: AZURE_CREDENTIALS_FILE
value: /etc/credentials/az-kyma-prow-credentials/azure-credentials.json
- name: AZURE_SUBSCRIPTION_ID
valueFrom:
secretKeyRef:
name: kyma-azure-credential-id
key: subscription-id
volumes:
- name: az-kyma-prow-credentials
secret:
secretName: az-kyma-prow-credentials
volumeMounts:
- name: az-kyma-prow-credentials
mountPath: /etc/credentials/az-kyma-prow-credentials
- labels:
preset-dind-enabled: "true"
env:
- name: DOCKER_IN_DOCKER_ENABLED
value: "true"
volumes:
- name: docker-graph
emptyDir: {}
volumeMounts:
- name: docker-graph
mountPath: /docker-graph
- labels:
preset-docker-push-repository-kyma: "true"
env:
- name: DOCKER_PUSH_REPOSITORY
value: "eu.gcr.io/kyma-project"
- labels:
preset-docker-push-repository-gke-integration: "true" # Needed for kyma installer image
env:
- name: DOCKER_PUSH_REPOSITORY
value: "eu.gcr.io/sap-kyma-prow-workloads"
- labels:
preset-build-pr: "true"
env:
- name: BUILD_TYPE
value: pr
- name: DOCKER_PUSH_DIRECTORY
value: "/pr"
- labels:
preset-build-main: "true"
env:
- name: BUILD_TYPE
value: master
- name: DOCKER_PUSH_DIRECTORY
value: "/develop"
- labels:
preset-build-artifacts-main: "true"
env:
- name: BUILD_TYPE
value: master
- labels:
preset-build-release: "true"
env:
- name: BUILD_TYPE
value: release
# Kyma-bot
- labels:
preset-bot-github-token: "true"
env:
- name: BOT_GITHUB_TOKEN
valueFrom:
secretKeyRef:
name: kyma-bot-github-token
key: token
- name: GITHUB_TOKEN
valueFrom:
secretKeyRef:
name: kyma-bot-github-token
key: token
volumeMounts:
- name: kyma-bot-token-path
mountPath: /etc/github
readOnly: true
volumes:
- name: kyma-bot-token-path
secret:
secretName: kyma-bot-github-token
- labels:
kyma-bot-github-public-repo-token: "true"
env:
- name: GITHUB_TOKEN
valueFrom:
secretKeyRef:
name: kyma-bot-github-public-repo-token
key: token
volumeMounts:
- name: kyma-bot-github-public-repo-token-path
mountPath: /etc/github
readOnly: true
volumes:
- name: kyma-bot-github-public-repo-token-path
secret:
secretName: kyma-bot-github-public-repo-token
- labels:
preset-autobump-bot-github-token: "true"
volumes:
- name: kyma-autobump-bot-token-path
secret:
secretName: kyma-autobump-bot-github-token
volumeMounts:
- name: kyma-autobump-bot-token-path
mountPath: /etc/github
readOnly: true
- labels:
preset-bot-github-sap-token: "true"
env:
- name: BOT_GITHUB_SAP_TOKEN
valueFrom:
secretKeyRef:
name: kyma-bot-github-sap-token
key: token
# BTP-Manager Bot
- labels:
preset-kyma-btp-manager-bot-github-token: "true"
env:
- name: BOT_GITHUB_TOKEN
valueFrom:
secretKeyRef:
name: kyma-btp-manager-bot-github-token
key: token
- labels:
preset-kyma-eventing-auth-ias-creds: "true"
env:
- name: TEST_EVENTING_AUTH_IAS_URL
value: "https://tunas.accounts400.ondemand.com"
- name: TEST_EVENTING_AUTH_IAS_USER
value: "skydiving-tunas@groups.sap.com"
- name: TEST_EVENTING_AUTH_IAS_PASSWORD
valueFrom:
secretKeyRef:
name: kyma-eventing-auth-ias-creds
key: token
# Kyma Guard Bot
- labels:
preset-kyma-guard-bot-github-token: "true"
env:
- name: BOT_GITHUB_TOKEN
valueFrom:
secretKeyRef:
name: kyma-guard-bot-github-token
key: token
# for new jobguard which does not use env for tokens
volumes:
- name: kyma-guard-bot-token-path
secret:
secretName: kyma-guard-bot-github-token
volumeMounts:
- name: kyma-guard-bot-token-path
mountPath: /etc/github
readOnly: true
- labels:
preset-kyma-artifacts-bucket: "true"
env:
- name: KYMA_ARTIFACTS_BUCKET
value: gs://kyma-prow-artifacts
- labels:
preset-kyma-cli-stable: "true"
env:
- name: KYMA_CLI_STABLE_BUCKET
value: gs://kyma-cli-stable
- name: STABLE
value: "true"
- labels:
preset-kyma-cli-pr-unstable: "true"
env:
- name: KYMA_CLI_PR_UNSTABLE_BUCKET
value: gs://kyma-cli-pr
- name: UNSTABLE
value: "true"
- labels:
preset-nightly-github-integration: "true"
env:
- name: GITHUB_INTEGRATION_APP_CLIENT_ID
valueFrom:
secretKeyRef:
name: nightly-github-integration-app-client-id
key: client-id
- name: GITHUB_INTEGRATION_APP_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: nightly-github-integration-app-client-secret
key: client-secret
- labels:
preset-kyma-development-artifacts-bucket: "true"
env:
- name: KYMA_DEVELOPMENT_ARTIFACTS_BUCKET
value: "gs://kyma-development-artifacts"
- labels:
preset-whitesource-product-kyma: "true"
env:
- name: WS_PRODUCTNAME
value: "SHC - XF KYMA RUNTIME 2.0"
- labels:
preset-whitesource-product-control-plane: "true"
env:
- name: WS_PRODUCTNAME
value: "SHC - KYMA CONTROL PLANE 2.0"
- labels:
preset-whitesource-product-kyma-dashboard: "true"
env:
- name: WS_PRODUCTNAME
value: "SHC - KYMA DASHBOARD 1.0"
- labels:
preset-whitesource-product-kyma-release: "true"
env:
- name: WS_PRODUCTNAME
value: "SHC - KYMA RUNTIME RELEASE"
- labels:
preset-whitesource-product-kyma-release-previous: "true"
env:
- name: WS_PRODUCTNAME
value: "SHC - KYMA RUNTIME RELEASE-1"
- labels:
preset-whitesource-product-kyma-test: "true"
env:
- name: WS_PRODUCTNAME
value: "TEST - KYMA"
# volume mounts for kind
- labels:
preset-kind-volume-mounts: "true"
volumeMounts:
- mountPath: /lib/modules
name: modules
readOnly: true
- mountPath: /sys/fs/cgroup
name: cgroup
volumes:
- name: modules
hostPath:
path: /lib/modules
type: Directory
- name: cgroup
hostPath:
path: /sys/fs/cgroup
type: Directory
- labels:
preset-cluster-use-ssd: "true"
env:
- name: CLUSTER_USE_SSD
value: "true"
# whitesource labels
- labels:
preset-wssagent-keys: "true"
env:
- name: WHITESOURCE_APIKEY
value: /etc/credentials/whitesource-apikey/apikey
- name: WHITESOURCE_USERKEY
value: /etc/credentials/whitesource-userkey/userkey
volumes:
- name: whitesource-apikey
secret:
secretName: whitesource-apikey
- name: whitesource-userkey
secret:
secretName: whitesource-userkey
volumeMounts:
- name: whitesource-apikey