6 - 'apex-verify-{stream}'
7 - 'apex-verify-gate-{stream}'
8 - 'apex-verify-unit-tests-{stream}'
9 - 'apex-runner-cperf-{stream}'
10 - 'apex-virtual-{stream}'
11 - 'apex-deploy-{platform}-{stream}'
12 - 'apex-daily-{stream}'
13 - 'apex-csit-promote-daily-{stream}'
14 - 'apex-fdio-promote-daily-{stream}'
15 - 'apex-{scenario}-baremetal-{scenario_stream}'
16 - 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
17 - 'apex-upload-snapshot'
18 - 'apex-create-snapshot'
19 - 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
20 - 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
21 # stream: branch with - in place of / (eg. stable-arno)
22 # branch: branch (eg. stable/arno)
27 build-slave: 'apex-build-master'
28 virtual-slave: 'apex-virtual-master'
29 baremetal-slave: 'apex-baremetal-master'
30 verify-scenario: 'os-odl-nofeature-ha'
31 scenario_stream: 'master'
33 - euphrates: &euphrates
34 branch: 'stable/euphrates'
35 gs-pathname: '/euphrates'
36 build-slave: 'apex-build-master'
37 virtual-slave: 'apex-virtual-master'
38 baremetal-slave: 'apex-baremetal-master'
39 verify-scenario: 'os-odl-nofeature-ha'
40 scenario_stream: 'euphrates'
43 branch: 'stable/danube'
44 gs-pathname: '/danube'
45 build-slave: 'apex-build-danube'
46 virtual-slave: 'apex-virtual-danube'
47 baremetal-slave: 'apex-baremetal-danube'
48 verify-scenario: 'os-odl_l3-nofeature-ha'
49 scenario_stream: 'danube'
54 {%- for stream in scenarios %}
55 {%- for scenario in scenarios[stream] %}
67 name: 'apex-verify-unit-tests-{stream}'
75 gs-pathname: '{gs-pathname}'
85 server-name: 'gerrit.opnfv.org'
87 - patchset-created-event:
88 exclude-drafts: 'false'
89 exclude-trivial-rebase: 'false'
90 exclude-no-code-change: 'true'
91 - draft-published-event
92 - comment-added-contains-event:
93 comment-contains-value: 'recheck'
94 - comment-added-contains-event:
95 comment-contains-value: 'reverify'
97 - project-compare-type: 'ANT'
98 project-pattern: 'apex'
100 - branch-compare-type: 'ANT'
101 branch-pattern: '**/{branch}'
102 disable-strict-forbidden-file-verification: 'false'
105 pattern: 'apex/tests/**'
106 forbidden-file-paths:
118 pattern: 'apex/build/**'
120 pattern: 'apex/common/**'
122 pattern: 'apex/inventory/**'
124 pattern: 'apex/network/**'
126 pattern: 'apex/overcloud/**'
128 pattern: 'apex/settings/**'
130 pattern: 'apex/undercloud/**'
132 pattern: 'apex/virtual/**'
143 !include-raw-escape: ./apex-unit-test.sh
147 name: 'apex-verify-{stream}'
149 node: '{virtual-slave}'
153 project-type: 'multijob'
157 gs-pathname: '{gs-pathname}/dev'
162 name: ARTIFACT_VERSION
164 description: "Used for overriding the ARTIFACT_VERSION"
170 server-name: 'gerrit.opnfv.org'
172 - patchset-created-event:
173 exclude-drafts: 'false'
174 exclude-trivial-rebase: 'false'
175 exclude-no-code-change: 'true'
176 - draft-published-event
177 - comment-added-contains-event:
178 comment-contains-value: 'recheck'
179 - comment-added-contains-event:
180 comment-contains-value: 'reverify'
182 - project-compare-type: 'ANT'
183 project-pattern: 'apex'
185 - branch-compare-type: 'ANT'
186 branch-pattern: '**/{branch}'
187 disable-strict-forbidden-file-verification: 'true'
200 pattern: 'apex/build/**'
202 pattern: 'apex/common/**'
204 pattern: 'apex/inventory/**'
206 pattern: 'apex/network/**'
208 pattern: 'apex/overcloud/**'
210 pattern: 'apex/settings/**'
212 pattern: 'apex/undercloud/**'
214 pattern: 'apex/virtual/**'
215 forbidden-file-paths:
217 pattern: 'apex/tests/**'
229 - description-setter:
230 description: "Built on $NODE_NAME"
233 condition: SUCCESSFUL
235 - name: 'apex-verify-unit-tests-{stream}'
236 current-parameters: false
237 predefined-parameters: |
238 GERRIT_BRANCH=$GERRIT_BRANCH
239 GERRIT_REFSPEC=$GERRIT_REFSPEC
240 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
241 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
242 node-parameters: false
243 kill-phase-on: FAILURE
248 condition: SUCCESSFUL
250 - name: 'apex-build-{stream}'
251 current-parameters: false
252 predefined-parameters: |
253 ARTIFACT_VERSION=$ARTIFACT_VERSION
254 GERRIT_BRANCH=$GERRIT_BRANCH
255 GERRIT_REFSPEC=$GERRIT_REFSPEC
256 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
257 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
258 node-parameters: false
259 kill-phase-on: FAILURE
264 condition: SUCCESSFUL
266 - name: 'apex-virtual-{stream}'
267 current-parameters: false
268 predefined-parameters: |
269 ARTIFACT_VERSION=$ARTIFACT_VERSION
270 DEPLOY_SCENARIO={verify-scenario}
272 GERRIT_BRANCH=$GERRIT_BRANCH
273 GERRIT_REFSPEC=$GERRIT_REFSPEC
274 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
275 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
276 node-parameters: true
277 kill-phase-on: FAILURE
281 # Verify Scenario Gate
283 name: 'apex-verify-gate-{stream}'
285 node: '{virtual-slave}'
289 project-type: 'multijob'
293 gs-pathname: '{gs-pathname}/dev'
299 default: https://gerrit.opnfv.org/gerrit/$PROJECT
300 description: "Used for overriding the GIT URL coming from parameters macro."
302 name: ARTIFACT_VERSION
304 description: "Used for overriding the ARTIFACT_VERSION"
311 server-name: 'gerrit.opnfv.org'
313 - comment-added-contains-event:
314 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
316 - project-compare-type: 'ANT'
317 project-pattern: 'apex'
319 - branch-compare-type: 'ANT'
320 branch-pattern: '**/{branch}'
336 use-build-blocker: true
349 condition: SUCCESSFUL
351 - name: 'apex-deploy-virtual-{stream}'
352 current-parameters: false
353 predefined-parameters: |
354 ARTIFACT_VERSION=$ARTIFACT_VERSION
357 GERRIT_BRANCH=$GERRIT_BRANCH
358 GERRIT_REFSPEC=$GERRIT_REFSPEC
359 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
360 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
361 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
362 node-parameters: true
363 kill-phase-on: FAILURE
366 # yamllint disable rule:line-length
368 echo DEPLOY_SCENARIO=$(echo $GERRIT_EVENT_COMMENT_TEXT | grep start-gate-scenario | grep -Eo 'os-.*') > detected_scenario
369 # yamllint enable rule:line-length
371 properties-file: detected_scenario
374 condition: SUCCESSFUL
376 - name: 'functest-apex-virtual-suite-{stream}'
377 current-parameters: false
378 predefined-parameters: |
379 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
381 FUNCTEST_TIER=healthcheck
382 GERRIT_BRANCH=$GERRIT_BRANCH
383 GERRIT_REFSPEC=$GERRIT_REFSPEC
384 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
385 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
386 node-parameters: true
392 name: 'apex-runner-cperf-{stream}'
395 project-type: 'multijob'
402 gs-pathname: '{gs-pathname}'
408 default: https://gerrit.opnfv.org/gerrit/$PROJECT
409 description: "Used for overriding the GIT URL coming from parameters macro."
417 use-build-blocker: false
427 - description-setter:
428 description: "Deployed on $NODE_NAME"
430 name: 'Baremetal Deploy'
433 - name: 'apex-deploy-baremetal-{stream}'
434 node-parameters: false
435 current-parameters: true
436 predefined-parameters: |
437 GERRIT_BRANCH=$GERRIT_BRANCH
440 DEPLOY_SCENARIO={verify-scenario}
441 kill-phase-on: FAILURE
446 condition: SUCCESSFUL
448 - name: 'cperf-apex-intel-pod2-daily-master'
449 node-parameters: true
450 current-parameters: false
451 predefined-parameters:
452 DEPLOY_SCENARIO={verify-scenario}
459 name: 'apex-deploy-{platform}-{stream}'
461 node: 'apex-{platform}-{stream}'
476 - '{project}-{platform}-{stream}-defaults'
481 gs-pathname: '{gs-pathname}'
483 name: DEPLOY_SCENARIO
484 default: '{verify-scenario}'
485 description: "Scenario to deploy with."
486 # yamllint disable rule:line-length
490 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
492 # yamllint enable rule:line-length
496 use-build-blocker: true
510 - description-setter:
511 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
512 - 'apex-download-artifact'
517 # Virtual Deploy and Test
519 name: 'apex-virtual-{stream}'
521 project-type: 'multijob'
529 - '{project}-defaults'
530 - '{project}-virtual-{stream}-defaults'
535 gs-pathname: '{gs-pathname}'
537 name: DEPLOY_SCENARIO
538 default: '{verify-scenario}'
539 description: "Scenario to deploy with."
541 name: ARTIFACT_VERSION
543 description: "Used for overriding the ARTIFACT_VERSION"
548 use-build-blocker: true
552 - 'apex-.*-promote.*'
555 - 'apex-verify-gate-.*'
562 - description-setter:
563 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
566 condition: SUCCESSFUL
568 - name: 'apex-deploy-virtual-{stream}'
569 current-parameters: false
570 predefined-parameters: |
571 ARTIFACT_VERSION=$ARTIFACT_VERSION
572 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
574 GERRIT_BRANCH=$GERRIT_BRANCH
575 GERRIT_REFSPEC=$GERRIT_REFSPEC
576 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
577 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
578 node-parameters: true
579 kill-phase-on: FAILURE
584 condition: SUCCESSFUL
586 - name: 'functest-apex-virtual-suite-{stream}'
587 current-parameters: false
588 predefined-parameters: |
589 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
590 FUNCTEST_SUITE_NAME=healthcheck
591 GERRIT_BRANCH=$GERRIT_BRANCH
592 GERRIT_REFSPEC=$GERRIT_REFSPEC
593 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
594 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
595 node-parameters: true
600 # Baremetal Deploy and Test
602 name: 'apex-{scenario}-baremetal-{scenario_stream}'
604 project-type: 'multijob'
612 - '{project}-defaults'
613 - '{project}-baremetal-{scenario_stream}-defaults'
618 gs-pathname: '{gs-pathname}'
620 name: DEPLOY_SCENARIO
621 default: '{scenario}'
622 description: "Scenario to deploy with."
627 use-build-blocker: true
632 - 'apex-.*-promote.*'
634 - 'apex-.+-baremetal-.+'
641 - description-setter:
642 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
644 name: 'Baremetal Deploy'
645 condition: SUCCESSFUL
647 - name: 'apex-deploy-baremetal-{scenario_stream}'
648 node-parameters: true
649 current-parameters: true
650 predefined-parameters: |
652 GERRIT_BRANCH=$GERRIT_BRANCH
654 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
655 kill-phase-on: FAILURE
659 name: 'OPNFV Test Suite'
661 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
662 node-parameters: true
663 current-parameters: false
664 predefined-parameters:
665 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
673 !include-raw-escape: ./update-build-result.groovy
677 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
679 project-type: 'multijob'
684 - '{project}-defaults'
685 - '{project}-baremetal-{scenario_stream}-defaults'
690 gs-pathname: '{gs-pathname}'
692 name: DEPLOY_SCENARIO
693 default: '{scenario}'
694 description: "Scenario to deploy with."
699 use-build-blocker: true
704 - 'apex-.*-promote.*'
706 - 'apex-testsuite-.+-baremetal-.+'
713 - description-setter:
714 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
719 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
720 node-parameters: true
721 current-parameters: false
722 predefined-parameters:
723 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
731 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
732 node-parameters: true
733 current-parameters: false
734 predefined-parameters:
735 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
743 - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
744 node-parameters: true
745 current-parameters: false
746 predefined-parameters:
747 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
749 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|nosdn-kvm|odl_l3-fdio)-ha/"
756 - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
757 node-parameters: true
758 current-parameters: false
759 predefined-parameters:
760 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
761 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
765 # Build status is always success due conditional plugin prefetching
766 # build status before multijob phases execute
767 # - conditional-step:
768 # condition-kind: current-status
769 # condition-worst: SUCCESS
770 # condtion-best: SUCCESS
771 # on-evaluation-failure: mark-unstable
773 # - shell: 'echo "Tests Passed"'
776 name: 'apex-daily-{stream}'
778 # Job template for daily build
780 # Required Variables:
781 # stream: branch with - in place of / (eg. stable)
782 # branch: branch (eg. stable)
783 project-type: 'multijob'
785 node: '{baremetal-slave}'
787 disabled: '{obj:disable_daily}'
793 - '{project}-defaults'
794 - '{project}-baremetal-{stream}-defaults'
799 gs-pathname: '{gs-pathname}'
804 use-build-blocker: true
815 condition: SUCCESSFUL
817 - name: 'apex-build-{stream}'
818 current-parameters: false
819 predefined-parameters: |
820 GERRIT_BRANCH=$GERRIT_BRANCH
822 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
823 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
824 node-parameters: true
825 kill-phase-on: FAILURE
829 name: 'Verify and upload ISO'
830 condition: SUCCESSFUL
832 - name: 'apex-verify-iso-{stream}'
833 current-parameters: false
834 predefined-parameters: |
835 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
836 GERRIT_BRANCH=$GERRIT_BRANCH
838 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
839 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
840 node-parameters: true
841 kill-phase-on: FAILURE
844 - apex-builder-{stream}
848 name: 'apex-create-snapshot'
850 # Job template for clean
852 # Required Variables:
853 # stream: branch with - in place of / (eg. stable)
859 !include-raw-escape: ./apex-snapshot-create.sh
863 name: 'apex-upload-snapshot'
865 # Job template for clean
867 # Required Variables:
868 # stream: branch with - in place of / (eg. stable)
874 properties-content: ARTIFACT_TYPE=snapshot
875 - 'apex-upload-artifact'
879 name: 'apex-csit-promote-daily-{stream}'
881 # Job template for promoting CSIT Snapshots
883 # Required Variables:
884 # stream: branch with - in place of / (eg. stable)
885 # branch: branch (eg. stable)
886 node: '{virtual-slave}'
887 project-type: 'multijob'
898 gs-pathname: '{gs-pathname}'
902 use-build-blocker: true
911 - timed: '0 12 * * 0'
916 condition: SUCCESSFUL
918 - name: 'apex-build-{stream}'
919 current-parameters: false
920 predefined-parameters: |
921 GERRIT_BRANCH=$GERRIT_BRANCH
922 GERRIT_REFSPEC=$GERRIT_REFSPEC
923 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
924 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
925 node-parameters: false
926 kill-phase-on: FAILURE
931 condition: SUCCESSFUL
933 - name: 'apex-deploy-virtual-{stream}'
934 current-parameters: false
935 predefined-parameters: |
936 DEPLOY_SCENARIO=os-odl_l3-csit-noha
938 GERRIT_BRANCH=$GERRIT_BRANCH
939 GERRIT_REFSPEC=$GERRIT_REFSPEC
940 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
941 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
943 node-parameters: true
944 kill-phase-on: FAILURE
949 condition: SUCCESSFUL
951 - name: 'functest-apex-virtual-suite-{stream}'
952 current-parameters: false
953 predefined-parameters: |
954 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
955 FUNCTEST_SUITE_NAME=tempest_smoke_serial
956 GERRIT_BRANCH=$GERRIT_BRANCH
957 GERRIT_REFSPEC=$GERRIT_REFSPEC
958 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
959 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
960 node-parameters: true
961 kill-phase-on: FAILURE
965 name: create snapshot
966 condition: SUCCESSFUL
968 - name: 'apex-create-snapshot'
969 current-parameters: false
970 predefined-parameters: |
972 node-parameters: true
973 kill-phase-on: FAILURE
977 name: upload snapshot
978 condition: SUCCESSFUL
980 - name: 'apex-upload-snapshot'
981 current-parameters: false
982 predefined-parameters: |
984 node-parameters: true
985 kill-phase-on: FAILURE
991 name: 'apex-fdio-promote-daily-{stream}'
993 # Job template for promoting CSIT Snapshots
995 # Required Variables:
996 # stream: branch with - in place of / (eg. stable)
997 # branch: branch (eg. stable)
998 node: '{virtual-slave}'
999 project-type: 'multijob'
1006 - project-parameter:
1007 project: '{project}'
1010 gs-pathname: '{gs-pathname}'
1014 use-build-blocker: true
1025 condition: SUCCESSFUL
1027 - name: 'apex-build-{stream}'
1028 current-parameters: false
1029 predefined-parameters: |
1030 GERRIT_BRANCH=$GERRIT_BRANCH
1031 GERRIT_REFSPEC=$GERRIT_REFSPEC
1032 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1033 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1034 node-parameters: false
1035 kill-phase-on: FAILURE
1039 name: deploy-virtual
1040 condition: SUCCESSFUL
1042 - name: 'apex-deploy-virtual-{stream}'
1043 current-parameters: false
1044 predefined-parameters: |
1045 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1047 GERRIT_BRANCH=$GERRIT_BRANCH
1048 GERRIT_REFSPEC=$GERRIT_REFSPEC
1049 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1050 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1052 node-parameters: true
1053 kill-phase-on: FAILURE
1057 name: create snapshot
1058 condition: SUCCESSFUL
1060 - name: 'apex-create-snapshot'
1061 current-parameters: false
1062 predefined-parameters: |
1064 node-parameters: true
1065 kill-phase-on: FAILURE
1069 name: upload snapshot
1070 condition: SUCCESSFUL
1072 - name: 'apex-upload-snapshot'
1073 current-parameters: false
1074 predefined-parameters: |
1076 node-parameters: true
1077 kill-phase-on: FAILURE
1083 name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
1085 project-type: 'multijob'
1098 - '{project}-defaults'
1099 - project-parameter:
1100 project: '{project}'
1103 gs-pathname: '{gs-pathname}'
1105 name: DEPLOY_SCENARIO
1106 default: 'os-nosdn-nofeature-ha'
1107 description: "Scenario to deploy with."
1110 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1111 description: 'Git URL to use on this Jenkins Slave'
1114 default: /root/.ssh/id_rsa
1115 description: 'SSH key to use for Apex'
1120 use-build-blocker: true
1125 - 'apex-.*-promote.*'
1127 - 'apex-.+-baremetal-.+'
1134 - description-setter:
1135 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1137 name: 'Baremetal Deploy'
1138 condition: SUCCESSFUL
1140 - name: 'apex-deploy-baremetal-{stream}'
1141 node-parameters: true
1142 current-parameters: true
1143 predefined-parameters: |
1145 GERRIT_BRANCH=$GERRIT_BRANCH
1147 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1148 kill-phase-on: FAILURE
1155 - name: 'yardstick-apex-baremetal-daily-{stream}'
1156 node-parameters: true
1157 current-parameters: false
1158 predefined-parameters:
1159 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1160 kill-phase-on: NEVER
1161 abort-all-job: false
1164 # Dovetail Danube test job
1166 name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1168 project-type: 'multijob'
1175 - '{project}-defaults'
1176 - project-parameter:
1177 project: '{project}'
1178 branch: 'stable/danube'
1180 gs-pathname: '/danube'
1182 name: DEPLOY_SCENARIO
1183 default: 'os-nosdn-nofeature-ha'
1184 description: "Scenario to deploy with."
1189 use-build-blocker: true
1194 - 'apex-.*-promote.*'
1198 - timed: '0 1 * * *'
1201 - description-setter:
1202 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1204 name: 'Baremetal Deploy'
1205 condition: SUCCESSFUL
1207 - name: 'apex-deploy-baremetal-danube'
1208 node-parameters: true
1209 current-parameters: true
1210 predefined-parameters: |
1212 GERRIT_BRANCH=$GERRIT_BRANCH
1214 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1215 kill-phase-on: FAILURE
1222 - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1223 node-parameters: true
1224 current-parameters: false
1225 predefined-parameters:
1226 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1227 kill-phase-on: NEVER
1228 abort-all-job: false
1231 ########################
1233 ########################
1235 name: apex-parameter
1240 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1242 name: ARTIFACT_VERSION
1244 description: "Artifact version type"
1246 name: BUILD_DIRECTORY
1247 default: $WORKSPACE/.build
1248 description: "Directory where the build artifact will be located upon the completion of the build."
1250 name: CACHE_DIRECTORY
1251 default: $HOME/opnfv/apex-cache{gs-pathname}
1252 description: "Directory where the cache to be used during the build is located."
1253 # yamllint disable rule:line-length
1256 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1257 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1258 # yamllint enable rule:line-length
1261 default: '{gs-pathname}'
1262 description: "Version directory where opnfv artifacts are stored in gs repository"
1265 default: $GS_BASE{gs-pathname}
1266 description: "URL to Google Storage."
1270 description: "Flag to know if we should promote/upload snapshot artifacts."
1272 ########################
1274 ########################
1275 {% for stream in scenarios %}
1276 # {{ stream }} Builder
1278 name: apex-builder-{{ stream }}
1281 name: Baremetal Deploy and Test Phase
1282 condition: SUCCESSFUL
1284 {%- for scenario in scenarios[stream] %}
1285 - name: 'apex-{{ scenario }}-baremetal-{{ stream }}'
1286 node-parameters: false
1287 current-parameters: false
1288 predefined-parameters: |
1290 kill-phase-on: NEVER
1297 name: 'apex-unit-test'
1300 !include-raw: ./apex-unit-test.sh
1303 name: 'apex-upload-artifact'
1306 !include-raw: ./apex-upload-artifact.sh
1309 name: 'apex-download-artifact'
1312 !include-raw: ./apex-download-artifact.sh
1318 !include-raw: ./apex-deploy.sh
1320 #######################
1322 ########################
1326 - timed: '0 3 1 1 7'
1329 name: 'apex-euphrates'
1331 - timed: '0 12 * * *'
1336 - timed: '0 3 1 1 7'