forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap-ci.yaml
236 lines (230 loc) · 7.93 KB
/
bootstrap-ci.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
- job-template:
builders:
- shell: |
# TODO(fejta): consider a stable tag instead of master
git clone https://github.com/kubernetes/test-infra -b master
'./test-infra/jenkins/bootstrap.py' \
--bare \
--job='{job-name}' \
--json \
--root="${{GOPATH}}/src/k8s.io" \
--service-account="${{GOOGLE_APPLICATION_CREDENTIALS}}" \
--timeout='{timeout}' \
--upload='gs://kubernetes-jenkins/logs'
disabled: false
name: 'ci-{suffix}'
node: 'e2e'
use-blocker: false
blocker: ''
properties:
- build-blocker:
use-build-blocker: '{use-blocker}'
blocking-jobs:
- '{blocker}'
queue-scanning: DISABLED
- build-discarder:
days-to-keep: 7
triggers:
- reverse:
jobs: '{trigger-job}'
result: success
- timed: '{frequency}'
wrappers:
- e2e-credentials-binding
- inject:
properties-content: |
GOROOT=/usr/local/go
GOPATH=$WORKSPACE/go
PATH=$PATH:$GOROOT/bin:$WORKSPACE/go/bin
- timeout:
timeout: '{jenkins-timeout}'
fail: true
- workspace-cleanup: # cleanup before the job starts, for clean build.
dirmatch: true
exclude:
- '**/.git/'
external-deletion-command: 'sudo rm -rf %s'
publishers:
- workspace-cleanup: # cleanup after job finishes, to not waste space.
dirmatch: true
exclude:
- '**/.git/'
external-deletion-command: 'sudo rm -rf %s'
- project:
jobs:
- 'ci-{suffix}'
name: bootstrap-ci
suffix:
# START AWS
- kubernetes-e2e-aws-release-1.5:
job-name: ci-kubernetes-e2e-aws-release-1.5
jenkins-timeout: 240
timeout: 140
frequency: '@daily'
trigger-job: 'ci-kubernetes-build-1.5'
- kubernetes-e2e-kops-aws: #zmerlynn
job-name: ci-kubernetes-e2e-kops-aws
jenkins-timeout: 240
timeout: 140
frequency: 'H/5 * * * *' # At least every 30m
trigger-job: 'ci-kubernetes-build'
- kubernetes-e2e-kops-aws-canary: #krzyzacy test against latest e2e image
job-name: ci-kubernetes-e2e-kops-aws-canary
jenkins-timeout: 240
timeout: 140
frequency: '@daily' # Once a day, can manually trigger too
trigger-job: 'ci-kubernetes-build'
- kubernetes-e2e-kops-aws-slow: #zmerlynn
job-name: ci-kubernetes-e2e-kops-aws-slow
jenkins-timeout: 270
timeout: 170
frequency: 'H/5 * * * *' # At least every 30m
trigger-job: 'ci-kubernetes-build'
- kubernetes-e2e-kops-aws-serial: #zmerlynn
job-name: ci-kubernetes-e2e-kops-aws-serial
jenkins-timeout: 420
timeout: 320
frequency: 'H/5 * * * *' # At least every 30m
trigger-job: 'ci-kubernetes-build'
- kubernetes-e2e-kops-aws-release-1.5: #justinsb
job-name: ci-kubernetes-e2e-kops-aws-release-1.5
jenkins-timeout: 240
timeout: 140
frequency: '@daily'
trigger-job: ''
- kubernetes-e2e-kops-aws-release-1.6: #justinsb
job-name: ci-kubernetes-e2e-kops-aws-release-1.6
jenkins-timeout: 240
timeout: 140
frequency: '@hourly'
trigger-job: ''
- kubernetes-e2e-kops-aws-release-1-7: #justinsb
job-name: ci-kubernetes-e2e-kops-aws-release-1-7
jenkins-timeout: 240
timeout: 140
frequency: '@hourly'
trigger-job: ''
- kubernetes-e2e-kops-aws-updown: #zmerlynn
job-name: ci-kubernetes-e2e-kops-aws-updown
jenkins-timeout: 150
timeout: 50
frequency: 'H/5 * * * *' # At least every 30m
trigger-job: 'ci-kubernetes-build'
- kubernetes-e2e-kops-aws-weave: #justinsb
job-name: ci-kubernetes-e2e-kops-aws-weave
jenkins-timeout: 240
timeout: 140
frequency: '@daily'
trigger-job: ''
# END AWS
# gce-manual-jobs #gmarek
- kubernetes-e2e-gce-enormous-cluster:
job-name: ci-kubernetes-e2e-gce-enormous-cluster
jenkins-timeout: 1600
timeout: 1500
frequency: '' #manual
trigger-job: ''
- kubernetes-e2e-gce-enormous-deploy:
job-name: ci-kubernetes-e2e-gce-enormous-deploy
jenkins-timeout: 420
timeout: 320
frequency: '' #manual
trigger-job: ''
- kubernetes-e2e-gce-enormous-teardown:
job-name: ci-kubernetes-e2e-gce-enormous-teardown
jenkins-timeout: 300
timeout: 200
frequency: '' #manual
trigger-job: ''
# gce scalability jobs
- kubernetes-e2e-gce-scalability-release-1-7:
job-name: ci-kubernetes-e2e-gce-scalability-release-1-7
jenkins-timeout: 240
timeout: 140
frequency: '@daily'
trigger-job: 'ci-kubernetes-build-1.7'
use-blocker: true
blocker: 'ci-kubernetes-e2e-gce-scalability-release-1-6'
- kubernetes-e2e-gce-scalability-release-1-6:
job-name: ci-kubernetes-e2e-gce-scalability-release-1-6
jenkins-timeout: 240
timeout: 140
frequency: '@daily'
trigger-job: 'ci-kubernetes-build-1.6'
use-blocker: true
blocker: 'ci-kubernetes-e2e-gce-scalability-release-1-7'
# gci-gce scalability jobs
- kubernetes-e2e-gci-gce-scalability-release-1-7:
job-name: ci-kubernetes-e2e-gci-gce-scalability-release-1-7
jenkins-timeout: 240
timeout: 140
frequency: '@daily'
trigger-job: 'ci-kubernetes-build-1.7'
use-blocker: true
blocker: 'ci-kubernetes-e2e-gci-gce-scalability-release-1-6'
- kubernetes-e2e-gci-gce-scalability-release-1-6:
job-name: ci-kubernetes-e2e-gci-gce-scalability-release-1-6
jenkins-timeout: 240
timeout: 140
frequency: '@daily'
trigger-job: 'ci-kubernetes-build-1.6'
use-blocker: true
blocker: 'ci-kubernetes-e2e-gci-gce-scalability-release-1-7'
# gke-large
- kubernetes-e2e-gke-large-cluster:
job-name: ci-kubernetes-e2e-gke-large-cluster
jenkins-timeout: 720
timeout: 620
# enable when we finish with manual testing for 1.7
frequency: '' #'0 17 * * *'
trigger-job: ''
- kubernetes-e2e-gke-large-deploy:
job-name: ci-kubernetes-e2e-gke-large-deploy
jenkins-timeout: 1320
timeout: 1220
frequency: '' #manual
trigger-job: ''
- kubernetes-e2e-gke-large-teardown:
job-name: ci-kubernetes-e2e-gke-large-teardown
jenkins-timeout: 300
timeout: 200
frequency: '' #manual
trigger-job: ''
# START KUBEMARK
- kubernetes-kubemark-5-gce:
job-name: ci-kubernetes-kubemark-5-gce
jenkins-timeout: 180
timeout: 80
frequency: 'H/5 * * * *' # At least every 30m
trigger-job: 'ci-kubernetes-build'
- kubernetes-kubemark-5-gce-1.5:
job-name: ci-kubernetes-kubemark-5-gce-1.5
jenkins-timeout: 180
timeout: 80
frequency: 'H/5 * * * *' # At least every 30m
trigger-job: 'ci-kubernetes-build-1.5'
- kubernetes-kubemark-100-gce:
job-name: ci-kubernetes-kubemark-100-gce
jenkins-timeout: 360
timeout: 260
frequency: 'H H/6 * * *'
trigger-job: 'ci-kubernetes-build'
- kubernetes-kubemark-high-density-100-gce:
job-name: ci-kubernetes-kubemark-high-density-100-gce
jenkins-timeout: 400
timeout: 300
frequency: 'H 20 * * 6'
trigger-job: 'ci-kubernetes-build'
- kubernetes-kubemark-500-gce:
job-name: ci-kubernetes-kubemark-500-gce
jenkins-timeout: 240
timeout: 140
frequency: 'H/5 * * * *' # At least every 30m
trigger-job: 'ci-kubernetes-build'
- kubernetes-kubemark-gce-scale:
job-name: ci-kubernetes-kubemark-gce-scale
jenkins-timeout: 1200
timeout: 1100
frequency: 'H H/12 * * *'
trigger-job: ''
# END KUBEMARK