forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
633 lines (624 loc) · 18.1 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
plank:
job_url_template: '{{if .Spec.Refs}}{{if eq .Spec.Refs.Org "kubernetes-security"}}https://console.cloud.google.com/storage/browser/kubernetes-security-prow/{{else}}https://prow.k8s.io/view/gcs/kubernetes-jenkins/{{end}}{{else}}https://prow.k8s.io/view/gcs/kubernetes-jenkins/{{end}}{{if eq .Spec.Type "presubmit"}}pr-logs/pull{{else if eq .Spec.Type "batch"}}pr-logs/pull{{else}}logs{{end}}{{if .Spec.Refs}}{{if ne .Spec.Refs.Org ""}}{{if ne .Spec.Refs.Org "kubernetes"}}/{{if and (eq .Spec.Refs.Org "kubernetes-sigs") (ne .Spec.Refs.Repo "poseidon")}}sigs.k8s.io{{else}}{{.Spec.Refs.Org}}{{end}}_{{.Spec.Refs.Repo}}{{else if ne .Spec.Refs.Repo "kubernetes"}}/{{.Spec.Refs.Repo}}{{end}}{{end}}{{end}}{{if eq .Spec.Type "presubmit"}}/{{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}{{else if eq .Spec.Type "batch"}}/batch{{end}}/{{.Spec.Job}}/{{.Status.BuildID}}/'
report_template: '[Full PR test history](https://prow.k8s.io/pr-history?org={{.Spec.Refs.Org}}&repo={{.Spec.Refs.Repo}}&pr={{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}). [Your PR dashboard](https://gubernator.k8s.io/pr/{{with index .Spec.Refs.Pulls 0}}{{.Author}}{{end}}). Please help us cut down on flakes by [linking to](https://git.k8s.io/community/contributors/devel/sig-testing/flaky-tests.md#filing-issues-for-flaky-tests) an [open issue](https://github.com/{{.Spec.Refs.Org}}/{{.Spec.Refs.Repo}}/issues?q=is:issue+is:open) when you hit one in your PR.'
job_url_prefix: https://prow.k8s.io/view/gcs/
pod_pending_timeout: 60m
default_decoration_config:
timeout: 2h
grace_period: 15s
utility_images:
clonerefs: "gcr.io/k8s-prow/clonerefs:v20190626-46a2086f4"
initupload: "gcr.io/k8s-prow/initupload:v20190626-46a2086f4"
entrypoint: "gcr.io/k8s-prow/entrypoint:v20190626-46a2086f4"
sidecar: "gcr.io/k8s-prow/sidecar:v20190626-46a2086f4"
gcs_configuration:
bucket: "kubernetes-jenkins"
path_strategy: "legacy"
default_org: "kubernetes"
default_repo: "kubernetes"
gcs_credentials_secret: "service-account"
sinker:
resync_period: 1m
max_prowjob_age: 48h
max_pod_age: 30m
deck:
spyglass:
size_limit: 500000000 # 500MB
gcs_browser_prefix: https://gcsweb.k8s.io/gcs/
testgrid_config: gs://k8s-testgrid/config
testgrid_root: https://testgrid.k8s.io/
viewers:
"started.json|finished.json":
- "metadata"
"build-log.txt":
- "buildlog"
"artifacts/junit.*\\.xml":
- "junit"
"artifacts/filtered.cov":
- "coverage"
announcement: "The old job viewer, Gubernator, has been deprecated in favour of this page, Spyglass.{{if .ArtifactPath}} For now, the old page is <a href='https://gubernator.k8s.io/build/{{.ArtifactPath}}'>still available</a>.{{end}} Please send feedback to sig-testing."
tide_update_period: 1s
hidden_repos:
- kubernetes-security
google_analytics: UA-82843984-5
rerun_auth_config:
authorized_users:
- mirandachrist
- cjwagner
- amwat
- fejta
- ixdy
- Katharine
- krzyzacy
- michelle192837
- spiffxp
- stevekuznetsov
prowjob_namespace: default
pod_namespace: test-pods
log_level: debug
branch-protection:
allow_disabled_policies: true # TODO(fejta): remove, needed by k/website
orgs:
kubernetes:
protect: true
required_status_checks:
contexts:
- cla/linuxfoundation
repos:
api:
restrictions:
users: []
teams:
- stage-bots
apiextensions-apiserver:
restrictions:
users: []
teams:
- stage-bots
apimachinery:
restrictions:
users: []
teams:
- stage-bots
apiserver:
restrictions:
users: []
teams:
- stage-bots
client-go:
restrictions:
users: []
teams:
- stage-bots
cli-runtime:
restrictions:
users: []
teams:
- stage-bots
cloud-provider:
restrictions:
users: []
teams:
- stage-bots
cluster-bootstrap:
restrictions:
users: []
teams:
- stage-bots
code-generator:
restrictions:
users: []
teams:
- stage-bots
component-base:
restrictions:
users: []
teams:
- stage-bots
cri-api:
restrictions:
users: []
teams:
- stage-bots
csi-translation-lib:
restrictions:
users: []
teams:
- stage-bots
dashboard:
required_status_checks:
contexts:
- continuous-integration/travis-ci/pr
required_pull_request_reviews:
required_approving_review_count: 1
dns:
required_status_checks:
contexts:
- continuous-integration/travis-ci
required_pull_request_reviews:
required_approving_review_count: 1
git-sync:
enforce_admins: true
restrictions: # only allow admins
users: []
teams: []
kompose:
required_status_checks:
contexts:
- continuous-integration/travis-ci
required_pull_request_reviews:
required_approving_review_count: 1
kubelet:
restrictions:
users: []
teams:
- stage-bots
kubernetes:
restrictions: # only allow admins
users: []
teams: []
kube-aggregator:
restrictions:
users: []
teams:
- stage-bots
kube-controller-manager:
restrictions:
users: []
teams:
- stage-bots
kube-proxy:
restrictions:
users: []
teams:
- stage-bots
kube-scheduler:
restrictions:
users: []
teams:
- stage-bots
kubectl:
restrictions:
users: []
teams:
- stage-bots
legacy-cloud-providers:
restrictions:
users: []
teams:
- stage-bots
metrics:
restrictions:
users: []
teams:
- stage-bots
node-api:
restrictions:
users: []
teams:
- stage-bots
org:
restrictions: # only allow admins
users: []
teams: []
repo-infra:
required_status_checks:
contexts:
- continuous-integration/travis-ci
sample-apiserver:
restrictions:
users: []
teams:
- stage-bots
sample-cli-plugin:
restrictions:
users: []
teams:
- stage-bots
sample-controller:
restrictions:
users: []
teams:
- stage-bots
utils:
required_status_checks:
contexts:
- continuous-integration/travis-ci
website:
protect: false # TODO(fejta): protect all branches soon
branches:
master:
protect: true
release-1.10:
protect: true
release-1.11:
protect: true
release-1.12:
protect: true
release-1.13:
protect: true
release-1.14:
protect: true
release-1.15:
protect: true
kubernetes-client:
protect: true
required_status_checks:
contexts:
- cla/linuxfoundation
repos:
python:
required_status_checks:
contexts:
- continuous-integration/travis-ci
python-base:
required_status_checks:
contexts:
- continuous-integration/travis-ci
kubernetes-csi:
protect: true
required_status_checks:
contexts:
- cla/linuxfoundation
kubernetes-incubator:
protect: true
required_status_checks:
contexts:
- cla/linuxfoundation
repos:
apiserver-builder:
required_status_checks:
contexts:
- continuous-integration/travis-ci
bootkube:
required_status_checks:
contexts:
- continuous-integration/travis-ci
cluster-proportional-autoscaler:
required_status_checks:
contexts:
- continuous-integration/travis-ci
external-storage:
required_status_checks:
contexts:
- continuous-integration/travis-ci
kube-aws:
required_status_checks:
contexts:
- continuous-integration/travis-ci
metrics-server:
required_status_checks:
contexts:
- continuous-integration/travis-ci
kubernetes-sigs:
protect: true
required_status_checks:
contexts:
- cla/linuxfoundation
repos:
kube-batch:
required_status_checks:
contexts:
- continuous-integration/travis-ci
kubespray:
required_status_checks:
contexts:
- Kubespray CI Pipeline
node-feature-discovery:
required_status_checks:
contexts:
- continuous-integration/travis-ci
tide:
sync_period: 2m
queries:
- orgs:
- kubeflow
labels:
- lgtm
- approved
missingLabels:
- do-not-merge
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/work-in-progress
- needs-rebase
- repos:
- helm/charts
labels:
- lgtm
- approved
- "Contribution Allowed"
missingLabels:
- do-not-merge
- do-not-merge/blocked-paths
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/work-in-progress
- needs-rebase
- orgs:
- kubernetes
- kubernetes-client
- kubernetes-csi
- kubernetes-incubator
- kubernetes-sigs
excludedRepos:
- kubernetes/kubernetes # Handled with a separate Tide query below.
# The following are staging repos which do not normally support merging PRs.
# https://github.com/kubernetes/kubernetes/blob/master/staging/README.md
# Note that k/client-go is an exception to this rule so it is not an excludedRepo.
- kubernetes/api
- kubernetes/apiextensions-apiserver
- kubernetes/apimachinery
- kubernetes/apiserver
- kubernetes/cli-runtime
- kubernetes/cloud-provider
- kubernetes/cluster-bootstrap
- kubernetes/code-generator
- kubernetes/component-base
- kubernetes/cri-api
- kubernetes/csi-api
- kubernetes/csi-translation-lib
- kubernetes/kube-aggregator
- kubernetes/kube-controller-manager
- kubernetes/kube-proxy
- kubernetes/kube-scheduler
- kubernetes/kubectl
- kubernetes/kubelet
- kubernetes/legacy-cloud-providers
- kubernetes/metrics
- kubernetes/node-api
- kubernetes/sample-apiserver
- kubernetes/sample-cli-plugin
- kubernetes/sample-controller
labels:
- lgtm
- approved
- "cncf-cla: yes"
missingLabels:
- do-not-merge
- do-not-merge/blocked-paths
- do-not-merge/hold
- do-not-merge/invalid-commit-message
- do-not-merge/invalid-owners-file
- do-not-merge/release-note-label-needed
- do-not-merge/work-in-progress
- needs-rebase
- repos:
- kubernetes/kubernetes
labels:
- lgtm
- approved
- "cncf-cla: yes"
missingLabels:
- do-not-merge
- do-not-merge/blocked-paths
- do-not-merge/cherry-pick-not-approved
- do-not-merge/hold
- do-not-merge/invalid-commit-message
- do-not-merge/invalid-owners-file
- do-not-merge/release-note-label-needed
- do-not-merge/work-in-progress
- needs-kind
- needs-rebase
- needs-sig
- repos:
- GoogleCloudPlatform/netd
- bazelbuild/bazel-toolchains
- bazelbuild/rules_docker
- bazelbuild/rules_k8s
labels:
- lgtm
- approved
missingLabels:
- do-not-merge
- do-not-merge/blocked-paths
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/work-in-progress
# Auto-merge PRs generated for automatic configs release by robot.
- repos:
- bazelbuild/bazel-toolchains
labels:
- automerge
missingLabels:
- do-not-merge
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/work-in-progress
merge_method:
bazelbuild/bazel-toolchains: squash
bazelbuild/rules_docker: squash
bazelbuild/rules_k8s: squash
helm/charts: squash
kubeflow: squash
kubernetes-client/csharp: squash
kubernetes-client/gen: squash
kubernetes-sigs/cluster-api-provider-aws: squash
kubernetes-sigs/cluster-api-provider-azure: squash
kubernetes-sigs/cluster-api-provider-digitalocean: squash
kubernetes-sigs/cluster-api-provider-gcp: squash
kubernetes-sigs/cluster-api-provider-ibmcloud: squash
kubernetes-sigs/cluster-api-provider-openstack: squash
kubernetes-sigs/cluster-api: squash
kubernetes-sigs/krew-index: squash
kubernetes-sigs/krew: squash
kubernetes-sigs/kubespray: squash
kubernetes-sigs/service-catalog: squash
kubernetes/cloud-provider-openstack: squash
kubernetes/dashboard: squash
kubernetes/kube-deploy: squash
kubernetes/website: squash
pr_status_base_url: https://prow.k8s.io/pr
blocker_label: tide/merge-blocker
squash_label: tide/merge-method-squash
rebase_label: tide/merge-method-rebase
merge_label: tide/merge-method-merge
context_options:
orgs:
kubernetes:
repos:
dashboard:
skip-unknown-contexts: true
from-branch-protection: true
push_gateway:
endpoint: pushgateway
serve_metrics: true
github_reporter:
job_types_to_report:
- presubmit
- postsubmit
presets:
# credential presets
- labels:
preset-service-account: "true"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
# storage e2e tests borrow this as a preconfigured key instead of creating and
# injecting a new key. this allows us to avoid mass key download warnings
- name: E2E_GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
volumes:
- name: service
secret:
secretName: service-account
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
- labels:
preset-gke-alpha-service: "true"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
# storage e2e tests borrow this as a preconfigured key instead of creating and
# injecting a new key. this allows us to avoid mass key download warnings
- name: E2E_GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
volumes:
- name: service
secret:
secretName: gke-alpha-service-account
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
- labels:
preset-istio-service: "true"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/istio-service-account.json
# storage e2e tests borrow this as a preconfigured key instead of creating and
# injecting a new key. this allows us to avoid mass key download warnings
- name: E2E_GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
volumes:
- name: service
secret:
secretName: istio-service-account
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
- labels:
preset-k8s-ssh: "true"
env:
- name: USER
value: prow
- name: JENKINS_GCE_SSH_PRIVATE_KEY_FILE
value: /etc/ssh-key-secret/ssh-private
- name: JENKINS_GCE_SSH_PUBLIC_KEY_FILE
value: /etc/ssh-key-secret/ssh-public
volumes:
- name: ssh
secret:
defaultMode: 0400
secretName: ssh-key-secret
volumeMounts:
- name: ssh
mountPath: /etc/ssh-key-secret
readOnly: true
- labels:
preset-aws-ssh: "true"
env:
- name: USER
value: prow
- name: AWS_SSH_PRIVATE_KEY_FILE
value: /etc/aws-ssh/aws-ssh-private
- name: AWS_SSH_PUBLIC_KEY_FILE
value: /etc/aws-ssh/aws-ssh-public
volumes:
- name: aws-ssh
secret:
defaultMode: 0400
secretName: aws-ssh-key-secret
volumeMounts:
- name: aws-ssh
mountPath: /etc/aws-ssh
readOnly: true
# storage / caching presets
- labels:
preset-bazel-scratch-dir: "true"
env:
- name: TEST_TMPDIR
value: /bazel-scratch/.cache/bazel
volumes:
- name: bazel-scratch
emptyDir: {}
volumeMounts:
- name: bazel-scratch
mountPath: /bazel-scratch/.cache
- labels:
preset-bazel-remote-cache-enabled: "true"
env:
- name: BAZEL_REMOTE_CACHE_ENABLED
value: "true"
# docker-in-docker (with images/bootstrap) preset
# NOTE: using this also requires using that image,
# ensuring you run your test under either the ENTRYPOINT or:
# /usr/local/bin/runner my-test-command --foo --bar
# AND setting the following on your PodSpec:
# securityContext:
# privileged: true
- 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
# experimental preset for dind, prefer the one above
- labels:
preset-dind-memory-backed: "true"
env:
- name: DOCKER_IN_DOCKER_ENABLED
value: "true"
volumes:
- name: docker-graph
emptyDir:
medium: "Memory"
volumeMounts:
- name: docker-graph
mountPath: /docker-graph
# 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