forked from cert-manager/testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
215 lines (200 loc) · 6.35 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
plank:
job_url_template: 'https://prow.build-infra.jetstack.net/view/gcs/jetstack-logs/{{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 ""}}/{{.Spec.Refs.Org}}_{{.Spec.Refs.Repo}}{{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.build-infra.jetstack.net/pr-history?org={{.Spec.Refs.Org}}&repo={{.Spec.Refs.Repo}}&pr={{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}). [Your PR dashboard](https://jetstack-build-infra.appspot.com/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/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.build-infra.jetstack.net/view/gcs/
pod_pending_timeout: 60m
default_decoration_config:
timeout: 7200000000000 # 2h
grace_period: 15000000000 # 15s
utility_images:
clonerefs: "eu.gcr.io/jetstack-build-infra/prow-clonerefs:v20190301-53846677b"
initupload: "eu.gcr.io/jetstack-build-infra/prow-initupload:v20190301-53846677b"
entrypoint: "eu.gcr.io/jetstack-build-infra/prow-entrypoint:v20190301-53846677b"
sidecar: "eu.gcr.io/jetstack-build-infra/prow-sidecar:v20190301-53846677b"
gcs_configuration:
bucket: "jetstack-logs"
path_strategy: "legacy"
# Leave this as k/k so that all logs use org_repo in the path
default_org: "kubernetes"
default_repo: "kubernetes"
gcs_credentials_secret: "service-account"
branch-protection:
allow_disabled_policies: true
orgs:
jetstack:
# TODO: enforce dco check org-wide
# protect: true
# required_status_checks:
# contexts:
# - dco
repos:
# TODO: required contexts on a per-branch basis
cert-manager:
protect: true
required_status_checks:
contexts:
- dco
- pull-cert-manager-bazel
- pull-cert-manager-deps
- pull-cert-manager-chart
- pull-cert-manager-e2e-v1-13
sinker:
resync_period: 1h
max_prowjob_age: 48h
max_pod_age: 1h
deck:
spyglass:
size_limit: 500000000
gcs_browser_prefix: https://console.cloud.google.com/storage/browser/
viewers:
"started.json|finished.json": ["metadata-viewer"]
"build-log.txt": ["build-log-viewer"]
"artifacts/junit.*\\.xml": ["junit-viewer"] # Remember to escape your '\' in yaml strings!
# deck:
# external_agent_logs:
# - agent: jenkins
# url_template: 'http://jenkins-operator/job/{{.Spec.Job}}/{{.Status.BuildID}}/consoleText'
prowjob_namespace: default
pod_namespace: test-pods
log_level: info
presets:
- labels:
preset-service-account: "true"
env:
- name: 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
# 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
- labels:
libvirt-socket: "true"
volumes:
- name: var-run-libvirt-libvirt-sock
hostPath:
path: /var/run/libvirt/libvirt-sock
type: Socket
volumeMounts:
- name: var-run-libvirt-libvirt-sock
mountPath: /var/run/libvirt/libvirt-sock
- labels:
minikube-support: "true"
volumeMounts:
- name: var-lib-libvirt
mountPath: /var/lib/libvirt
- name: minikube-certs
mountPath: /var/lib/libvirt/caches/minikube/.minikube/certs
volumes:
- name: var-lib-libvirt
hostPath:
path: /var/lib/libvirt
type: Directory
- name: minikube-certs
emptyDir: {}
env:
- name: MINIKUBE_HOME
value: /var/lib/libvirt/caches/minikube
- labels:
minikube-medium: "true"
env:
- name: MINIKUBE_CPUS
value: "4"
- name: MINIKUBE_MEMORY
value: "12288"
- labels:
minikube-small: "true"
env:
- name: MINIKUBE_CPUS
value: "3"
- name: MINIKUBE_MEMORY
value: "8192"
# 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"
volumes:
- name: bazel-cache-credentials
secret:
secretName: bazel-cache-credentials
volumeMounts:
- name: bazel-cache-credentials
mountPath: /etc/bazel-cache-credentials
readOnly: true
env:
- name: BAZEL_REMOTE_CACHE_ENABLED
value: "true"
- name: BAZEL_CACHE_CREDENTIALS
value: /etc/bazel-cache-credentials/credentials.json
tide:
pr_status_base_url: https://prow.build-infra.jetstack.net/pr
squash_label: tide/squash
queries:
- repos:
- jetstack/cert-manager
- jetstack/navigator
- jetstack/tarmak
labels:
- lgtm
- approved
missingLabels:
- needs-ok-to-test
- do-not-merge
- do-not-merge/blocked-paths
- do-not-merge/cherry-pick-not-approved
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/release-note-label-needed
- do-not-merge/work-in-progress
- needs-rebase
- orgs:
- jetstack
excludedRepos:
- jetstack/cert-manager
- jetstack/navigator
- jetstack/tarmak
labels:
- lgtm
- approved
missingLabels:
- needs-ok-to-test
- do-not-merge
- do-not-merge/blocked-paths
- do-not-merge/cherry-pick-not-approved
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/work-in-progress
- needs-rebase
# push_gateway:
# endpoint: pushgateway