forked from pusher/testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
168 lines (155 loc) · 4.78 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
#############
###
### THIS IS AN AUTOGENERATED FILE!!! DO NOT EDIT THIS FILE DIRECTLY!!!
###
#############
apiVersion: v1
data:
config.yaml: |
plank:
allow_cancellations: true
job_url_prefix: "https://prow.pusher.com/view/gcs"
job_url_template: "https://prow.pusher.com/view/gcs/pusher-ci-cluster-35535/pr-logs/pull/{{.Spec.Refs.Repo}}/{{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}/{{.Spec.Job}}/{{.Status.BuildID}}"
report_template: "[Full PR test history](https://prow.pusher.com/pr-history?org={{.Spec.Refs.Org}}&repo={{.Spec.Refs.Repo}}&pr={{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}})"
default_decoration_config:
timeout: 7200000000000 # 2h
grace_period: 15000000000 # 15s
utility_images:
clonerefs: "quay.io/pusher/clonerefs:v20190401-6a7e3ff"
initupload: "gcr.io/k8s-prow/initupload:v20190726-3b3e19a13"
entrypoint: "gcr.io/k8s-prow/entrypoint:v20190726-3b3e19a13"
sidecar: "gcr.io/k8s-prow/sidecar:v20190726-3b3e19a13"
gcs_configuration:
bucket: "pusher-ci-cluster-35535"
path_strategy: "explicit"
gcs_credentials_secret: "prow-gcs"
sinker:
resync_period: 1h
max_prowjob_age: 48h
max_pod_age: 1h
deck:
branding:
logo: "/static/extensions/logo.svg"
favicon: "extensions/favicon.ico"
header_color: "#300D4F"
spyglass:
size_limit: 500000000
lenses:
- lens:
name: metadata
required_files:
- started.json
optional_files:
- finished.json
- lens:
name: buildlog
config:
highlight_regexes:
- timed out
- 'ERROR:'
- (\s|^)(FAIL|Failure \[)\b
- (\s|^)panic\b
- ^E\d{4} \d\d:\d\d:\d\d\.\d\d\d]
required_files:
- build-log.txt
- lens:
name: junit
required_files:
- artifacts/junit.*\.xml
rerun_auth_config:
authorized_users:
- BenPope
- gargath
- JoelSpeed
- mthssdrbrg
- samuelyallop-pusher
- sata
- theobarberbany
- topliceanu
- DanielMorsing
prowjob_namespace: default
pod_namespace: default
log_level: info
github_reporter:
job_types_to_report:
- presubmit
- postsubmit
presets:
- labels:
preset-service-account: "true"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
- name: CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE
value: /etc/service-account/service-account.json
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
volumes:
- name: service
secret:
secretName: prow-gcs
- labels:
preset-root-quay-credentials: "true"
volumes:
- name: credentials
secret:
secretName: quay-docker-config
volumeMounts:
- name: credentials
mountPath: /root/.docker
readOnly: true
- labels:
preset-quay-credentials: "true"
volumes:
- name: credentials
secret:
secretName: quay-docker-config
volumeMounts:
- name: credentials
mountPath: /home/prow/.docker
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:
preset-snyk-token: "true"
env:
- name: SNYK_TOKEN
valueFrom:
secretKeyRef:
name: snyk-api-token
key: token
- labels:
preset-golang-junit: "true"
env:
- name: GOLANG_JUNIT
value: "true"
# Istio set this inside their CI builder image and their scripts rely on this
# We must add it to all jobs for Istio
- labels:
preset-ci-env: "true"
env:
- name: CI
value: prow
kind: ConfigMap
metadata:
creationTimestamp: null
name: config
namespace: default