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