blob: 2516c9fa55ecb026e7cc43273385c84311b84acc [file] [log] [blame]
Kailash Khalasi417d13f2018-04-17 12:38:48 -07001---
2# POD Nightly Build Pipeline Jobs
3
4- test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate
5 name: test-pipe-job-boiler-plate
6
7 project-type: pipeline
8
9 sandbox: true
10
11 properties:
12 - cord-infra-properties:
13 build-days-to-keep: '{build-days-to-keep}'
14 artifact-num-to-keep: '{artifact-num-to-keep}'
15
16- job-template:
17 name: 'build_{profile}_{pod}_{branch}'
18 id: build_pod_first
19 description: |
20 <!-- Managed by Jenkins Job Builder -->
21 Nightly Physical POD Builds at {pod} using {pod_config} <br /><br />
22 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
23 Created by Kailash Khalasi - kailash@opennetworking.org <br />
24 Copyright (c) 2017 Open Networking Foundation (ONF)
25
26 <<: *test-pipe-job-boiler-plate
27
28 parameters:
29 - string:
30 name: devNodeName
31 default: '{pod}'
32 description: 'Jenkins node name of Dev Node'
33
34 - string:
35 name: configRepoUrl
36 default: 'https://gerrit.opencord.org/pod-configs'
37 description: 'The URL of the POD configs repository'
38
39 - string:
40 name: configRepoBaseDir
41 default: 'pod-configs/'
42 description: 'The directory inside the POD configs repository'
43
44 - string:
45 name: configRepoFile
46 default: 'deployment-configs/{pod_config}'
47 description: 'The deployment config file'
48
49 - string:
50 name: branch
51 default: '{branch}'
52
53 - string:
54 name: notificationEmail
55 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
56 description: ''
57
58 concurrent: true
59
60 pipeline-scm:
61 script-path: '{Jenkinsfile}'
62 scm:
63 - git:
64 url: '{gerrit-server-url}/cord'
65 branches:
66 - '{branch}'
67
68 triggers:
69 - timed: |
70 TZ=America/Los_Angeles
71 H {time} * * *
72
73
74- job-template:
75 name: 'build_{profile}_{pod}_{branch}'
76 id: build_pod
77 description: |
78 <!-- Managed by Jenkins Job Builder -->
79 Nightly Physical POD Builds at {pod} using {pod_config} <br /><br />
80 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
81 Created by Kailash Khalasi - kailash@opennetworking.org <br />
82 Copyright (c) 2017 Open Networking Foundation (ONF)
83
84 <<: *test-pipe-job-boiler-plate
85
86 parameters:
87 - string:
88 name: devNodeName
89 default: '{pod}'
90 description: 'Jenkins node name of Dev Node'
91
92 - string:
93 name: configRepoUrl
94 default: 'https://gerrit.opencord.org/pod-configs'
95 description: 'The URL of the POD configs repository'
96
97 - string:
98 name: configRepoBaseDir
99 default: 'pod-configs/'
100 description: 'The directory inside the POD configs repository'
101
102 - string:
103 name: configRepoFile
104 default: 'deployment-configs/{pod_config}'
105 description: 'The deployment config file'
106
107 - string:
108 name: branch
109 default: '{branch}'
110
111 - string:
112 name: notificationEmail
113 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
114 description: ''
115
116 concurrent: true
117
118 pipeline-scm:
119 script-path: '{Jenkinsfile}'
120 scm:
121 - git:
122 url: '{gerrit-server-url}/cord'
123 branches:
124 - '{branch}'
125
126 triggers:
127 - reverse:
128 jobs: 'build_{profile}_{pod}_{fromBranch}_test'
129 result: 'failure'
130
131
132- job-template:
133 name: 'build_{profile}_{pod}_{branch}_test'
134 id: build_pod_test
135 description: |
136 <!-- Managed by Jenkins Job Builder -->
137 Post Tests on {pod} triggered by build_{pod}_{branch} <br /><br />
138 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
139 Created by Kailash Khalasi - kailash@opennetworking.org <br />
140 Copyright (c) 2017 Open Networking Foundation (ONF)
141
142 branches: '{branch}'
143
144 <<: *test-pipe-job-boiler-plate
145
146 parameters:
147 - string:
148 name: devNodeName
149 default: '{pod}'
150 description: 'Jenkins node name of Dev Node'
151
152 - string:
153 name: configRepoUrl
154 default: 'https://gerrit.opencord.org/pod-configs'
155 description: 'The URL of the POD configs repository'
156
157 - string:
158 name: configRepoBaseDir
159 default: 'pod-configs/'
160 description: 'The directory inside the POD configs repository'
161
162 - string:
163 name: configRepoFile
164 default: 'deployment-configs/{pod_config}'
165 description: 'The deployment config file'
166
167 - string:
168 name: branch
169 default: '{branch}'
170
171 - string:
172 name: notificationEmail
173 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
174 description: ''
175
176 concurrent: true
177
178 pipeline-scm:
179 script-path: '{Jenkinsfile}'
180 scm:
181 - git:
182 url: '{gerrit-server-url}/cord-tester'
183 branches:
184 - '{branch}'
185
186 triggers:
187 - reverse:
188 jobs: 'build_{profile}_{pod}_{branch}'
189 result: 'failure'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700190
191- job-template:
Suchitra Vemuri85babd62018-05-09 11:58:29 -0700192 name: 'build_{profile}_{pod}_{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700193 id: build_pod_manual
194 description: |
195 <!-- Managed by Jenkins Job Builder -->
Suchitra Vemuri85babd62018-05-09 11:58:29 -0700196 Manual Build on POD {pod} using {pod_config} <br /><br />
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700197 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
198 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
199 Copyright (c) 2018 Open Networking Foundation (ONF)
200
201 <<: *test-pipe-job-boiler-plate
202
203 parameters:
204 - string:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -0700205 name: TestNodeName
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700206 default: '{pod}'
207 description: 'Jenkins node name of Dev Node'
208
209 - string:
210 name: configRepoUrl
211 default: 'https://gerrit.opencord.org/pod-configs'
212 description: 'The URL of the POD configs repository'
213
214 - string:
215 name: configRepoBaseDir
216 default: 'pod-configs/'
217 description: 'The directory inside the POD configs repository'
218
219 - string:
220 name: configRepoFile
221 default: 'deployment-configs/{pod_config}'
222 description: 'The deployment config file'
223
224 - string:
225 name: branch
226 default: '{branch}'
227
228 - string:
229 name: notificationEmail
230 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
231 description: ''
232
233 concurrent: true
234
235 pipeline-scm:
236 script-path: '{Jenkinsfile}'
237 scm:
238 - git:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -0700239 url: '{gerrit-server-url}/cord-tester'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700240 branches:
241 - '{branch}'
242
243- job-template:
244 name: 'build_{profile}_{pod}_{branch}_test'
245 id: build_pod_manual_test
246 description: |
247 <!-- Managed by Jenkins Job Builder -->
248 Post Tests on {pod} triggered by build_{pod}_{branch} <br /><br />
249 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
250 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org) <br />
251 Copyright (c) 2017 Open Networking Foundation (ONF)
252
253 branches: '{branch}'
254
255 <<: *test-pipe-job-boiler-plate
256
257 parameters:
258 - string:
259 name: devNodeName
260 default: '{pod}'
261 description: 'Jenkins node name of Dev Node'
262
263 - string:
264 name: configRepoUrl
265 default: 'https://gerrit.opencord.org/pod-configs'
266 description: 'The URL of the POD configs repository'
267
268 - string:
269 name: configRepoBaseDir
270 default: 'pod-configs/'
271 description: 'The directory inside the POD configs repository'
272
273 - string:
274 name: configRepoFile
275 default: 'deployment-configs/{pod_config}'
276 description: 'The deployment config file'
277
278 - string:
279 name: branch
280 default: '{branch}'
281
282 - string:
283 name: notificationEmail
284 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
285 description: ''
286
287 concurrent: true
288
289 pipeline-scm:
290 script-path: '{Jenkinsfile}'
291 scm:
292 - git:
293 url: '{gerrit-server-url}/cord-tester'
294 branches:
295 - '{branch}'
296
297 triggers:
298 - reverse:
299 jobs: 'build_{profile}_{pod}_manual_{branch}'
300 result: 'failure'
Suchitra Vemuri0416b392018-05-18 16:45:23 -0700301
302- job-template:
303 name: 'build_{profile}_{local_pod_name}_{branch}'
304 id: build_ecord_pod_manual
305 description: |
306 <!-- Managed by Jenkins Job Builder -->
307 Manual Build on ECORD POD {pod} using {pod_config} <br /><br />
308 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
309 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
310 Copyright (c) 2018 Open Networking Foundation (ONF)
311
312 <<: *test-pipe-job-boiler-plate
313
314 parameters:
315 - string:
316 name: devNodeName
317 default: '{pod}'
318 description: 'Jenkins node name of Dev Node'
319
320 - string:
321 name: configRepoUrl
322 default: 'https://gerrit.opencord.org/pod-configs'
323 description: 'The URL of the POD configs repository'
324
325 - string:
326 name: configRepoBaseDir
327 default: 'pod-configs/'
328 description: 'The directory inside the POD configs repository'
329
330 - string:
331 name: configRepoFile
332 default: 'deployment-configs/{pod_config}'
333 description: 'The deployment config file'
334
335 - string:
336 name: branch
337 default: '{branch}'
338
339 - string:
340 name: notificationEmail
341 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
342 description: ''
343
344 concurrent: true
345
346 pipeline-scm:
347 script-path: '{Jenkinsfile}'
348 scm:
349 - git:
350 url: '{gerrit-server-url}/cord'
351 branches:
352 - '{branch}'
353
354- job-template:
355 name: 'build_{profile}_{local_pod_name}_{branch}_test'
356 id: build_ecord_pod_manual_test
357 description: |
358 <!-- Managed by Jenkins Job Builder -->
359 Post Tests on {pod} triggered by build_{pod}_{branch} <br /><br />
360 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
361 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org) <br />
362 Copyright (c) 2017 Open Networking Foundation (ONF)
363
364 branches: '{branch}'
365
366 <<: *test-pipe-job-boiler-plate
367
368 parameters:
369 - string:
370 name: devNodeName
371 default: '{pod}'
372 description: 'Jenkins node name of Dev Node'
373
374 - string:
375 name: configRepoUrl
376 default: 'https://gerrit.opencord.org/pod-configs'
377 description: 'The URL of the POD configs repository'
378
379 - string:
380 name: configRepoBaseDir
381 default: 'pod-configs/'
382 description: 'The directory inside the POD configs repository'
383
384 - string:
385 name: configRepoFile
386 default: 'deployment-configs/{pod_config}'
387 description: 'The deployment config file'
388
389 - string:
390 name: branch
391 default: '{branch}'
392
393 - string:
394 name: notificationEmail
395 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
396 description: ''
397
398 concurrent: true
399
400 pipeline-scm:
401 script-path: '{Jenkinsfile}'
402 scm:
403 - git:
404 url: '{gerrit-server-url}/cord-tester'
405 branches:
406 - '{branch}'
407
408 triggers:
409 - reverse:
410 jobs: 'build_{profile}_{pod}_manual_{branch}'
411 result: 'failure'
Suchitra Vemuri6f81c812018-08-06 12:46:36 -0700412
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700413- job-template:
Suchitra Vemuri6f81c812018-08-06 12:46:36 -0700414 name: 'build_{profile}_{kube-pod}_{scenario}_{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700415 id: build_kube_pod_first
416 description: |
417 <!-- Managed by Jenkins Job Builder -->
418 Nightly Kubernetes tests on {kube-pod} <br /><br />
419 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
420 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
421 Copyright (c) 2017 Open Networking Foundation (ONF)
422
423 <<: *test-pipe-job-boiler-plate
424
425 parameters:
426 - string:
427 name: TestNodeName
428 default: '{testvm}'
429 description: 'Jenkins node name of TestVM Node'
430
431 - string:
432 name: configRepoUrl
433 default: 'https://gerrit.opencord.org/pod-configs'
434 description: 'The URL of the POD configs repository'
435
436 - string:
437 name: configRepoBaseDir
438 default: 'pod-configs/'
439 description: 'The directory inside the POD configs repository'
440
441 - string:
442 name: configRepoFile
443 default: 'kubernetes-configs/{kube-pod}.yml'
444 description: 'The kubernetes deployment config file'
445
446 - string:
447 name: branch
448 default: '{branch}'
449
450 - string:
451 name: notificationEmail
452 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
453 description: ''
454
455 concurrent: true
456
457 pipeline-scm:
458 script-path: '{Jenkinsfile}'
459 scm:
460 - git:
461 url: '{gerrit-server-url}/cord-tester'
462 branches:
463 - '{branch}'
464
465 triggers:
466 - timed: |
467 TZ=America/Los_Angeles
Suchitra Vemuri6f81c812018-08-06 12:46:36 -0700468 H {time} {day} * *