blob: fda3ee1175739bd504e03aef6417b3d753114c66 [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:
Kailash876b9012019-03-13 13:22:34 -070075 name: helmRepoUrl
76 default: 'https://charts.opencord.org'
77 description: 'URL where helm-charts are published'
78
79 - string:
Kailash Khalasi9559f362018-09-14 13:53:28 -070080 name: profile
81 default: '{profile}'
82 description: 'Profile in which this job installs'
83
Kailashdee47a02018-11-29 08:46:32 -080084 - string:
85 name: notificationEmail
86 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
87 description: ''
88
Kailash Khalasice9eaec2018-09-14 12:01:56 -070089 - bool:
Matteo Scandolo38127362019-04-16 14:14:22 -070090 name: installMonitoringAndLogging
91 default: false
92 description: "Wether to install prometheus and Elk-stack"
93
94 - bool:
Kailash Khalasice9eaec2018-09-14 12:01:56 -070095 name: configurePod
96 default: true
97 description: "Configure POD via TOSCA post build"
98
Kailashdee47a02018-11-29 08:46:32 -080099 - bool:
100 name: reinstallOlt
101 default: true
102 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700103
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800104 - bool:
105 name: installBBSim
106 default: false
107 description: "Install the BBSim container"
108
109 - string:
110 name: onuNumber
111 default: '16'
112 description: "Onus per PonPort"
113
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700114 concurrent: true
115
116 pipeline-scm:
117 script-path: '{Jenkinsfile}'
118 scm:
119 - git:
Suchitra Vemuric2d8d902019-08-30 13:28:26 -0700120 url: '{gerrit-server-url}/{test-repo}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700121 branches:
122 - '{branch}'
123
124- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700125 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700126 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700127 description: |
128 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700129 Nightly Kubernetes tests on {config-pod} <br /><br />
Suchitra Vemuri917aa612019-09-23 19:35:31 -0700130 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700131 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
132 Copyright (c) 2017 Open Networking Foundation (ONF)
Kailash85b40372019-08-28 08:51:23 -0700133 disabled: false
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700134
135 <<: *test-pipe-job-boiler-plate
136
137 parameters:
138 - string:
139 name: TestNodeName
140 default: '{testvm}'
141 description: 'Jenkins node name of TestVM Node'
142
143 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700144 name: cordRepoUrl
145 default: '{gerrit-server-url}'
146 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700147
148 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700149 name: configBaseDir
150 default: 'pod-configs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700151 description: 'The directory inside the POD configs repository'
152
153 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700154 name: configDeploymentDir
155 default: 'deployment-configs'
156 description: 'The deployment configs folder'
157
158 - string:
159 name: configKubernetesDir
160 default: 'kubernetes-configs'
161 description: 'The kubernetes config folder'
162
163 - string:
Kailash Khalasi619e6882018-09-13 13:15:37 -0700164 name: configToscaDir
165 default: 'tosca-configs'
166 description: 'The tosca config folder'
167
168 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700169 name: configFileName
170 default: '{config-pod}'
171 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700172
173 - string:
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700174 name: oltDebVersion
Kailash Khalasibd659412018-08-28 10:37:05 -0700175 default: '{oltDebVersion}'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700176 description: 'OLT Software version to install'
177
178 - string:
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700179 name: branch
180 default: '{branch}'
181
182 - string:
Kailash4c745a12019-03-15 11:32:07 -0700183 name: helmRepoUrl
184 default: 'https://charts.opencord.org'
185 description: 'URL where helm-charts are published'
186
187 - string:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700188 name: profile
189 default: '{profile}'
190 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700191
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700192 - bool:
193 name: configurePod
194 default: true
195 description: "Configure POD via TOSCA post build"
196
Kailashdee47a02018-11-29 08:46:32 -0800197 - bool:
198 name: reinstallOlt
199 default: true
200 description: "Re-install olt software bringing up CORD"
201
202 - bool:
203 name: installBBSim
204 default: false
205 description: "Install the BBSim container"
206
207 - string:
208 name: onuNumber
209 default: '16'
210 description: "Onus per PonPort"
211
Kailash Khalasi9559f362018-09-14 13:53:28 -0700212 - string:
213 name: notificationEmail
214 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
215 description: ''
216
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700217 concurrent: true
218
219 pipeline-scm:
220 script-path: '{Jenkinsfile}'
221 scm:
222 - git:
Suchitra Vemuri07242c92019-09-24 13:35:57 -0700223 url: '{gerrit-server-url}/{test-repo}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700224 branches:
225 - '{branch}'
226
227 triggers:
228 - timed: |
229 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700230 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700231
232- job-template:
233 name: 'build_{profile}_{config-pod}_{branch}_test'
234 id: build_pod_test
235 description: |
236 <!-- Managed by Jenkins Job Builder -->
237 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
238 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
239 Created by Kailash Khalasi - kailash@opennetworking.org <br />
240 Copyright (c) 2017 Open Networking Foundation (ONF)
241
242 <<: *test-pipe-job-boiler-plate
243
244 parameters:
245 - string:
246 name: TestNodeName
247 default: '{testvm}'
248 description: 'Jenkins node name of TestVM Node'
249
250 - string:
251 name: cordRepoUrl
252 default: '{gerrit-server-url}'
253 description: 'The URL of the CORD Project repository'
254
255 - string:
256 name: configBaseDir
257 default: 'pod-configs'
258 description: 'The directory inside the POD configs repository'
259
260 - string:
261 name: configDeploymentDir
262 default: 'deployment-configs'
263 description: 'The deployment configs folder'
264
265 - string:
266 name: configKubernetesDir
267 default: 'kubernetes-configs'
268 description: 'The kubernetes config folder'
269
270 - string:
271 name: configToscaDir
272 default: 'tosca-configs'
273 description: 'The tosca config folder'
274
275 - string:
276 name: configFileName
277 default: '{config-pod}'
278 description: 'The config file'
279
280 - string:
281 name: branch
282 default: '{branch}'
283
284 - string:
285 name: notificationEmail
286 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
287 description: ''
288
289 concurrent: true
290
291 pipeline-scm:
292 script-path: '{Jenkinsfile}'
293 scm:
294 - git:
Suchitra Vemuridb39b392019-08-30 16:58:58 -0700295 url: '{gerrit-server-url}/{test-repo}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700296 branches:
297 - '{branch}'
298
299 triggers:
300 - reverse:
301 jobs: 'build_{profile}_{config-pod}_{branch}'
302 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800303
304- job-template:
305 name: 'build_{profile}_{config-pod}_{branch}_post_actions'
306 id: post_build_actions
307 description: |
308 <!-- Managed by Jenkins Job Builder -->
309 Post Actions on {config-pod} triggered by build_{config-pod}_{branch}. Service ofagent restart required <br /><br />
310 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
311 Created by Kailash Khalasi - kailash@opennetworking.org <br />
312 Copyright (c) 2017 Open Networking Foundation (ONF)
313
314 <<: *test-pipe-job-boiler-plate
315
316 parameters:
317 - string:
318 name: TestNodeName
319 default: '{testvm}'
320 description: 'Jenkins node name of TestVM Node'
321
322 - string:
323 name: cordRepoUrl
324 default: '{gerrit-server-url}'
325 description: 'The URL of the CORD Project repository'
326
327 - string:
328 name: configBaseDir
329 default: 'pod-configs'
330 description: 'The directory inside the POD configs repository'
331
332 - string:
333 name: configDeploymentDir
334 default: 'deployment-configs'
335 description: 'The deployment configs folder'
336
337 - string:
Kailashc7d9e4e2018-11-13 14:48:23 -0800338 name: configKubernetesDir
339 default: 'kubernetes-configs'
340 description: 'The kubernetes config folder'
341
342 - string:
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800343 name: configFileName
344 default: '{config-pod}'
345 description: 'The config file'
346
347 - string:
348 name: branch
349 default: '{branch}'
350
351 - string:
352 name: notificationEmail
353 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
354 description: ''
355
356 concurrent: true
357
358 pipeline-scm:
359 script-path: '{Jenkinsfile}'
360 scm:
361 - git:
362 url: '{gerrit-server-url}/cord-tester'
363 branches:
364 - '{branch}'
365
366 triggers:
367 - reverse:
368 jobs: 'build_{profile}_{config-pod}_{branch}'
369 result: 'failure'
Kailashd1963d12018-12-17 15:11:01 -0800370
Kailashd1963d12018-12-17 15:11:01 -0800371- job-template:
372 name: 'build_{config-pod}_seba_release_{release}'
373 id: build_pod_manual_release
374 description: |
375 <!-- Managed by Jenkins Job Builder -->
376 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
377 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
378 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
379 Copyright (c) 2018 Open Networking Foundation (ONF)
380
381 <<: *test-pipe-job-boiler-plate
382
383 parameters:
384 - string:
385 name: TestNodeName
386 default: '{testvm}'
387 description: 'Jenkins node name of TestVM Node'
388
389 - string:
390 name: cordRepoUrl
391 default: '{gerrit-server-url}'
392 description: 'The URL of the CORD Project repository'
393
394 - string:
395 name: configBaseDir
396 default: 'pod-configs'
397 description: 'The directory inside the POD configs repository'
398
399 - string:
400 name: configDeploymentDir
401 default: 'deployment-configs'
402 description: 'The deployment configs folder'
403
404 - string:
405 name: configKubernetesDir
406 default: 'kubernetes-configs'
407 description: 'The kubernetes config folder'
408
409 - string:
410 name: configToscaDir
411 default: 'tosca-configs'
412 description: 'The tosca config folder'
413
414 - string:
415 name: configFileName
416 default: '{config-pod}'
417 description: 'The config file'
418
419 - string:
420 name: oltDebVersion
421 default: '{oltDebVersion}'
422 description: 'OLT Software version to install'
423
424 - string:
425 name: branch
426 default: '{branch}'
427
428 - string:
429 name: notificationEmail
430 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
431 description: ''
432
433 - bool:
434 name: configurePod
435 default: true
436 description: "Configure POD via TOSCA post build"
437
438 - bool:
439 name: reinstallOlt
440 default: true
441 description: "Re-install olt software bringing up CORD"
442
443 - bool:
444 name: installBBSim
445 default: false
446 description: "Install the BBSim container"
447
448 - string:
449 name: onuNumber
450 default: '16'
451 description: "Onus per PonPort"
452
453 concurrent: true
454
455 pipeline-scm:
456 script-path: '{Jenkinsfile}'
457 scm:
458 - git:
459 url: '{gerrit-server-url}/cord-tester'
460 branches:
461 - '{branch}'
462
463- job-template:
464 name: 'build_{config-pod}_seba_release_{release}'
465 id: build_pod_release
466 description: |
467 <!-- Managed by Jenkins Job Builder -->
468 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
469 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
470 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
471 Copyright (c) 2018 Open Networking Foundation (ONF)
472
473 <<: *test-pipe-job-boiler-plate
474
475 parameters:
476 - string:
477 name: TestNodeName
478 default: '{testvm}'
479 description: 'Jenkins node name of TestVM Node'
480
481 - string:
482 name: cordRepoUrl
483 default: '{gerrit-server-url}'
484 description: 'The URL of the CORD Project repository'
485
486 - string:
487 name: configBaseDir
488 default: 'pod-configs'
489 description: 'The directory inside the POD configs repository'
490
491 - string:
492 name: configDeploymentDir
493 default: 'deployment-configs'
494 description: 'The deployment configs folder'
495
496 - string:
497 name: configKubernetesDir
498 default: 'kubernetes-configs'
499 description: 'The kubernetes config folder'
500
501 - string:
502 name: configToscaDir
503 default: 'tosca-configs'
504 description: 'The tosca config folder'
505
506 - string:
507 name: configFileName
508 default: '{config-pod}'
509 description: 'The config file'
510
511 - string:
512 name: oltDebVersion
513 default: '{oltDebVersion}'
514 description: 'OLT Software version to install'
515
516 - string:
Kailash5f1dd1b2019-07-10 10:57:32 -0700517 name: helmRepoUrl
518 default: 'https://charts.opencord.org'
519 description: 'URL where helm-charts are published'
520
521 - string:
Kailashd1963d12018-12-17 15:11:01 -0800522 name: branch
523 default: '{branch}'
524
525 - string:
526 name: notificationEmail
527 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
528 description: ''
529
530 - bool:
531 name: configurePod
532 default: true
533 description: "Configure POD via TOSCA post build"
534
535 - bool:
536 name: reinstallOlt
537 default: true
538 description: "Re-install olt software bringing up CORD"
539
540 - bool:
541 name: installBBSim
542 default: false
543 description: "Install the BBSim container"
544
545 - string:
546 name: onuNumber
547 default: '16'
548 description: "Onus per PonPort"
549
550 concurrent: true
551
552 pipeline-scm:
553 script-path: '{Jenkinsfile}'
554 scm:
555 - git:
556 url: '{gerrit-server-url}/cord-tester'
557 branches:
558 - '{branch}'
559
560 triggers:
561 - timed: |
562 TZ=America/Los_Angeles
563 H {time} * * *
564
565- job-template:
566 name: 'build_{config-pod}_seba_release_{release}_test'
567 id: build_pod_release_test
568 description: |
569 <!-- Managed by Jenkins Job Builder -->
570 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
571 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
572 Created by Kailash Khalasi - kailash@opennetworking.org <br />
573 Copyright (c) 2017 Open Networking Foundation (ONF)
574
575 <<: *test-pipe-job-boiler-plate
576
577 parameters:
578 - string:
579 name: TestNodeName
580 default: '{testvm}'
581 description: 'Jenkins node name of TestVM Node'
582
583 - string:
584 name: cordRepoUrl
585 default: '{gerrit-server-url}'
586 description: 'The URL of the CORD Project repository'
587
588 - string:
589 name: configBaseDir
590 default: 'pod-configs'
591 description: 'The directory inside the POD configs repository'
592
593 - string:
594 name: configDeploymentDir
595 default: 'deployment-configs'
596 description: 'The deployment configs folder'
597
598 - string:
599 name: configKubernetesDir
600 default: 'kubernetes-configs'
601 description: 'The kubernetes config folder'
602
603 - string:
604 name: configToscaDir
605 default: 'tosca-configs'
606 description: 'The tosca config folder'
607
608 - string:
609 name: configFileName
610 default: '{config-pod}'
611 description: 'The config file'
612
613 - string:
614 name: branch
615 default: '{branch}'
616
617 - string:
618 name: notificationEmail
619 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
620 description: ''
621
622 concurrent: true
623
624 pipeline-scm:
625 script-path: '{Jenkinsfile}'
626 scm:
627 - git:
628 url: '{gerrit-server-url}/cord-tester'
629 branches:
630 - '{branch}'
631
632 triggers:
633 - reverse:
634 jobs: 'build_{config-pod}_seba_release_{release}'
635 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800636
637
638- job-template:
639 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
640 id: build_pod_release_test_microcharts
641 description: |
642 <!-- Managed by Jenkins Job Builder -->
643 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
644 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
645 Created by Kailash Khalasi - kailash@opennetworking.org <br />
646 Copyright (c) 2017 Open Networking Foundation (ONF)
647
648 <<: *test-pipe-job-boiler-plate
649
650 parameters:
651 - string:
652 name: TestNodeName
653 default: '{testvm}'
654 description: 'Jenkins node name of TestVM Node'
655
656 - string:
657 name: cordRepoUrl
658 default: '{gerrit-server-url}'
659 description: 'The URL of the CORD Project repository'
660
661 - string:
662 name: configBaseDir
663 default: 'pod-configs'
664 description: 'The directory inside the POD configs repository'
665
666 - string:
667 name: configDeploymentDir
668 default: 'deployment-configs'
669 description: 'The deployment configs folder'
670
671 - string:
672 name: configKubernetesDir
673 default: 'kubernetes-configs'
674 description: 'The kubernetes config folder'
675
676 - string:
677 name: configToscaDir
678 default: 'tosca-configs'
679 description: 'The tosca config folder'
680
681 - string:
682 name: configFileName
683 default: '{config-pod}'
684 description: 'The config file'
685
686 - string:
687 name: branch
688 default: '{branch}'
689
690 - string:
691 name: notificationEmail
692 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
693 description: ''
694
695 concurrent: true
696
697 pipeline-scm:
698 script-path: '{Jenkinsfile}'
699 scm:
700 - git:
701 url: '{gerrit-server-url}/cord-tester'
702 branches:
703 - '{branch}'
704
705 triggers:
706 - reverse:
707 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
708 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800709
710
711- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800712 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800713 id: build_mcord_pod_manual
714 description: |
715 <!-- Managed by Jenkins Job Builder -->
716 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
717 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
718 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
719 Copyright (c) 2019 Open Networking Foundation (ONF)
720
721 <<: *test-pipe-job-boiler-plate
722
723 parameters:
724 - string:
725 name: TestNodeName
726 default: '{testvm}'
727 description: 'Jenkins node name of TestVM Node'
728
729 - string:
730 name: cordRepoUrl
731 default: '{gerrit-server-url}'
732 description: 'The URL of the CORD Project repository'
733
734 - string:
735 name: configBaseDir
736 default: 'pod-configs'
737 description: 'The directory inside the POD configs repository'
738
739 - string:
740 name: configDeploymentDir
741 default: 'deployment-configs'
742 description: 'The deployment configs folder'
743
744 - string:
745 name: configKubernetesDir
746 default: 'kubernetes-configs'
747 description: 'The kubernetes config folder'
748
749 - string:
750 name: configToscaDir
751 default: 'tosca-configs'
752 description: 'The tosca config folder'
753
754 - string:
755 name: configFileName
756 default: '{config-pod}'
757 description: 'The config file'
758
759 - string:
760 name: branch
761 default: '{branch}'
762
763 - string:
764 name: profile
765 default: '{profile}'
766 description: 'Profile in which this job installs'
767
768 - string:
769 name: notificationEmail
770 default: 'luca@opennetworking.org, teo@opennetworking.org, weiyu@opennetworking.org'
771 description: ''
772
773 - bool:
774 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800775 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800776 description: "Configure POD via TOSCA post build"
777
Matteo Scandoloa6791892019-01-25 15:46:03 -0800778 - bool:
779 name: installEpcControlPlane
780 default: true
781 description: "Install the EPC control plane"
782
Kailashc8c05d52019-01-15 20:01:11 -0800783 concurrent: true
784
785 pipeline-scm:
786 script-path: '{Jenkinsfile}'
787 scm:
788 - git:
789 url: '{gerrit-server-url}/cord-tester'
790 branches:
791 - '{branch}'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700792
793- job-template:
794 name: 'build_{config-pod}_voltha_{release}'
795 id: build_voltha_pod_release
796 description: |
797 <!-- Managed by Jenkins Job Builder -->
798 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
799 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
800 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
801 Copyright (c) 2018 Open Networking Foundation (ONF)
802
803 <<: *test-pipe-job-boiler-plate
804
805 parameters:
806 - string:
807 name: TestNodeName
808 default: '{testvm}'
809 description: 'Jenkins node name of TestVM Node'
810
811 - string:
812 name: cordRepoUrl
813 default: '{gerrit-server-url}'
814 description: 'The URL of the CORD Project repository'
815
816 - string:
817 name: configBaseDir
818 default: 'pod-configs'
819 description: 'The directory inside the POD configs repository'
820
821 - string:
822 name: configDeploymentDir
823 default: 'deployment-configs'
824 description: 'The deployment configs folder'
825
826 - string:
827 name: configKubernetesDir
828 default: 'kubernetes-configs'
829 description: 'The kubernetes config folder'
830
831 - string:
832 name: configToscaDir
833 default: 'tosca-configs'
834 description: 'The tosca config folder'
835
836 - string:
837 name: configFileName
838 default: '{config-pod}'
839 description: 'The config file'
840
841 - string:
842 name: oltDebVersion
843 default: '{oltDebVersion}'
844 description: 'OLT Software version to install'
845
846 - string:
847 name: helmRepoUrl
848 default: 'https://charts.opencord.org'
849 description: 'URL where helm-charts are published'
850
851 - string:
852 name: branch
853 default: '{branch}'
854
855 - string:
856 name: notificationEmail
857 default: 'you@opennetworking.org, suchitra@opennetworking.org'
858 description: ''
859
860 - bool:
861 name: configurePod
862 default: true
863 description: "Configure POD via TOSCA post build"
864
865 - bool:
866 name: reinstallOlt
867 default: true
868 description: "Re-install olt software bringing up CORD"
869
870 concurrent: true
871
872 pipeline-scm:
873 script-path: '{Jenkinsfile}'
874 scm:
875 - git:
876 url: '{gerrit-server-url}/voltha-system-tests'
877 branches:
878 - '{branch}'
879
880 triggers:
881 - timed: |
882 TZ=America/Los_Angeles
883 H {time} * * *
884
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700885- job-template:
886 name: 'build_{config-pod}_voltha_{release}_test'
887 id: build_voltha_pod_test
888 description: |
889 <!-- Managed by Jenkins Job Builder -->
890 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
891 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
892 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
893 Copyright (c) 2017 Open Networking Foundation (ONF)
894
895 <<: *test-pipe-job-boiler-plate
896
897 parameters:
898 - string:
899 name: TestNodeName
900 default: '{testvm}'
901 description: 'Jenkins node name of TestVM Node'
902
903 - string:
904 name: cordRepoUrl
905 default: '{gerrit-server-url}'
906 description: 'The URL of the CORD Project repository'
907
908 - string:
909 name: configBaseDir
910 default: 'pod-configs'
911 description: 'The directory inside the POD configs repository'
912
913 - string:
914 name: configDeploymentDir
915 default: 'deployment-configs'
916 description: 'The deployment configs folder'
917
918 - string:
919 name: configKubernetesDir
920 default: 'kubernetes-configs'
921 description: 'The kubernetes config folder'
922
923 - string:
924 name: configToscaDir
925 default: 'tosca-configs'
926 description: 'The tosca config folder'
927
928 - string:
929 name: configFileName
930 default: '{config-pod}'
931 description: 'The config file'
932
933 - string:
934 name: branch
935 default: '{branch}'
936
937 - string:
938 name: notificationEmail
939 default: 'you@opennetworking.org, suchitra@opennetworking.org'
940 description: ''
941
942 concurrent: true
943
944 pipeline-scm:
945 script-path: '{Jenkinsfile}'
946 scm:
947 - git:
948 url: '{gerrit-server-url}/voltha-system-tests'
949 branches:
950 - '{branch}'
951
952 triggers:
953 - reverse:
954 jobs: 'build_{config-pod}_voltha_{release}'
955 result: 'success'
956