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