blob: cad61a1481746fa33c1bd5b97e3c1f8987dddefa [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
Kailash Khalasi417d13f2018-04-17 12:38:48 -070016
17- job-template:
Kailash Khalasie3b91482018-10-11 08:31:29 -070018 name: 'build_{profile}_{config-pod}_{branch}_manual'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070019 id: build_pod_manual
20 description: |
21 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070022 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070023 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
24 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
25 Copyright (c) 2018 Open Networking Foundation (ONF)
26
27 <<: *test-pipe-job-boiler-plate
28
29 parameters:
30 - string:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -070031 name: TestNodeName
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070032 default: '{testvm}'
33 description: 'Jenkins node name of TestVM Node'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070034
35 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070036 name: cordRepoUrl
37 default: '{gerrit-server-url}'
38 description: 'The URL of the CORD Project repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070039
40 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070041 name: configBaseDir
42 default: 'pod-configs'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070043 description: 'The directory inside the POD configs repository'
44
45 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070046 name: configDeploymentDir
47 default: 'deployment-configs'
48 description: 'The deployment configs folder'
49
50 - string:
51 name: configKubernetesDir
52 default: 'kubernetes-configs'
53 description: 'The kubernetes config folder'
54
55 - string:
Kailash Khalasi619e6882018-09-13 13:15:37 -070056 name: configToscaDir
57 default: 'tosca-configs'
58 description: 'The tosca config folder'
59
60 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070061 name: configFileName
62 default: '{config-pod}'
63 description: 'The config file'
64
65 - string:
66 name: oltDebVersion
67 default: '{oltDebVersion}'
68 description: 'OLT Software version to install'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070069
70 - string:
71 name: branch
72 default: '{branch}'
73
Kailash Khalasi9559f362018-09-14 13:53:28 -070074 - string:
75 name: profile
76 default: '{profile}'
77 description: 'Profile in which this job installs'
78
Kailashdee47a02018-11-29 08:46:32 -080079 - string:
80 name: notificationEmail
81 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
82 description: ''
83
Kailash Khalasice9eaec2018-09-14 12:01:56 -070084 - bool:
85 name: configurePod
86 default: true
87 description: "Configure POD via TOSCA post build"
88
Kailashdee47a02018-11-29 08:46:32 -080089 - bool:
90 name: reinstallOlt
91 default: true
92 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070093
Matteo Scandolofe69a8c2018-11-27 11:50:06 -080094 - bool:
95 name: installBBSim
96 default: false
97 description: "Install the BBSim container"
98
99 - string:
100 name: onuNumber
101 default: '16'
102 description: "Onus per PonPort"
103
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700104 concurrent: true
105
106 pipeline-scm:
107 script-path: '{Jenkinsfile}'
108 scm:
109 - git:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -0700110 url: '{gerrit-server-url}/cord-tester'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700111 branches:
112 - '{branch}'
113
114- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700115 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700116 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700117 description: |
118 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700119 Nightly Kubernetes tests on {config-pod} <br /><br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700120 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
121 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
122 Copyright (c) 2017 Open Networking Foundation (ONF)
123
124 <<: *test-pipe-job-boiler-plate
125
126 parameters:
127 - string:
128 name: TestNodeName
129 default: '{testvm}'
130 description: 'Jenkins node name of TestVM Node'
131
132 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700133 name: cordRepoUrl
134 default: '{gerrit-server-url}'
135 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700136
137 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700138 name: configBaseDir
139 default: 'pod-configs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700140 description: 'The directory inside the POD configs repository'
141
142 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700143 name: configDeploymentDir
144 default: 'deployment-configs'
145 description: 'The deployment configs folder'
146
147 - string:
148 name: configKubernetesDir
149 default: 'kubernetes-configs'
150 description: 'The kubernetes config folder'
151
152 - string:
Kailash Khalasi619e6882018-09-13 13:15:37 -0700153 name: configToscaDir
154 default: 'tosca-configs'
155 description: 'The tosca config folder'
156
157 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700158 name: configFileName
159 default: '{config-pod}'
160 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700161
162 - string:
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700163 name: oltDebVersion
Kailash Khalasibd659412018-08-28 10:37:05 -0700164 default: '{oltDebVersion}'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700165 description: 'OLT Software version to install'
166
167 - string:
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700168 name: branch
169 default: '{branch}'
170
171 - string:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700172 name: profile
173 default: '{profile}'
174 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700175
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700176 - bool:
177 name: configurePod
178 default: true
179 description: "Configure POD via TOSCA post build"
180
Kailashdee47a02018-11-29 08:46:32 -0800181 - bool:
182 name: reinstallOlt
183 default: true
184 description: "Re-install olt software bringing up CORD"
185
186 - bool:
187 name: installBBSim
188 default: false
189 description: "Install the BBSim container"
190
191 - string:
192 name: onuNumber
193 default: '16'
194 description: "Onus per PonPort"
195
Kailash Khalasi9559f362018-09-14 13:53:28 -0700196 - string:
197 name: notificationEmail
198 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
199 description: ''
200
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700201 concurrent: true
202
203 pipeline-scm:
204 script-path: '{Jenkinsfile}'
205 scm:
206 - git:
207 url: '{gerrit-server-url}/cord-tester'
208 branches:
209 - '{branch}'
210
211 triggers:
212 - timed: |
213 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700214 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700215
216- job-template:
217 name: 'build_{profile}_{config-pod}_{branch}_test'
218 id: build_pod_test
219 description: |
220 <!-- Managed by Jenkins Job Builder -->
221 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
222 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
223 Created by Kailash Khalasi - kailash@opennetworking.org <br />
224 Copyright (c) 2017 Open Networking Foundation (ONF)
225
226 <<: *test-pipe-job-boiler-plate
227
228 parameters:
229 - string:
230 name: TestNodeName
231 default: '{testvm}'
232 description: 'Jenkins node name of TestVM Node'
233
234 - string:
235 name: cordRepoUrl
236 default: '{gerrit-server-url}'
237 description: 'The URL of the CORD Project repository'
238
239 - string:
240 name: configBaseDir
241 default: 'pod-configs'
242 description: 'The directory inside the POD configs repository'
243
244 - string:
245 name: configDeploymentDir
246 default: 'deployment-configs'
247 description: 'The deployment configs folder'
248
249 - string:
250 name: configKubernetesDir
251 default: 'kubernetes-configs'
252 description: 'The kubernetes config folder'
253
254 - string:
255 name: configToscaDir
256 default: 'tosca-configs'
257 description: 'The tosca config folder'
258
259 - string:
260 name: configFileName
261 default: '{config-pod}'
262 description: 'The config file'
263
264 - string:
265 name: branch
266 default: '{branch}'
267
268 - string:
269 name: notificationEmail
270 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
271 description: ''
272
273 concurrent: true
274
275 pipeline-scm:
276 script-path: '{Jenkinsfile}'
277 scm:
278 - git:
279 url: '{gerrit-server-url}/cord-tester'
280 branches:
281 - '{branch}'
282
283 triggers:
284 - reverse:
285 jobs: 'build_{profile}_{config-pod}_{branch}'
286 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800287
288- job-template:
289 name: 'build_{profile}_{config-pod}_{branch}_post_actions'
290 id: post_build_actions
291 description: |
292 <!-- Managed by Jenkins Job Builder -->
293 Post Actions on {config-pod} triggered by build_{config-pod}_{branch}. Service ofagent restart required <br /><br />
294 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
295 Created by Kailash Khalasi - kailash@opennetworking.org <br />
296 Copyright (c) 2017 Open Networking Foundation (ONF)
297
298 <<: *test-pipe-job-boiler-plate
299
300 parameters:
301 - string:
302 name: TestNodeName
303 default: '{testvm}'
304 description: 'Jenkins node name of TestVM Node'
305
306 - string:
307 name: cordRepoUrl
308 default: '{gerrit-server-url}'
309 description: 'The URL of the CORD Project repository'
310
311 - string:
312 name: configBaseDir
313 default: 'pod-configs'
314 description: 'The directory inside the POD configs repository'
315
316 - string:
317 name: configDeploymentDir
318 default: 'deployment-configs'
319 description: 'The deployment configs folder'
320
321 - string:
Kailashc7d9e4e2018-11-13 14:48:23 -0800322 name: configKubernetesDir
323 default: 'kubernetes-configs'
324 description: 'The kubernetes config folder'
325
326 - string:
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800327 name: configFileName
328 default: '{config-pod}'
329 description: 'The config file'
330
331 - string:
332 name: branch
333 default: '{branch}'
334
335 - string:
336 name: notificationEmail
337 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
338 description: ''
339
340 concurrent: true
341
342 pipeline-scm:
343 script-path: '{Jenkinsfile}'
344 scm:
345 - git:
346 url: '{gerrit-server-url}/cord-tester'
347 branches:
348 - '{branch}'
349
350 triggers:
351 - reverse:
352 jobs: 'build_{profile}_{config-pod}_{branch}'
353 result: 'failure'
Kailashd1963d12018-12-17 15:11:01 -0800354
355
356- job-template:
357 name: 'build_{config-pod}_seba_release_{release}'
358 id: build_pod_manual_release
359 description: |
360 <!-- Managed by Jenkins Job Builder -->
361 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
362 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
363 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
364 Copyright (c) 2018 Open Networking Foundation (ONF)
365
366 <<: *test-pipe-job-boiler-plate
367
368 parameters:
369 - string:
370 name: TestNodeName
371 default: '{testvm}'
372 description: 'Jenkins node name of TestVM Node'
373
374 - string:
375 name: cordRepoUrl
376 default: '{gerrit-server-url}'
377 description: 'The URL of the CORD Project repository'
378
379 - string:
380 name: configBaseDir
381 default: 'pod-configs'
382 description: 'The directory inside the POD configs repository'
383
384 - string:
385 name: configDeploymentDir
386 default: 'deployment-configs'
387 description: 'The deployment configs folder'
388
389 - string:
390 name: configKubernetesDir
391 default: 'kubernetes-configs'
392 description: 'The kubernetes config folder'
393
394 - string:
395 name: configToscaDir
396 default: 'tosca-configs'
397 description: 'The tosca config folder'
398
399 - string:
400 name: configFileName
401 default: '{config-pod}'
402 description: 'The config file'
403
404 - string:
405 name: oltDebVersion
406 default: '{oltDebVersion}'
407 description: 'OLT Software version to install'
408
409 - string:
410 name: branch
411 default: '{branch}'
412
413 - string:
414 name: notificationEmail
415 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
416 description: ''
417
418 - bool:
419 name: configurePod
420 default: true
421 description: "Configure POD via TOSCA post build"
422
423 - bool:
424 name: reinstallOlt
425 default: true
426 description: "Re-install olt software bringing up CORD"
427
428 - bool:
429 name: installBBSim
430 default: false
431 description: "Install the BBSim container"
432
433 - string:
434 name: onuNumber
435 default: '16'
436 description: "Onus per PonPort"
437
438 concurrent: true
439
440 pipeline-scm:
441 script-path: '{Jenkinsfile}'
442 scm:
443 - git:
444 url: '{gerrit-server-url}/cord-tester'
445 branches:
446 - '{branch}'
447
448- job-template:
449 name: 'build_{config-pod}_seba_release_{release}'
450 id: build_pod_release
451 description: |
452 <!-- Managed by Jenkins Job Builder -->
453 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
454 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
455 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
456 Copyright (c) 2018 Open Networking Foundation (ONF)
457
458 <<: *test-pipe-job-boiler-plate
459
460 parameters:
461 - string:
462 name: TestNodeName
463 default: '{testvm}'
464 description: 'Jenkins node name of TestVM Node'
465
466 - string:
467 name: cordRepoUrl
468 default: '{gerrit-server-url}'
469 description: 'The URL of the CORD Project repository'
470
471 - string:
472 name: configBaseDir
473 default: 'pod-configs'
474 description: 'The directory inside the POD configs repository'
475
476 - string:
477 name: configDeploymentDir
478 default: 'deployment-configs'
479 description: 'The deployment configs folder'
480
481 - string:
482 name: configKubernetesDir
483 default: 'kubernetes-configs'
484 description: 'The kubernetes config folder'
485
486 - string:
487 name: configToscaDir
488 default: 'tosca-configs'
489 description: 'The tosca config folder'
490
491 - string:
492 name: configFileName
493 default: '{config-pod}'
494 description: 'The config file'
495
496 - string:
497 name: oltDebVersion
498 default: '{oltDebVersion}'
499 description: 'OLT Software version to install'
500
501 - string:
502 name: branch
503 default: '{branch}'
504
505 - string:
506 name: notificationEmail
507 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
508 description: ''
509
510 - bool:
511 name: configurePod
512 default: true
513 description: "Configure POD via TOSCA post build"
514
515 - bool:
516 name: reinstallOlt
517 default: true
518 description: "Re-install olt software bringing up CORD"
519
520 - bool:
521 name: installBBSim
522 default: false
523 description: "Install the BBSim container"
524
525 - string:
526 name: onuNumber
527 default: '16'
528 description: "Onus per PonPort"
529
530 concurrent: true
531
532 pipeline-scm:
533 script-path: '{Jenkinsfile}'
534 scm:
535 - git:
536 url: '{gerrit-server-url}/cord-tester'
537 branches:
538 - '{branch}'
539
540 triggers:
541 - timed: |
542 TZ=America/Los_Angeles
543 H {time} * * *
544
545- job-template:
546 name: 'build_{config-pod}_seba_release_{release}_test'
547 id: build_pod_release_test
548 description: |
549 <!-- Managed by Jenkins Job Builder -->
550 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
551 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
552 Created by Kailash Khalasi - kailash@opennetworking.org <br />
553 Copyright (c) 2017 Open Networking Foundation (ONF)
554
555 <<: *test-pipe-job-boiler-plate
556
557 parameters:
558 - string:
559 name: TestNodeName
560 default: '{testvm}'
561 description: 'Jenkins node name of TestVM Node'
562
563 - string:
564 name: cordRepoUrl
565 default: '{gerrit-server-url}'
566 description: 'The URL of the CORD Project repository'
567
568 - string:
569 name: configBaseDir
570 default: 'pod-configs'
571 description: 'The directory inside the POD configs repository'
572
573 - string:
574 name: configDeploymentDir
575 default: 'deployment-configs'
576 description: 'The deployment configs folder'
577
578 - string:
579 name: configKubernetesDir
580 default: 'kubernetes-configs'
581 description: 'The kubernetes config folder'
582
583 - string:
584 name: configToscaDir
585 default: 'tosca-configs'
586 description: 'The tosca config folder'
587
588 - string:
589 name: configFileName
590 default: '{config-pod}'
591 description: 'The config file'
592
593 - string:
594 name: branch
595 default: '{branch}'
596
597 - string:
598 name: notificationEmail
599 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
600 description: ''
601
602 concurrent: true
603
604 pipeline-scm:
605 script-path: '{Jenkinsfile}'
606 scm:
607 - git:
608 url: '{gerrit-server-url}/cord-tester'
609 branches:
610 - '{branch}'
611
612 triggers:
613 - reverse:
614 jobs: 'build_{config-pod}_seba_release_{release}'
615 result: 'success'