Merge "Create Stable Branch Jobs for snaps"
[releng.git] / jjb / apex / apex.yml
1 ---
2 - project:
3     name: 'apex'
4     project: 'apex'
5     jobs:
6       - 'apex-runner-cperf-{stream}'
7       - 'apex-virtual-{stream}'
8       - 'apex-deploy-{platform}-{stream}'
9       - 'apex-daily-{stream}'
10       - 'apex-csit-promote-daily-{stream}'
11       - 'apex-fdio-promote-daily-{stream}'
12       - 'apex-{scenario}-baremetal-{scenario_stream}'
13       - 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
14       - 'apex-upload-snapshot'
15       - 'apex-create-snapshot'
16       - 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
17       - 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
18     # stream:    branch with - in place of / (eg. stable-arno)
19     # branch:    branch (eg. stable/arno)
20     stream:
21       - master: &master
22           branch: 'master'
23           gs-pathname: ''
24           build-slave: 'apex-build-master'
25           virtual-slave: 'apex-virtual-master'
26           baremetal-slave: 'apex-baremetal-master'
27           verify-scenario: 'os-odl-nofeature-ha'
28           scenario_stream: 'master'
29           disable_daily: false
30           disable_promote: false
31       - fraser: &fraser
32           branch: 'stable/fraser'
33           gs-pathname: '/fraser'
34           build-slave: 'apex-build-master'
35           virtual-slave: 'apex-virtual-master'
36           baremetal-slave: 'apex-baremetal-master'
37           verify-scenario: 'os-odl-nofeature-ha'
38           scenario_stream: 'fraser'
39           disable_daily: true
40           disable_promote: true
41       - euphrates: &euphrates
42           branch: 'stable/euphrates'
43           gs-pathname: '/euphrates'
44           build-slave: 'apex-build-master'
45           virtual-slave: 'apex-virtual-master'
46           baremetal-slave: 'apex-baremetal-master'
47           verify-scenario: 'os-odl-nofeature-ha'
48           scenario_stream: 'euphrates'
49           disable_daily: true
50           disable_promote: true
51       - danube: &danube
52           branch: 'stable/danube'
53           gs-pathname: '/danube'
54           build-slave: 'apex-build-danube'
55           virtual-slave: 'apex-virtual-danube'
56           baremetal-slave: 'apex-baremetal-danube'
57           verify-scenario: 'os-odl_l3-nofeature-ha'
58           scenario_stream: 'danube'
59           disabled: true
60           disable_daily: true
61           disable_promote: true
62
63     scenario:
64       - 'os-nosdn-nofeature-noha':
65           <<: *fraser
66       - 'os-nosdn-nofeature-ha':
67           <<: *fraser
68       - 'os-odl-nofeature-ha':
69           <<: *fraser
70       - 'os-odl-nofeature-noha':
71           <<: *fraser
72       - 'os-odl-bgpvpn-ha':
73           <<: *fraser
74       - 'os-ovn-nofeature-noha':
75           <<: *fraser
76       - 'os-nosdn-fdio-noha':
77           <<: *fraser
78       - 'os-nosdn-fdio-ha':
79           <<: *fraser
80       - 'os-nosdn-bar-ha':
81           <<: *fraser
82       - 'os-nosdn-bar-noha':
83           <<: *fraser
84       - 'os-nosdn-nofeature-ha-ipv6':
85           <<: *fraser
86       - 'os-nosdn-ovs_dpdk-noha':
87           <<: *fraser
88       - 'os-nosdn-ovs_dpdk-ha':
89           <<: *fraser
90       - 'os-nosdn-kvm_ovs_dpdk-noha':
91           <<: *fraser
92       - 'os-nosdn-kvm_ovs_dpdk-ha':
93           <<: *fraser
94       - 'os-odl-sfc-noha':
95           <<: *fraser
96       - 'os-odl-sfc-ha':
97           <<: *fraser
98       - 'os-nosdn-calipso-noha':
99           <<: *fraser
100       - 'os-nosdn-nofeature-noha':
101           <<: *danube
102       - 'os-nosdn-nofeature-ha':
103           <<: *danube
104       - 'os-nosdn-nofeature-ha-ipv6':
105           <<: *danube
106       - 'os-nosdn-ovs-noha':
107           <<: *danube
108       - 'os-nosdn-ovs-ha':
109           <<: *danube
110       - 'os-nosdn-fdio-noha':
111           <<: *danube
112       - 'os-nosdn-fdio-ha':
113           <<: *danube
114       - 'os-nosdn-kvm-ha':
115           <<: *danube
116       - 'os-nosdn-kvm-noha':
117           <<: *danube
118       - 'os-odl_l2-fdio-noha':
119           <<: *danube
120       - 'os-odl_l2-fdio-ha':
121           <<: *danube
122       - 'os-odl_netvirt-fdio-noha':
123           <<: *danube
124       - 'os-odl_l2-sfc-noha':
125           <<: *danube
126       - 'os-odl_l3-nofeature-noha':
127           <<: *danube
128       - 'os-odl_l3-nofeature-ha':
129           <<: *danube
130       - 'os-odl_l3-ovs-noha':
131           <<: *danube
132       - 'os-odl_l3-ovs-ha':
133           <<: *danube
134       - 'os-odl-bgpvpn-ha':
135           <<: *danube
136       - 'os-odl-gluon-noha':
137           <<: *danube
138       - 'os-odl_l3-fdio-noha':
139           <<: *danube
140       - 'os-odl_l3-fdio-ha':
141           <<: *danube
142       - 'os-odl_l3-fdio_dvr-noha':
143           <<: *danube
144       - 'os-odl_l3-fdio_dvr-ha':
145           <<: *danube
146       - 'os-odl_l3-csit-noha':
147           <<: *danube
148       - 'os-onos-nofeature-ha':
149           <<: *danube
150       - 'os-ovn-nofeature-noha':
151           <<: *danube
152       - 'os-nosdn-nofeature-noha':
153           <<: *master
154       - 'os-nosdn-nofeature-ha':
155           <<: *master
156       - 'os-odl-nofeature-ha':
157           <<: *master
158       - 'os-odl-nofeature-noha':
159           <<: *master
160       - 'os-odl-bgpvpn-ha':
161           <<: *master
162       - 'os-odl-bgpvpn-noha':
163           <<: *master
164       - 'os-odl-sriov-noha':
165           <<: *master
166       - 'os-odl-ovs_offload-noha':
167           <<: *master
168       - 'os-ovn-nofeature-noha':
169           <<: *master
170       - 'os-nosdn-fdio-noha':
171           <<: *master
172       - 'os-nosdn-fdio-ha':
173           <<: *master
174       - 'os-nosdn-bar-ha':
175           <<: *master
176       - 'os-nosdn-bar-noha':
177           <<: *master
178       - 'os-nosdn-ovs_dpdk-noha':
179           <<: *master
180       - 'os-nosdn-ovs_dpdk-ha':
181           <<: *master
182       - 'os-odl-ovs_dpdk-noha':
183           <<: *master
184       - 'os-odl-ovs_dpdk-ha':
185           <<: *master
186       - 'os-odl-sfc-noha':
187           <<: *master
188       - 'os-odl-sfc-ha':
189           <<: *master
190       - 'os-nosdn-calipso-noha':
191           <<: *master
192       - 'os-nosdn-nofeature-noha':
193           <<: *euphrates
194       - 'os-nosdn-nofeature-ha':
195           <<: *euphrates
196       - 'os-odl-nofeature-ha':
197           <<: *euphrates
198       - 'os-odl-nofeature-noha':
199           <<: *euphrates
200       - 'os-odl-bgpvpn-ha':
201           <<: *euphrates
202       - 'os-ovn-nofeature-noha':
203           <<: *euphrates
204       - 'os-nosdn-fdio-noha':
205           <<: *euphrates
206       - 'os-nosdn-fdio-ha':
207           <<: *euphrates
208       - 'os-nosdn-bar-ha':
209           <<: *euphrates
210       - 'os-nosdn-bar-noha':
211           <<: *euphrates
212       - 'os-nosdn-nofeature-ha-ipv6':
213           <<: *euphrates
214       - 'os-nosdn-ovs_dpdk-noha':
215           <<: *euphrates
216       - 'os-nosdn-ovs_dpdk-ha':
217           <<: *euphrates
218       - 'os-nosdn-kvm_ovs_dpdk-noha':
219           <<: *euphrates
220       - 'os-nosdn-kvm_ovs_dpdk-ha':
221           <<: *euphrates
222       - 'os-odl-sfc-noha':
223           <<: *euphrates
224       - 'os-odl-sfc-ha':
225           <<: *euphrates
226       - 'os-nosdn-calipso-noha':
227           <<: *euphrates
228
229     platform:
230       - 'baremetal'
231       - 'virtual'
232
233     os_version:
234       - 'pike'
235       - 'queens'
236       - 'master'
237
238
239 # Fetch Logs Job
240 - job-template:
241     name: 'apex-fetch-logs-{stream}'
242
243     concurrent: true
244
245     disabled: false
246     scm:
247       - git-scm-gerrit
248     parameters:
249       - '{project}-{platform}-{stream}-defaults'
250       - project-parameter:
251           project: '{project}'
252           branch: '{branch}'
253       - apex-parameter:
254           gs-pathname: '{gs-pathname}'
255     # yamllint enable rule:line-length
256     properties:
257       - logrotate-default
258       - throttle:
259           max-per-node: 1
260           max-total: 10
261           option: 'project'
262
263     builders:
264       - 'apex-fetch-logs'
265
266 - job-template:
267     name: 'apex-runner-cperf-{stream}'
268
269     # runner cperf job
270     project-type: 'multijob'
271     node: 'intel-pod2'
272
273     disabled: false
274
275     parameters:
276       - apex-parameter:
277           gs-pathname: '{gs-pathname}'
278       - project-parameter:
279           project: '{project}'
280           branch: '{branch}'
281       - string:
282           name: GIT_BASE
283           default: https://gerrit.opnfv.org/gerrit/$PROJECT
284           description: "Used for overriding the GIT URL coming from parameters macro."
285
286     scm:
287       - git-scm
288
289     properties:
290       - logrotate-default
291       - build-blocker:
292           use-build-blocker: false
293           block-level: 'NODE'
294           blocking-jobs:
295             - 'apex-deploy.*'
296       - throttle:
297           max-per-node: 1
298           max-total: 10
299           option: 'project'
300
301     builders:
302       - description-setter:
303           description: "Deployed on $NODE_NAME"
304       - multijob:
305           name: 'Baremetal Deploy'
306           condition: ALWAYS
307           projects:
308             - name: 'apex-deploy-baremetal-{stream}'
309               node-parameters: false
310               current-parameters: true
311               predefined-parameters: |
312                 GERRIT_BRANCH=$GERRIT_BRANCH
313                 GERRIT_REFSPEC=
314                 OPNFV_CLEAN=yes
315                 DEPLOY_SCENARIO={verify-scenario}
316               kill-phase-on: FAILURE
317               abort-all-job: true
318               git-revision: false
319       - multijob:
320           name: CPERF
321           condition: SUCCESSFUL
322           projects:
323             - name: 'cperf-apex-intel-pod2-daily-master'
324               node-parameters: true
325               current-parameters: false
326               predefined-parameters:
327                 DEPLOY_SCENARIO={verify-scenario}
328               kill-phase-on: NEVER
329               abort-all-job: false
330               git-revision: false
331
332 # Deploy job
333 - job-template:
334     name: 'apex-deploy-{platform}-{stream}'
335
336     concurrent: true
337
338     disabled: false
339     quiet-period: 30
340     scm:
341       - git-scm-gerrit
342
343     wrappers:
344       - timeout:
345           timeout: 140
346           fail: true
347
348     parameters:
349       - '{project}-{platform}-{stream}-defaults'
350       - project-parameter:
351           project: '{project}'
352           branch: '{branch}'
353       - apex-parameter:
354           gs-pathname: '{gs-pathname}'
355       - string:
356           name: DEPLOY_SCENARIO
357           default: '{verify-scenario}'
358           description: "Scenario to deploy with."
359       # yamllint disable rule:line-length
360       - string:
361           name: OPNFV_CLEAN
362           default: 'no'
363           description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
364
365     # yamllint enable rule:line-length
366     properties:
367       - logrotate-default
368       - build-blocker:
369           use-build-blocker: true
370           block-level: 'NODE'
371           blocking-jobs:
372             - 'apex-deploy.*'
373             - 'functest.*'
374             - 'yardstick.*'
375             - 'dovetail.*'
376             - 'storperf.*'
377       - throttle:
378           max-per-node: 1
379           max-total: 10
380           option: 'project'
381
382     builders:
383       - description-setter:
384           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
385       - 'apex-download-artifact'
386       - 'apex-deploy'
387       - 'clean-workspace'
388
389
390 # Virtual Deploy and Test
391 - job-template:
392     name: 'apex-virtual-{stream}'
393
394     project-type: 'multijob'
395
396     concurrent: true
397
398     disabled: false
399
400     scm:
401       - git-scm-gerrit
402
403     parameters:
404       - '{project}-defaults'
405       - '{project}-virtual-{stream}-defaults'
406       - project-parameter:
407           project: '{project}'
408           branch: '{branch}'
409       - apex-parameter:
410           gs-pathname: '{gs-pathname}'
411       - string:
412           name: DEPLOY_SCENARIO
413           default: '{verify-scenario}'
414           description: "Scenario to deploy with."
415       - string:
416           name: ARTIFACT_VERSION
417           default: dev
418           description: "Used for overriding the ARTIFACT_VERSION"
419
420     properties:
421       - logrotate-default
422       - build-blocker:
423           use-build-blocker: true
424           block-level: 'NODE'
425           blocking-jobs:
426             - 'apex-runner.*'
427             - 'apex-.*-promote.*'
428             - 'apex-run.*'
429             - 'apex-virtual-.*'
430             - 'apex-verify-gate-.*'
431       - throttle:
432           max-per-node: 1
433           max-total: 10
434           option: 'project'
435
436     builders:
437       - description-setter:
438           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
439       - multijob:
440           name: deploy-virtual
441           condition: SUCCESSFUL
442           projects:
443             - name: 'apex-deploy-virtual-{stream}'
444               current-parameters: false
445               predefined-parameters: |
446                 ARTIFACT_VERSION=$ARTIFACT_VERSION
447                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
448                 OPNFV_CLEAN=yes
449                 GERRIT_BRANCH=$GERRIT_BRANCH
450                 GERRIT_REFSPEC=$GERRIT_REFSPEC
451                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
452                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
453               node-parameters: true
454               kill-phase-on: FAILURE
455               abort-all-job: true
456               git-revision: true
457       - multijob:
458           name: functest-smoke
459           condition: SUCCESSFUL
460           projects:
461             - name: 'functest-apex-virtual-suite-{stream}'
462               current-parameters: false
463               predefined-parameters: |
464                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
465                 FUNCTEST_SUITE_NAME=healthcheck
466                 GERRIT_BRANCH=$GERRIT_BRANCH
467                 GERRIT_REFSPEC=$GERRIT_REFSPEC
468                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
469                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
470               node-parameters: true
471               kill-phase-on: NEVER
472               abort-all-job: true
473               git-revision: false
474       - multijob:
475           name: apex-fetch-logs
476           condition: ALWAYS
477           projects:
478             - name: 'apex-fetch-logs-{stream}'
479               current-parameters: false
480               predefined-parameters: |
481                 GERRIT_BRANCH=$GERRIT_BRANCH
482                 GERRIT_REFSPEC=$GERRIT_REFSPEC
483                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
484                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
485               node-parameters: true
486               kill-phase-on: NEVER
487               abort-all-job: true
488               git-revision: false
489
490 # Baremetal Deploy and Test
491 - job-template:
492     name: 'apex-{scenario}-baremetal-{scenario_stream}'
493
494     project-type: 'multijob'
495
496     disabled: false
497
498     scm:
499       - git-scm
500
501     parameters:
502       - '{project}-defaults'
503       - '{project}-baremetal-{scenario_stream}-defaults'
504       - project-parameter:
505           project: '{project}'
506           branch: '{branch}'
507       - apex-parameter:
508           gs-pathname: '{gs-pathname}'
509       - string:
510           name: DEPLOY_SCENARIO
511           default: '{scenario}'
512           description: "Scenario to deploy with."
513
514     properties:
515       - logrotate-default
516       - build-blocker:
517           use-build-blocker: true
518           block-level: 'NODE'
519           blocking-jobs:
520             - 'apex-verify.*'
521             - 'apex-runner.*'
522             - 'apex-.*-promote.*'
523             - 'apex-run.*'
524             - 'apex-.+-baremetal-.+'
525       - throttle:
526           max-per-node: 1
527           max-total: 10
528           option: 'project'
529
530     builders:
531       - description-setter:
532           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
533       - multijob:
534           name: 'Baremetal Deploy'
535           condition: SUCCESSFUL
536           projects:
537             - name: 'apex-deploy-baremetal-{scenario_stream}'
538               node-parameters: true
539               current-parameters: true
540               predefined-parameters: |
541                 OPNFV_CLEAN=yes
542                 GERRIT_BRANCH=$GERRIT_BRANCH
543                 GERRIT_REFSPEC=
544                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
545               kill-phase-on: FAILURE
546               abort-all-job: true
547               git-revision: false
548       - multijob:
549           name: 'OPNFV Test Suite'
550           projects:
551             - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
552               node-parameters: true
553               current-parameters: false
554               predefined-parameters:
555                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
556               kill-phase-on: NEVER
557               abort-all-job: true
558               git-revision: false
559       - multijob:
560           name: apex-fetch-logs
561           condition: ALWAYS
562           projects:
563             - name: 'apex-fetch-logs'
564               current-parameters: true
565               predefined-parameters: |
566                 GERRIT_BRANCH=$GERRIT_BRANCH
567                 GERRIT_REFSPEC=
568               node-parameters: true
569               kill-phase-on: NEVER
570               abort-all-job: true
571               git-revision: false
572     publishers:
573       - groovy-postbuild:
574           script:
575             !include-raw-escape: ./update-build-result.groovy
576
577 # Baremetal test job
578 - job-template:
579     name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
580
581     project-type: 'multijob'
582
583     disabled: false
584
585     parameters:
586       - '{project}-defaults'
587       - '{project}-baremetal-{scenario_stream}-defaults'
588       - project-parameter:
589           project: '{project}'
590           branch: '{branch}'
591       - apex-parameter:
592           gs-pathname: '{gs-pathname}'
593       - string:
594           name: DEPLOY_SCENARIO
595           default: '{scenario}'
596           description: "Scenario to deploy with."
597
598     properties:
599       - logrotate-default
600       - build-blocker:
601           use-build-blocker: true
602           block-level: 'NODE'
603           blocking-jobs:
604             - 'apex-verify.*'
605             - 'apex-runner.*'
606             - 'apex-.*-promote.*'
607             - 'apex-run.*'
608             - 'apex-testsuite-.+-baremetal-.+'
609       - throttle:
610           max-per-node: 1
611           max-total: 10
612           option: 'project'
613
614     builders:
615       - description-setter:
616           description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
617       - multijob:
618           name: Functest
619           condition: ALWAYS
620           projects:
621             - name: 'functest-apex-baremetal-daily-{scenario_stream}'
622               node-parameters: true
623               current-parameters: false
624               predefined-parameters:
625                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
626               kill-phase-on: NEVER
627               abort-all-job: false
628               git-revision: false
629       - multijob:
630           name: Yardstick
631           condition: ALWAYS
632           projects:
633             - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
634               node-parameters: true
635               current-parameters: false
636               predefined-parameters:
637                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
638               kill-phase-on: NEVER
639               abort-all-job: false
640               git-revision: false
641       - multijob:
642           name: Dovetail-proposed_tests
643           condition: ALWAYS
644           projects:
645             - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
646               node-parameters: true
647               current-parameters: false
648               predefined-parameters:
649                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
650               kill-phase-on: NEVER
651               enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/
652                                  && $BUILD_NUMBER % 2 == 1"
653               abort-all-job: false
654               git-revision: false
655       - multijob:
656           name: Dovetail-default
657           condition: ALWAYS
658           projects:
659             - name: 'dovetail-apex-baremetal-default-{scenario_stream}'
660               node-parameters: true
661               current-parameters: false
662               predefined-parameters:
663                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
664               kill-phase-on: NEVER
665               enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/
666                                  && $BUILD_NUMBER % 2 == 0"
667               abort-all-job: false
668               git-revision: false
669       - multijob:
670           name: StorPerf
671           condition: ALWAYS
672           projects:
673             - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
674               node-parameters: true
675               current-parameters: false
676               predefined-parameters:
677                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
678               enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
679               kill-phase-on: NEVER
680               abort-all-job: false
681               git-revision: false
682 # Build status is always success due conditional plugin prefetching
683 # build status before multijob phases execute
684 #        - conditional-step:
685 #            condition-kind: current-status
686 #            condition-worst: SUCCESS
687 #            condtion-best: SUCCESS
688 #            on-evaluation-failure: mark-unstable
689 #            steps:
690 #                - shell: 'echo "Tests Passed"'
691
692 - job-template:
693     name: 'apex-daily-{stream}'
694
695     # Job template for daily build
696     #
697     # Required Variables:
698     #     stream:    branch with - in place of / (eg. stable)
699     #     branch:    branch (eg. stable)
700     project-type: 'multijob'
701
702     disabled: '{obj:disable_daily}'
703
704     scm:
705       - git-scm
706
707     parameters:
708       - '{project}-defaults'
709       - '{project}-baremetal-{stream}-defaults'
710       - project-parameter:
711           project: '{project}'
712           branch: '{branch}'
713       - apex-parameter:
714           gs-pathname: '{gs-pathname}'
715
716     properties:
717       - logrotate-default
718       - build-blocker:
719           use-build-blocker: true
720           block-level: 'NODE'
721           blocking-jobs:
722             - 'apex-daily.*'
723
724     triggers:
725       - 'apex-{stream}'
726
727     builders:
728       - multijob:
729           name: build
730           condition: SUCCESSFUL
731           projects:
732             - name: 'apex-build-{stream}'
733               current-parameters: false
734               predefined-parameters: |
735                 GERRIT_BRANCH=$GERRIT_BRANCH
736                 GERRIT_REFSPEC=
737                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
738                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
739               node-parameters: true
740               kill-phase-on: FAILURE
741               abort-all-job: true
742               git-revision: true
743       - multijob:
744           name: 'Verify and upload ISO'
745           condition: SUCCESSFUL
746           projects:
747             - name: 'apex-verify-iso-{stream}'
748               current-parameters: false
749               predefined-parameters: |
750                 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
751                 GERRIT_BRANCH=$GERRIT_BRANCH
752                 GERRIT_REFSPEC=
753                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
754                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
755               node-parameters: true
756               kill-phase-on: FAILURE
757               abort-all-job: true
758               git-revision: true
759       - apex-builder-{stream}
760
761 # snapshot create
762 - job-template:
763     name: 'apex-create-snapshot'
764
765     # Job template for clean
766     #
767     # Required Variables:
768     #     stream:    branch with - in place of / (eg. stable)
769
770     disabled: false
771
772     builders:
773       - shell:
774           !include-raw-escape: ./apex-snapshot-create.sh
775
776 # snapshot upload
777 - job-template:
778     name: 'apex-upload-snapshot'
779
780     # Job template for clean
781     #
782     # Required Variables:
783     #     stream:    branch with - in place of / (eg. stable)
784
785     disabled: false
786
787     builders:
788       - inject:
789           properties-content: ARTIFACT_TYPE=snapshot
790       - 'apex-upload-artifact'
791
792 # CSIT promote
793 - job-template:
794     name: 'apex-csit-promote-daily-{stream}'
795
796     # Job template for promoting CSIT Snapshots
797     #
798     # Required Variables:
799     #     stream:    branch with - in place of / (eg. stable)
800     #     branch:    branch (eg. stable)
801     node: '{virtual-slave}'
802     project-type: 'multijob'
803     disabled: '{disable_promote}'
804
805     scm:
806       - git-scm
807
808     parameters:
809       - project-parameter:
810           project: '{project}'
811           branch: '{branch}'
812       - apex-parameter:
813           gs-pathname: '{gs-pathname}'
814
815     properties:
816       - build-blocker:
817           use-build-blocker: true
818           block-level: 'NODE'
819           blocking-jobs:
820             - 'apex-verify.*'
821             - 'apex-deploy.*'
822             - 'apex-runner.*'
823             - 'apex-daily.*'
824
825     triggers:
826       - timed: '0 12 * * 0'
827
828     builders:
829       - multijob:
830           name: deploy-virtual
831           condition: SUCCESSFUL
832           projects:
833             - name: 'apex-deploy-virtual-{stream}'
834               current-parameters: false
835               predefined-parameters: |
836                 DEPLOY_SCENARIO=os-odl-{os_version}_upstream-noha
837                 OPNFV_CLEAN=yes
838                 GERRIT_BRANCH=$GERRIT_BRANCH
839                 GERRIT_REFSPEC=$GERRIT_REFSPEC
840                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
841                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
842                 PROMOTE=True
843               node-parameters: true
844               kill-phase-on: FAILURE
845               abort-all-job: true
846               git-revision: false
847       - multijob:
848           name: functest-smoke
849           condition: SUCCESSFUL
850           projects:
851             - name: 'functest-apex-virtual-suite-{stream}'
852               current-parameters: false
853               predefined-parameters: |
854                 DEPLOY_SCENARIO=os-odl-{os_version}_upstream-noha
855                 FUNCTEST_SUITE_NAME=tempest_smoke_serial
856                 GERRIT_BRANCH=$GERRIT_BRANCH
857                 GERRIT_REFSPEC=$GERRIT_REFSPEC
858                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
859                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
860               node-parameters: true
861               kill-phase-on: FAILURE
862               abort-all-job: true
863               git-revision: false
864       - multijob:
865           name: create snapshot
866           condition: SUCCESSFUL
867           projects:
868             - name: 'apex-create-snapshot'
869               current-parameters: false
870               predefined-parameters: |
871                 SNAP_TYPE=csit
872               node-parameters: true
873               kill-phase-on: FAILURE
874               abort-all-job: true
875               git-revision: false
876       - multijob:
877           name: upload snapshot
878           condition: SUCCESSFUL
879           projects:
880             - name: 'apex-upload-snapshot'
881               current-parameters: false
882               predefined-parameters: |
883                 SNAP_TYPE=csit
884               node-parameters: true
885               kill-phase-on: FAILURE
886               abort-all-job: true
887               git-revision: false
888
889 # FDIO promote
890 - job-template:
891     name: 'apex-fdio-promote-daily-{stream}'
892
893     # Job template for promoting CSIT Snapshots
894     #
895     # Required Variables:
896     #     stream:    branch with - in place of / (eg. stable)
897     #     branch:    branch (eg. stable)
898     node: '{virtual-slave}'
899     project-type: 'multijob'
900     disabled: false
901
902     scm:
903       - git-scm
904
905     parameters:
906       - project-parameter:
907           project: '{project}'
908           branch: '{branch}'
909       - apex-parameter:
910           gs-pathname: '{gs-pathname}'
911
912     properties:
913       - build-blocker:
914           use-build-blocker: true
915           block-level: 'NODE'
916           blocking-jobs:
917             - 'apex-verify.*'
918             - 'apex-deploy.*'
919             - 'apex-runner.*'
920             - 'apex-daily.*'
921
922     builders:
923       - multijob:
924           name: build
925           condition: SUCCESSFUL
926           projects:
927             - name: 'apex-build-{stream}'
928               current-parameters: false
929               predefined-parameters: |
930                 GERRIT_BRANCH=$GERRIT_BRANCH
931                 GERRIT_REFSPEC=$GERRIT_REFSPEC
932                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
933                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
934               node-parameters: false
935               kill-phase-on: FAILURE
936               abort-all-job: true
937               git-revision: true
938       - multijob:
939           name: deploy-virtual
940           condition: SUCCESSFUL
941           projects:
942             - name: 'apex-deploy-virtual-{stream}'
943               current-parameters: false
944               predefined-parameters: |
945                 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
946                 OPNFV_CLEAN=yes
947                 GERRIT_BRANCH=$GERRIT_BRANCH
948                 GERRIT_REFSPEC=$GERRIT_REFSPEC
949                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
950                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
951                 PROMOTE=True
952               node-parameters: true
953               kill-phase-on: FAILURE
954               abort-all-job: true
955               git-revision: false
956       - multijob:
957           name: create snapshot
958           condition: SUCCESSFUL
959           projects:
960             - name: 'apex-create-snapshot'
961               current-parameters: false
962               predefined-parameters: |
963                 SNAP_TYPE=fdio
964               node-parameters: true
965               kill-phase-on: FAILURE
966               abort-all-job: true
967               git-revision: false
968       - multijob:
969           name: upload snapshot
970           condition: SUCCESSFUL
971           projects:
972             - name: 'apex-upload-snapshot'
973               current-parameters: false
974               predefined-parameters: |
975                 SNAP_TYPE=fdio
976               node-parameters: true
977               kill-phase-on: FAILURE
978               abort-all-job: true
979               git-revision: false
980
981 # Flex job
982 - job-template:
983     name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
984
985     project-type: 'multijob'
986
987     disabled: false
988
989     node: 'flex-pod2'
990
991     scm:
992       - git-scm
993
994     triggers:
995       - 'apex-{stream}'
996
997     parameters:
998       - '{project}-defaults'
999       - project-parameter:
1000           project: '{project}'
1001           branch: '{branch}'
1002       - apex-parameter:
1003           gs-pathname: '{gs-pathname}'
1004       - string:
1005           name: DEPLOY_SCENARIO
1006           default: 'os-nosdn-nofeature-ha'
1007           description: "Scenario to deploy with."
1008       - string:
1009           name: GIT_BASE
1010           default: https://gerrit.opnfv.org/gerrit/$PROJECT
1011           description: 'Git URL to use on this Jenkins Slave'
1012       - string:
1013           name: SSH_KEY
1014           default: /root/.ssh/id_rsa
1015           description: 'SSH key to use for Apex'
1016
1017     properties:
1018       - logrotate-default
1019       - build-blocker:
1020           use-build-blocker: true
1021           block-level: 'NODE'
1022           blocking-jobs:
1023             - 'apex-verify.*'
1024             - 'apex-runner.*'
1025             - 'apex-.*-promote.*'
1026             - 'apex-run.*'
1027             - 'apex-.+-baremetal-.+'
1028       - throttle:
1029           max-per-node: 1
1030           max-total: 10
1031           option: 'project'
1032
1033     builders:
1034       - description-setter:
1035           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1036       - multijob:
1037           name: 'Baremetal Deploy'
1038           condition: SUCCESSFUL
1039           projects:
1040             - name: 'apex-deploy-baremetal-{stream}'
1041               node-parameters: true
1042               current-parameters: true
1043               predefined-parameters: |
1044                 OPNFV_CLEAN=yes
1045                 GERRIT_BRANCH=$GERRIT_BRANCH
1046                 GERRIT_REFSPEC=
1047                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1048               kill-phase-on: FAILURE
1049               abort-all-job: true
1050               git-revision: false
1051       - multijob:
1052           name: Yardstick
1053           condition: ALWAYS
1054           projects:
1055             - name: 'yardstick-apex-baremetal-daily-{stream}'
1056               node-parameters: true
1057               current-parameters: false
1058               predefined-parameters:
1059                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1060               kill-phase-on: NEVER
1061               abort-all-job: false
1062               git-revision: false
1063
1064 # Dovetail Danube test job
1065 - job-template:
1066     name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1067
1068     project-type: 'multijob'
1069
1070     node: 'huawei-pod4'
1071
1072     disabled: false
1073
1074     parameters:
1075       - '{project}-defaults'
1076       - project-parameter:
1077           project: '{project}'
1078           branch: 'stable/danube'
1079       - apex-parameter:
1080           gs-pathname: '/danube'
1081       - string:
1082           name: DEPLOY_SCENARIO
1083           default: 'os-nosdn-nofeature-ha'
1084           description: "Scenario to deploy with."
1085
1086     properties:
1087       - logrotate-default
1088       - build-blocker:
1089           use-build-blocker: true
1090           block-level: 'NODE'
1091           blocking-jobs:
1092             - 'apex-verify.*'
1093             - 'apex-runner.*'
1094             - 'apex-.*-promote.*'
1095             - 'apex-run.*'
1096
1097     triggers:
1098       - timed: ''  # '0 1 * * *'
1099
1100     builders:
1101       - description-setter:
1102           description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1103       - multijob:
1104           name: 'Baremetal Deploy'
1105           condition: SUCCESSFUL
1106           projects:
1107             - name: 'apex-deploy-baremetal-danube'
1108               node-parameters: true
1109               current-parameters: true
1110               predefined-parameters: |
1111                 OPNFV_CLEAN=yes
1112                 GERRIT_BRANCH=$GERRIT_BRANCH
1113                 GERRIT_REFSPEC=
1114                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1115               kill-phase-on: FAILURE
1116               abort-all-job: true
1117               git-revision: false
1118       - multijob:
1119           name: Dovetail
1120           condition: ALWAYS
1121           projects:
1122             - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1123               node-parameters: true
1124               current-parameters: false
1125               predefined-parameters:
1126                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1127               kill-phase-on: NEVER
1128               abort-all-job: false
1129               git-revision: false
1130
1131 ########################
1132 # parameter macros
1133 ########################
1134 - parameter:
1135     name: apex-parameter
1136     parameters:
1137       - string:
1138           name: ARTIFACT_NAME
1139           default: 'latest'
1140           description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1141       - string:
1142           name: ARTIFACT_VERSION
1143           default: 'daily'
1144           description: "Artifact version type"
1145       - string:
1146           name: BUILD_DIRECTORY
1147           default: $WORKSPACE/.build
1148           description: "Directory where the build artifact will be located upon the completion of the build."
1149       - string:
1150           name: CACHE_DIRECTORY
1151           default: $HOME/opnfv/apex-cache{gs-pathname}
1152           description: "Directory where the cache to be used during the build is located."
1153       # yamllint disable rule:line-length
1154       - string:
1155           name: GIT_BASE
1156           default: https://gerrit.opnfv.org/gerrit/$PROJECT
1157           description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1158       # yamllint enable rule:line-length
1159       - string:
1160           name: GS_PATHNAME
1161           default: '{gs-pathname}'
1162           description: "Version directory where opnfv artifacts are stored in gs repository"
1163       - string:
1164           name: GS_URL
1165           default: $GS_BASE{gs-pathname}
1166           description: "URL to Google Storage."
1167       - string:
1168           name: PROMOTE
1169           default: 'False'
1170           description: "Flag to know if we should promote/upload snapshot artifacts."
1171
1172 ########################
1173 # builder macros
1174 ########################
1175
1176 # fraser Builder
1177 - builder:
1178     name: apex-builder-fraser
1179     builders:
1180       - multijob:
1181           name: Baremetal Deploy and Test Phase
1182           condition: SUCCESSFUL
1183           projects:
1184             - name: 'apex-os-nosdn-nofeature-noha-baremetal-fraser'
1185               node-parameters: false
1186               current-parameters: false
1187               predefined-parameters: |
1188                 OPNFV_CLEAN=yes
1189               kill-phase-on: NEVER
1190               abort-all-job: true
1191               git-revision: false
1192             - name: 'apex-os-nosdn-nofeature-ha-baremetal-fraser'
1193               node-parameters: false
1194               current-parameters: false
1195               predefined-parameters: |
1196                 OPNFV_CLEAN=yes
1197               kill-phase-on: NEVER
1198               abort-all-job: true
1199               git-revision: false
1200             - name: 'apex-os-odl-nofeature-ha-baremetal-fraser'
1201               node-parameters: false
1202               current-parameters: false
1203               predefined-parameters: |
1204                 OPNFV_CLEAN=yes
1205               kill-phase-on: NEVER
1206               abort-all-job: true
1207               git-revision: false
1208             - name: 'apex-os-odl-nofeature-noha-baremetal-fraser'
1209               node-parameters: false
1210               current-parameters: false
1211               predefined-parameters: |
1212                 OPNFV_CLEAN=yes
1213               kill-phase-on: NEVER
1214               abort-all-job: true
1215               git-revision: false
1216             - name: 'apex-os-odl-bgpvpn-ha-baremetal-fraser'
1217               node-parameters: false
1218               current-parameters: false
1219               predefined-parameters: |
1220                 OPNFV_CLEAN=yes
1221               kill-phase-on: NEVER
1222               abort-all-job: true
1223               git-revision: false
1224             - name: 'apex-os-ovn-nofeature-noha-baremetal-fraser'
1225               node-parameters: false
1226               current-parameters: false
1227               predefined-parameters: |
1228                 OPNFV_CLEAN=yes
1229               kill-phase-on: NEVER
1230               abort-all-job: true
1231               git-revision: false
1232             - name: 'apex-os-nosdn-fdio-noha-baremetal-fraser'
1233               node-parameters: false
1234               current-parameters: false
1235               predefined-parameters: |
1236                 OPNFV_CLEAN=yes
1237               kill-phase-on: NEVER
1238               abort-all-job: true
1239               git-revision: false
1240             - name: 'apex-os-nosdn-fdio-ha-baremetal-fraser'
1241               node-parameters: false
1242               current-parameters: false
1243               predefined-parameters: |
1244                 OPNFV_CLEAN=yes
1245               kill-phase-on: NEVER
1246               abort-all-job: true
1247               git-revision: false
1248             - name: 'apex-os-nosdn-bar-ha-baremetal-fraser'
1249               node-parameters: false
1250               current-parameters: false
1251               predefined-parameters: |
1252                 OPNFV_CLEAN=yes
1253               kill-phase-on: NEVER
1254               abort-all-job: true
1255               git-revision: false
1256             - name: 'apex-os-nosdn-bar-noha-baremetal-fraser'
1257               node-parameters: false
1258               current-parameters: false
1259               predefined-parameters: |
1260                 OPNFV_CLEAN=yes
1261               kill-phase-on: NEVER
1262               abort-all-job: true
1263               git-revision: false
1264             - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-fraser'
1265               node-parameters: false
1266               current-parameters: false
1267               predefined-parameters: |
1268                 OPNFV_CLEAN=yes
1269               kill-phase-on: NEVER
1270               abort-all-job: true
1271               git-revision: false
1272             - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-fraser'
1273               node-parameters: false
1274               current-parameters: false
1275               predefined-parameters: |
1276                 OPNFV_CLEAN=yes
1277               kill-phase-on: NEVER
1278               abort-all-job: true
1279               git-revision: false
1280             - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-fraser'
1281               node-parameters: false
1282               current-parameters: false
1283               predefined-parameters: |
1284                 OPNFV_CLEAN=yes
1285               kill-phase-on: NEVER
1286               abort-all-job: true
1287               git-revision: false
1288             - name: 'apex-os-nosdn-kvm_ovs_dpdk-noha-baremetal-fraser'
1289               node-parameters: false
1290               current-parameters: false
1291               predefined-parameters: |
1292                 OPNFV_CLEAN=yes
1293               kill-phase-on: NEVER
1294               abort-all-job: true
1295               git-revision: false
1296             - name: 'apex-os-nosdn-kvm_ovs_dpdk-ha-baremetal-fraser'
1297               node-parameters: false
1298               current-parameters: false
1299               predefined-parameters: |
1300                 OPNFV_CLEAN=yes
1301               kill-phase-on: NEVER
1302               abort-all-job: true
1303               git-revision: false
1304             - name: 'apex-os-odl-sfc-noha-baremetal-fraser'
1305               node-parameters: false
1306               current-parameters: false
1307               predefined-parameters: |
1308                 OPNFV_CLEAN=yes
1309               kill-phase-on: NEVER
1310               abort-all-job: true
1311               git-revision: false
1312             - name: 'apex-os-odl-sfc-ha-baremetal-fraser'
1313               node-parameters: false
1314               current-parameters: false
1315               predefined-parameters: |
1316                 OPNFV_CLEAN=yes
1317               kill-phase-on: NEVER
1318               abort-all-job: true
1319               git-revision: false
1320             - name: 'apex-os-nosdn-calipso-noha-baremetal-fraser'
1321               node-parameters: false
1322               current-parameters: false
1323               predefined-parameters: |
1324                 OPNFV_CLEAN=yes
1325               kill-phase-on: NEVER
1326               abort-all-job: true
1327               git-revision: false
1328
1329 # danube Builder
1330 - builder:
1331     name: apex-builder-danube
1332     builders:
1333       - multijob:
1334           name: Baremetal Deploy and Test Phase
1335           condition: SUCCESSFUL
1336           projects:
1337             - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
1338               node-parameters: false
1339               current-parameters: false
1340               predefined-parameters: |
1341                 OPNFV_CLEAN=yes
1342               kill-phase-on: NEVER
1343               abort-all-job: true
1344               git-revision: false
1345             - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
1346               node-parameters: false
1347               current-parameters: false
1348               predefined-parameters: |
1349                 OPNFV_CLEAN=yes
1350               kill-phase-on: NEVER
1351               abort-all-job: true
1352               git-revision: false
1353             - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
1354               node-parameters: false
1355               current-parameters: false
1356               predefined-parameters: |
1357                 OPNFV_CLEAN=yes
1358               kill-phase-on: NEVER
1359               abort-all-job: true
1360               git-revision: false
1361             - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
1362               node-parameters: false
1363               current-parameters: false
1364               predefined-parameters: |
1365                 OPNFV_CLEAN=yes
1366               kill-phase-on: NEVER
1367               abort-all-job: true
1368               git-revision: false
1369             - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
1370               node-parameters: false
1371               current-parameters: false
1372               predefined-parameters: |
1373                 OPNFV_CLEAN=yes
1374               kill-phase-on: NEVER
1375               abort-all-job: true
1376               git-revision: false
1377             - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
1378               node-parameters: false
1379               current-parameters: false
1380               predefined-parameters: |
1381                 OPNFV_CLEAN=yes
1382               kill-phase-on: NEVER
1383               abort-all-job: true
1384               git-revision: false
1385             - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
1386               node-parameters: false
1387               current-parameters: false
1388               predefined-parameters: |
1389                 OPNFV_CLEAN=yes
1390               kill-phase-on: NEVER
1391               abort-all-job: true
1392               git-revision: false
1393             - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
1394               node-parameters: false
1395               current-parameters: false
1396               predefined-parameters: |
1397                 OPNFV_CLEAN=yes
1398               kill-phase-on: NEVER
1399               abort-all-job: true
1400               git-revision: false
1401             - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
1402               node-parameters: false
1403               current-parameters: false
1404               predefined-parameters: |
1405                 OPNFV_CLEAN=yes
1406               kill-phase-on: NEVER
1407               abort-all-job: true
1408               git-revision: false
1409             - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
1410               node-parameters: false
1411               current-parameters: false
1412               predefined-parameters: |
1413                 OPNFV_CLEAN=yes
1414               kill-phase-on: NEVER
1415               abort-all-job: true
1416               git-revision: false
1417             - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
1418               node-parameters: false
1419               current-parameters: false
1420               predefined-parameters: |
1421                 OPNFV_CLEAN=yes
1422               kill-phase-on: NEVER
1423               abort-all-job: true
1424               git-revision: false
1425             - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
1426               node-parameters: false
1427               current-parameters: false
1428               predefined-parameters: |
1429                 OPNFV_CLEAN=yes
1430               kill-phase-on: NEVER
1431               abort-all-job: true
1432               git-revision: false
1433             - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
1434               node-parameters: false
1435               current-parameters: false
1436               predefined-parameters: |
1437                 OPNFV_CLEAN=yes
1438               kill-phase-on: NEVER
1439               abort-all-job: true
1440               git-revision: false
1441             - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
1442               node-parameters: false
1443               current-parameters: false
1444               predefined-parameters: |
1445                 OPNFV_CLEAN=yes
1446               kill-phase-on: NEVER
1447               abort-all-job: true
1448               git-revision: false
1449             - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
1450               node-parameters: false
1451               current-parameters: false
1452               predefined-parameters: |
1453                 OPNFV_CLEAN=yes
1454               kill-phase-on: NEVER
1455               abort-all-job: true
1456               git-revision: false
1457             - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
1458               node-parameters: false
1459               current-parameters: false
1460               predefined-parameters: |
1461                 OPNFV_CLEAN=yes
1462               kill-phase-on: NEVER
1463               abort-all-job: true
1464               git-revision: false
1465             - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
1466               node-parameters: false
1467               current-parameters: false
1468               predefined-parameters: |
1469                 OPNFV_CLEAN=yes
1470               kill-phase-on: NEVER
1471               abort-all-job: true
1472               git-revision: false
1473             - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
1474               node-parameters: false
1475               current-parameters: false
1476               predefined-parameters: |
1477                 OPNFV_CLEAN=yes
1478               kill-phase-on: NEVER
1479               abort-all-job: true
1480               git-revision: false
1481             - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1482               node-parameters: false
1483               current-parameters: false
1484               predefined-parameters: |
1485                 OPNFV_CLEAN=yes
1486               kill-phase-on: NEVER
1487               abort-all-job: true
1488               git-revision: false
1489             - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1490               node-parameters: false
1491               current-parameters: false
1492               predefined-parameters: |
1493                 OPNFV_CLEAN=yes
1494               kill-phase-on: NEVER
1495               abort-all-job: true
1496               git-revision: false
1497             - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1498               node-parameters: false
1499               current-parameters: false
1500               predefined-parameters: |
1501                 OPNFV_CLEAN=yes
1502               kill-phase-on: NEVER
1503               abort-all-job: true
1504               git-revision: false
1505             - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1506               node-parameters: false
1507               current-parameters: false
1508               predefined-parameters: |
1509                 OPNFV_CLEAN=yes
1510               kill-phase-on: NEVER
1511               abort-all-job: true
1512               git-revision: false
1513             - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1514               node-parameters: false
1515               current-parameters: false
1516               predefined-parameters: |
1517                 OPNFV_CLEAN=yes
1518               kill-phase-on: NEVER
1519               abort-all-job: true
1520               git-revision: false
1521             - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1522               node-parameters: false
1523               current-parameters: false
1524               predefined-parameters: |
1525                 OPNFV_CLEAN=yes
1526               kill-phase-on: NEVER
1527               abort-all-job: true
1528               git-revision: false
1529             - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1530               node-parameters: false
1531               current-parameters: false
1532               predefined-parameters: |
1533                 OPNFV_CLEAN=yes
1534               kill-phase-on: NEVER
1535               abort-all-job: true
1536               git-revision: false
1537             - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1538               node-parameters: false
1539               current-parameters: false
1540               predefined-parameters: |
1541                 OPNFV_CLEAN=yes
1542               kill-phase-on: NEVER
1543               abort-all-job: true
1544               git-revision: false
1545
1546 # master Builder
1547 - builder:
1548     name: apex-builder-master
1549     builders:
1550       - multijob:
1551           name: Baremetal Deploy and Test Phase
1552           condition: SUCCESSFUL
1553           projects:
1554             - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1555               node-parameters: false
1556               current-parameters: false
1557               predefined-parameters: |
1558                 OPNFV_CLEAN=yes
1559               kill-phase-on: NEVER
1560               abort-all-job: true
1561               git-revision: false
1562             - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1563               node-parameters: false
1564               current-parameters: false
1565               predefined-parameters: |
1566                 OPNFV_CLEAN=yes
1567               kill-phase-on: NEVER
1568               abort-all-job: true
1569               git-revision: false
1570             - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1571               node-parameters: false
1572               current-parameters: false
1573               predefined-parameters: |
1574                 OPNFV_CLEAN=yes
1575               kill-phase-on: NEVER
1576               abort-all-job: true
1577               git-revision: false
1578             - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1579               node-parameters: false
1580               current-parameters: false
1581               predefined-parameters: |
1582                 OPNFV_CLEAN=yes
1583               kill-phase-on: NEVER
1584               abort-all-job: true
1585               git-revision: false
1586             - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1587               node-parameters: false
1588               current-parameters: false
1589               predefined-parameters: |
1590                 OPNFV_CLEAN=yes
1591               kill-phase-on: NEVER
1592               abort-all-job: true
1593               git-revision: false
1594             - name: 'apex-os-odl-bgpvpn-noha-baremetal-master'
1595               node-parameters: false
1596               current-parameters: false
1597               predefined-parameters: |
1598                 OPNFV_CLEAN=yes
1599               kill-phase-on: NEVER
1600               abort-all-job: true
1601               git-revision: false
1602             - name: 'apex-os-odl-sriov-noha-baremetal-master'
1603               node-parameters: false
1604               current-parameters: false
1605               predefined-parameters: |
1606                 OPNFV_CLEAN=yes
1607               kill-phase-on: NEVER
1608               abort-all-job: true
1609               git-revision: false
1610             - name: 'apex-os-odl-ovs_offload-noha-baremetal-master'
1611               node-parameters: false
1612               current-parameters: false
1613               predefined-parameters: |
1614                 OPNFV_CLEAN=yes
1615               kill-phase-on: NEVER
1616               abort-all-job: true
1617               git-revision: false
1618             - name: 'apex-os-ovn-nofeature-noha-baremetal-master'
1619               node-parameters: false
1620               current-parameters: false
1621               predefined-parameters: |
1622                 OPNFV_CLEAN=yes
1623               kill-phase-on: NEVER
1624               abort-all-job: true
1625               git-revision: false
1626             - name: 'apex-os-nosdn-fdio-noha-baremetal-master'
1627               node-parameters: false
1628               current-parameters: false
1629               predefined-parameters: |
1630                 OPNFV_CLEAN=yes
1631               kill-phase-on: NEVER
1632               abort-all-job: true
1633               git-revision: false
1634             - name: 'apex-os-nosdn-fdio-ha-baremetal-master'
1635               node-parameters: false
1636               current-parameters: false
1637               predefined-parameters: |
1638                 OPNFV_CLEAN=yes
1639               kill-phase-on: NEVER
1640               abort-all-job: true
1641               git-revision: false
1642             - name: 'apex-os-nosdn-bar-ha-baremetal-master'
1643               node-parameters: false
1644               current-parameters: false
1645               predefined-parameters: |
1646                 OPNFV_CLEAN=yes
1647               kill-phase-on: NEVER
1648               abort-all-job: true
1649               git-revision: false
1650             - name: 'apex-os-nosdn-bar-noha-baremetal-master'
1651               node-parameters: false
1652               current-parameters: false
1653               predefined-parameters: |
1654                 OPNFV_CLEAN=yes
1655               kill-phase-on: NEVER
1656               abort-all-job: true
1657               git-revision: false
1658             - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-master'
1659               node-parameters: false
1660               current-parameters: false
1661               predefined-parameters: |
1662                 OPNFV_CLEAN=yes
1663               kill-phase-on: NEVER
1664               abort-all-job: true
1665               git-revision: false
1666             - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-master'
1667               node-parameters: false
1668               current-parameters: false
1669               predefined-parameters: |
1670                 OPNFV_CLEAN=yes
1671               kill-phase-on: NEVER
1672               abort-all-job: true
1673               git-revision: false
1674             - name: 'apex-os-odl-ovs_dpdk-noha-baremetal-master'
1675               node-parameters: false
1676               current-parameters: false
1677               predefined-parameters: |
1678                 OPNFV_CLEAN=yes
1679               kill-phase-on: NEVER
1680               abort-all-job: true
1681               git-revision: false
1682             - name: 'apex-os-odl-ovs_dpdk-ha-baremetal-master'
1683               node-parameters: false
1684               current-parameters: false
1685               predefined-parameters: |
1686                 OPNFV_CLEAN=yes
1687               kill-phase-on: NEVER
1688               abort-all-job: true
1689               git-revision: false
1690             - name: 'apex-os-odl-sfc-noha-baremetal-master'
1691               node-parameters: false
1692               current-parameters: false
1693               predefined-parameters: |
1694                 OPNFV_CLEAN=yes
1695               kill-phase-on: NEVER
1696               abort-all-job: true
1697               git-revision: false
1698             - name: 'apex-os-odl-sfc-ha-baremetal-master'
1699               node-parameters: false
1700               current-parameters: false
1701               predefined-parameters: |
1702                 OPNFV_CLEAN=yes
1703               kill-phase-on: NEVER
1704               abort-all-job: true
1705               git-revision: false
1706             - name: 'apex-os-nosdn-calipso-noha-baremetal-master'
1707               node-parameters: false
1708               current-parameters: false
1709               predefined-parameters: |
1710                 OPNFV_CLEAN=yes
1711               kill-phase-on: NEVER
1712               abort-all-job: true
1713               git-revision: false
1714
1715 # euphrates Builder
1716 - builder:
1717     name: apex-builder-euphrates
1718     builders:
1719       - multijob:
1720           name: Baremetal Deploy and Test Phase
1721           condition: SUCCESSFUL
1722           projects:
1723             - name: 'apex-os-nosdn-nofeature-noha-baremetal-euphrates'
1724               node-parameters: false
1725               current-parameters: false
1726               predefined-parameters: |
1727                 OPNFV_CLEAN=yes
1728               kill-phase-on: NEVER
1729               abort-all-job: true
1730               git-revision: false
1731             - name: 'apex-os-nosdn-nofeature-ha-baremetal-euphrates'
1732               node-parameters: false
1733               current-parameters: false
1734               predefined-parameters: |
1735                 OPNFV_CLEAN=yes
1736               kill-phase-on: NEVER
1737               abort-all-job: true
1738               git-revision: false
1739             - name: 'apex-os-odl-nofeature-ha-baremetal-euphrates'
1740               node-parameters: false
1741               current-parameters: false
1742               predefined-parameters: |
1743                 OPNFV_CLEAN=yes
1744               kill-phase-on: NEVER
1745               abort-all-job: true
1746               git-revision: false
1747             - name: 'apex-os-odl-nofeature-noha-baremetal-euphrates'
1748               node-parameters: false
1749               current-parameters: false
1750               predefined-parameters: |
1751                 OPNFV_CLEAN=yes
1752               kill-phase-on: NEVER
1753               abort-all-job: true
1754               git-revision: false
1755             - name: 'apex-os-odl-bgpvpn-ha-baremetal-euphrates'
1756               node-parameters: false
1757               current-parameters: false
1758               predefined-parameters: |
1759                 OPNFV_CLEAN=yes
1760               kill-phase-on: NEVER
1761               abort-all-job: true
1762               git-revision: false
1763             - name: 'apex-os-ovn-nofeature-noha-baremetal-euphrates'
1764               node-parameters: false
1765               current-parameters: false
1766               predefined-parameters: |
1767                 OPNFV_CLEAN=yes
1768               kill-phase-on: NEVER
1769               abort-all-job: true
1770               git-revision: false
1771             - name: 'apex-os-nosdn-fdio-noha-baremetal-euphrates'
1772               node-parameters: false
1773               current-parameters: false
1774               predefined-parameters: |
1775                 OPNFV_CLEAN=yes
1776               kill-phase-on: NEVER
1777               abort-all-job: true
1778               git-revision: false
1779             - name: 'apex-os-nosdn-fdio-ha-baremetal-euphrates'
1780               node-parameters: false
1781               current-parameters: false
1782               predefined-parameters: |
1783                 OPNFV_CLEAN=yes
1784               kill-phase-on: NEVER
1785               abort-all-job: true
1786               git-revision: false
1787             - name: 'apex-os-nosdn-bar-ha-baremetal-euphrates'
1788               node-parameters: false
1789               current-parameters: false
1790               predefined-parameters: |
1791                 OPNFV_CLEAN=yes
1792               kill-phase-on: NEVER
1793               abort-all-job: true
1794               git-revision: false
1795             - name: 'apex-os-nosdn-bar-noha-baremetal-euphrates'
1796               node-parameters: false
1797               current-parameters: false
1798               predefined-parameters: |
1799                 OPNFV_CLEAN=yes
1800               kill-phase-on: NEVER
1801               abort-all-job: true
1802               git-revision: false
1803             - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-euphrates'
1804               node-parameters: false
1805               current-parameters: false
1806               predefined-parameters: |
1807                 OPNFV_CLEAN=yes
1808               kill-phase-on: NEVER
1809               abort-all-job: true
1810               git-revision: false
1811             - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-euphrates'
1812               node-parameters: false
1813               current-parameters: false
1814               predefined-parameters: |
1815                 OPNFV_CLEAN=yes
1816               kill-phase-on: NEVER
1817               abort-all-job: true
1818               git-revision: false
1819             - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-euphrates'
1820               node-parameters: false
1821               current-parameters: false
1822               predefined-parameters: |
1823                 OPNFV_CLEAN=yes
1824               kill-phase-on: NEVER
1825               abort-all-job: true
1826               git-revision: false
1827             - name: 'apex-os-nosdn-kvm_ovs_dpdk-noha-baremetal-euphrates'
1828               node-parameters: false
1829               current-parameters: false
1830               predefined-parameters: |
1831                 OPNFV_CLEAN=yes
1832               kill-phase-on: NEVER
1833               abort-all-job: true
1834               git-revision: false
1835             - name: 'apex-os-nosdn-kvm_ovs_dpdk-ha-baremetal-euphrates'
1836               node-parameters: false
1837               current-parameters: false
1838               predefined-parameters: |
1839                 OPNFV_CLEAN=yes
1840               kill-phase-on: NEVER
1841               abort-all-job: true
1842               git-revision: false
1843             - name: 'apex-os-odl-sfc-noha-baremetal-euphrates'
1844               node-parameters: false
1845               current-parameters: false
1846               predefined-parameters: |
1847                 OPNFV_CLEAN=yes
1848               kill-phase-on: NEVER
1849               abort-all-job: true
1850               git-revision: false
1851             - name: 'apex-os-odl-sfc-ha-baremetal-euphrates'
1852               node-parameters: false
1853               current-parameters: false
1854               predefined-parameters: |
1855                 OPNFV_CLEAN=yes
1856               kill-phase-on: NEVER
1857               abort-all-job: true
1858               git-revision: false
1859             - name: 'apex-os-nosdn-calipso-noha-baremetal-euphrates'
1860               node-parameters: false
1861               current-parameters: false
1862               predefined-parameters: |
1863                 OPNFV_CLEAN=yes
1864               kill-phase-on: NEVER
1865               abort-all-job: true
1866               git-revision: false
1867 - builder:
1868     name: 'apex-upload-artifact'
1869     builders:
1870       - shell:
1871           !include-raw: ./apex-upload-artifact.sh
1872
1873 - builder:
1874     name: 'apex-download-artifact'
1875     builders:
1876       - shell:
1877           !include-raw: ./apex-download-artifact.sh
1878
1879 - builder:
1880     name: 'apex-deploy'
1881     builders:
1882       - shell:
1883           !include-raw: ./apex-deploy.sh
1884
1885 - builder:
1886     name: 'apex-fetch-logs'
1887     builders:
1888       - shell:
1889           !include-raw: ./apex-fetch-logs.sh
1890
1891 #######################
1892 # trigger macros
1893 ########################
1894 - trigger:
1895     name: 'apex-master'
1896     triggers:
1897       - timed: '0 0 1-31/2 * *'
1898
1899 - trigger:
1900     name: 'apex-fraser'
1901     triggers:
1902       - timed: '0 0 2-30/2 * *'
1903
1904 - trigger:
1905     name: 'apex-euphrates'
1906     triggers:
1907       - timed: '0 0 2-30/2 * *'
1908
1909 - trigger:
1910     name: 'apex-danube'
1911     triggers:
1912       - timed: '0 3 1 1 7'