5 - 'apex-verify-{stream}'
6 - 'apex-verify-gate-{stream}'
7 - 'apex-verify-unit-tests-{stream}'
8 - 'apex-runner-cperf-{stream}'
9 - 'apex-virtual-{stream}'
10 - 'apex-deploy-{platform}-{stream}'
11 - 'apex-daily-{stream}'
12 - 'apex-csit-promote-daily-{stream}'
13 - 'apex-fdio-promote-daily-{stream}'
14 - 'apex-{scenario}-baremetal-{scenario_stream}'
15 - 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
16 - 'apex-upload-snapshot'
17 - 'apex-create-snapshot'
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)
26 build-slave: 'apex-build-master'
27 virtual-slave: 'apex-virtual-master'
28 baremetal-slave: 'apex-baremetal-master'
29 verify-scenario: 'os-odl-nofeature-ha'
30 scenario_stream: 'master'
32 - euphrates: &euphrates
33 branch: 'stable/euphrates'
34 gs-pathname: '/euphrates'
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: 'euphrates'
42 branch: 'stable/danube'
43 gs-pathname: '/danube'
44 build-slave: 'apex-build-danube'
45 virtual-slave: 'apex-virtual-danube'
46 baremetal-slave: 'apex-baremetal-danube'
47 verify-scenario: 'os-odl_l3-nofeature-ha'
48 scenario_stream: 'danube'
53 {%- for stream in scenarios %}
54 {%- for scenario in scenarios[stream] %}
66 name: 'apex-verify-unit-tests-{stream}'
74 gs-pathname: '{gs-pathname}'
84 server-name: 'gerrit.opnfv.org'
86 - patchset-created-event:
87 exclude-drafts: 'false'
88 exclude-trivial-rebase: 'false'
89 exclude-no-code-change: 'true'
90 - draft-published-event
91 - comment-added-contains-event:
92 comment-contains-value: 'recheck'
93 - comment-added-contains-event:
94 comment-contains-value: 'reverify'
96 - project-compare-type: 'ANT'
97 project-pattern: 'apex'
99 - branch-compare-type: 'ANT'
100 branch-pattern: '**/{branch}'
101 disable-strict-forbidden-file-verification: 'false'
104 pattern: 'apex/tests/**'
105 forbidden-file-paths:
117 pattern: 'apex/build/**'
119 pattern: 'apex/common/**'
121 pattern: 'apex/inventory/**'
123 pattern: 'apex/network/**'
125 pattern: 'apex/overcloud/**'
127 pattern: 'apex/settings/**'
129 pattern: 'apex/undercloud/**'
131 pattern: 'apex/virtual/**'
141 !include-raw-escape: ./apex-unit-test.sh
145 name: 'apex-verify-{stream}'
147 node: '{virtual-slave}'
151 project-type: 'multijob'
155 gs-pathname: '{gs-pathname}/dev'
160 name: ARTIFACT_VERSION
162 description: "Used for overriding the ARTIFACT_VERSION"
168 server-name: 'gerrit.opnfv.org'
170 - patchset-created-event:
171 exclude-drafts: 'false'
172 exclude-trivial-rebase: 'false'
173 exclude-no-code-change: 'true'
174 - draft-published-event
175 - comment-added-contains-event:
176 comment-contains-value: 'recheck'
177 - comment-added-contains-event:
178 comment-contains-value: 'reverify'
180 - project-compare-type: 'ANT'
181 project-pattern: 'apex'
183 - branch-compare-type: 'ANT'
184 branch-pattern: '**/{branch}'
185 disable-strict-forbidden-file-verification: 'true'
198 pattern: 'apex/build/**'
200 pattern: 'apex/common/**'
202 pattern: 'apex/inventory/**'
204 pattern: 'apex/network/**'
206 pattern: 'apex/overcloud/**'
208 pattern: 'apex/settings/**'
210 pattern: 'apex/undercloud/**'
212 pattern: 'apex/virtual/**'
213 forbidden-file-paths:
215 pattern: 'apex/tests/**'
227 - description-setter:
228 description: "Built on $NODE_NAME"
231 condition: SUCCESSFUL
233 - name: 'apex-verify-unit-tests-{stream}'
234 current-parameters: false
235 predefined-parameters: |
236 GERRIT_BRANCH=$GERRIT_BRANCH
237 GERRIT_REFSPEC=$GERRIT_REFSPEC
238 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
239 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
240 node-parameters: false
241 kill-phase-on: FAILURE
246 condition: SUCCESSFUL
248 - name: 'apex-build-{stream}'
249 current-parameters: false
250 predefined-parameters: |
251 ARTIFACT_VERSION=$ARTIFACT_VERSION
252 GERRIT_BRANCH=$GERRIT_BRANCH
253 GERRIT_REFSPEC=$GERRIT_REFSPEC
254 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
255 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
256 node-parameters: false
257 kill-phase-on: FAILURE
262 condition: SUCCESSFUL
264 - name: 'apex-virtual-{stream}'
265 current-parameters: false
266 predefined-parameters: |
267 ARTIFACT_VERSION=$ARTIFACT_VERSION
268 DEPLOY_SCENARIO={verify-scenario}
270 GERRIT_BRANCH=$GERRIT_BRANCH
271 GERRIT_REFSPEC=$GERRIT_REFSPEC
272 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
273 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
274 node-parameters: true
275 kill-phase-on: FAILURE
279 # Verify Scenario Gate
281 name: 'apex-verify-gate-{stream}'
283 node: '{virtual-slave}'
287 project-type: 'multijob'
291 gs-pathname: '{gs-pathname}/dev'
297 default: https://gerrit.opnfv.org/gerrit/$PROJECT
298 description: "Used for overriding the GIT URL coming from parameters macro."
300 name: ARTIFACT_VERSION
302 description: "Used for overriding the ARTIFACT_VERSION"
309 server-name: 'gerrit.opnfv.org'
311 - comment-added-contains-event:
312 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
314 - project-compare-type: 'ANT'
315 project-pattern: 'apex'
317 - branch-compare-type: 'ANT'
318 branch-pattern: '**/{branch}'
334 use-build-blocker: true
347 condition: SUCCESSFUL
349 - name: 'apex-deploy-virtual-{stream}'
350 current-parameters: false
351 predefined-parameters: |
352 ARTIFACT_VERSION=$ARTIFACT_VERSION
355 GERRIT_BRANCH=$GERRIT_BRANCH
356 GERRIT_REFSPEC=$GERRIT_REFSPEC
357 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
358 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
359 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
360 node-parameters: true
361 kill-phase-on: FAILURE
365 echo DEPLOY_SCENARIO=$(echo $GERRIT_EVENT_COMMENT_TEXT | grep start-gate-scenario | grep -Eo 'os-.*') > detected_scenario
367 properties-file: detected_scenario
370 condition: SUCCESSFUL
372 - name: 'functest-apex-virtual-suite-{stream}'
373 current-parameters: false
374 predefined-parameters: |
375 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
377 FUNCTEST_TIER=healthcheck
378 GERRIT_BRANCH=$GERRIT_BRANCH
379 GERRIT_REFSPEC=$GERRIT_REFSPEC
380 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
381 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
382 node-parameters: true
388 name: 'apex-runner-cperf-{stream}'
391 project-type: 'multijob'
398 gs-pathname: '{gs-pathname}'
404 default: https://gerrit.opnfv.org/gerrit/$PROJECT
405 description: "Used for overriding the GIT URL coming from parameters macro."
413 use-build-blocker: false
423 - description-setter:
424 description: "Deployed on $NODE_NAME"
426 name: 'Baremetal Deploy'
429 - name: 'apex-deploy-baremetal-{stream}'
430 node-parameters: false
431 current-parameters: true
432 predefined-parameters: |
433 GERRIT_BRANCH=$GERRIT_BRANCH
436 DEPLOY_SCENARIO={verify-scenario}
437 kill-phase-on: FAILURE
442 condition: SUCCESSFUL
444 - name: 'cperf-apex-intel-pod2-daily-master'
445 node-parameters: true
446 current-parameters: false
447 predefined-parameters:
448 DEPLOY_SCENARIO={verify-scenario}
455 name: 'apex-deploy-{platform}-{stream}'
457 node: 'apex-{platform}-{stream}'
472 - '{project}-{platform}-{stream}-defaults'
477 gs-pathname: '{gs-pathname}'
479 name: DEPLOY_SCENARIO
480 default: '{verify-scenario}'
481 description: "Scenario to deploy with."
485 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
490 use-build-blocker: true
504 - description-setter:
505 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
506 - 'apex-download-artifact'
511 # Virtual Deploy and Test
513 name: 'apex-virtual-{stream}'
515 project-type: 'multijob'
523 - '{project}-defaults'
524 - '{project}-virtual-{stream}-defaults'
529 gs-pathname: '{gs-pathname}'
531 name: DEPLOY_SCENARIO
532 default: '{verify-scenario}'
533 description: "Scenario to deploy with."
535 name: ARTIFACT_VERSION
537 description: "Used for overriding the ARTIFACT_VERSION"
541 use-build-blocker: true
545 - 'apex-.*-promote.*'
548 - 'apex-verify-gate-.*'
554 - description-setter:
555 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
558 condition: SUCCESSFUL
560 - name: 'apex-deploy-virtual-{stream}'
561 current-parameters: false
562 predefined-parameters: |
563 ARTIFACT_VERSION=$ARTIFACT_VERSION
564 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
566 GERRIT_BRANCH=$GERRIT_BRANCH
567 GERRIT_REFSPEC=$GERRIT_REFSPEC
568 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
569 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
570 node-parameters: true
571 kill-phase-on: FAILURE
576 condition: SUCCESSFUL
578 - name: 'functest-apex-virtual-suite-{stream}'
579 current-parameters: false
580 predefined-parameters: |
581 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
582 FUNCTEST_SUITE_NAME=healthcheck
583 GERRIT_BRANCH=$GERRIT_BRANCH
584 GERRIT_REFSPEC=$GERRIT_REFSPEC
585 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
586 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
587 node-parameters: true
592 # Baremetal Deploy and Test
594 name: 'apex-{scenario}-baremetal-{scenario_stream}'
596 project-type: 'multijob'
604 - '{project}-defaults'
605 - '{project}-baremetal-{scenario_stream}-defaults'
610 gs-pathname: '{gs-pathname}'
612 name: DEPLOY_SCENARIO
613 default: '{scenario}'
614 description: "Scenario to deploy with."
618 use-build-blocker: true
623 - 'apex-.*-promote.*'
625 - 'apex-.+-baremetal-.+'
631 - description-setter:
632 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
634 name: 'Baremetal Deploy'
635 condition: SUCCESSFUL
637 - name: 'apex-deploy-baremetal-{scenario_stream}'
638 node-parameters: true
639 current-parameters: true
640 predefined-parameters: |
642 GERRIT_BRANCH=$GERRIT_BRANCH
644 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
645 kill-phase-on: FAILURE
649 name: 'OPNFV Test Suite'
651 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
652 node-parameters: true
653 current-parameters: false
654 predefined-parameters:
655 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
663 !include-raw-escape: ./update-build-result.groovy
667 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
669 project-type: 'multijob'
674 - '{project}-defaults'
675 - '{project}-baremetal-{scenario_stream}-defaults'
680 gs-pathname: '{gs-pathname}'
682 name: DEPLOY_SCENARIO
683 default: '{scenario}'
684 description: "Scenario to deploy with."
688 use-build-blocker: true
693 - 'apex-.*-promote.*'
695 - 'apex-testsuite-.+-baremetal-.+'
701 - description-setter:
702 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
707 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
708 node-parameters: true
709 current-parameters: false
710 predefined-parameters:
711 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
719 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
720 node-parameters: true
721 current-parameters: false
722 predefined-parameters:
723 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
731 - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
732 node-parameters: true
733 current-parameters: false
734 predefined-parameters:
735 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
737 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|nosdn-kvm|odl_l3-fdio)-ha/"
744 - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
745 node-parameters: true
746 current-parameters: false
747 predefined-parameters:
748 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
749 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
753 # Build status is always success due conditional plugin prefetching
754 # build status before multijob phases execute
755 # - conditional-step:
756 # condition-kind: current-status
757 # condition-worst: SUCCESS
758 # condtion-best: SUCCESS
759 # on-evaluation-failure: mark-unstable
761 # - shell: 'echo "Tests Passed"'
764 name: 'apex-daily-{stream}'
766 # Job template for daily build
768 # Required Variables:
769 # stream: branch with - in place of / (eg. stable)
770 # branch: branch (eg. stable)
771 project-type: 'multijob'
773 node: '{baremetal-slave}'
775 disabled: '{obj:disable_daily}'
781 - '{project}-defaults'
782 - '{project}-baremetal-{stream}-defaults'
787 gs-pathname: '{gs-pathname}'
792 use-build-blocker: true
803 condition: SUCCESSFUL
805 - name: 'apex-build-{stream}'
806 current-parameters: false
807 predefined-parameters: |
808 GERRIT_BRANCH=$GERRIT_BRANCH
810 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
811 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
812 node-parameters: true
813 kill-phase-on: FAILURE
817 name: 'Verify and upload ISO'
818 condition: SUCCESSFUL
820 - name: 'apex-verify-iso-{stream}'
821 current-parameters: false
822 predefined-parameters: |
823 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
824 GERRIT_BRANCH=$GERRIT_BRANCH
826 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
827 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
828 node-parameters: true
829 kill-phase-on: FAILURE
832 - apex-builder-{stream}
836 name: 'apex-create-snapshot'
838 # Job template for clean
840 # Required Variables:
841 # stream: branch with - in place of / (eg. stable)
847 !include-raw-escape: ./apex-snapshot-create.sh
851 name: 'apex-upload-snapshot'
853 # Job template for clean
855 # Required Variables:
856 # stream: branch with - in place of / (eg. stable)
862 properties-content: ARTIFACT_TYPE=snapshot
863 - 'apex-upload-artifact'
867 name: 'apex-csit-promote-daily-{stream}'
869 # Job template for promoting CSIT Snapshots
871 # Required Variables:
872 # stream: branch with - in place of / (eg. stable)
873 # branch: branch (eg. stable)
874 node: '{virtual-slave}'
875 project-type: 'multijob'
886 gs-pathname: '{gs-pathname}'
890 use-build-blocker: true
899 - timed: '0 12 * * 0'
904 condition: SUCCESSFUL
906 - name: 'apex-build-{stream}'
907 current-parameters: false
908 predefined-parameters: |
909 GERRIT_BRANCH=$GERRIT_BRANCH
910 GERRIT_REFSPEC=$GERRIT_REFSPEC
911 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
912 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
913 node-parameters: false
914 kill-phase-on: FAILURE
919 condition: SUCCESSFUL
921 - name: 'apex-deploy-virtual-{stream}'
922 current-parameters: false
923 predefined-parameters: |
924 DEPLOY_SCENARIO=os-odl_l3-csit-noha
926 GERRIT_BRANCH=$GERRIT_BRANCH
927 GERRIT_REFSPEC=$GERRIT_REFSPEC
928 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
929 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
931 node-parameters: true
932 kill-phase-on: FAILURE
937 condition: SUCCESSFUL
939 - name: 'functest-apex-virtual-suite-{stream}'
940 current-parameters: false
941 predefined-parameters: |
942 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
943 FUNCTEST_SUITE_NAME=tempest_smoke_serial
944 GERRIT_BRANCH=$GERRIT_BRANCH
945 GERRIT_REFSPEC=$GERRIT_REFSPEC
946 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
947 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
948 node-parameters: true
949 kill-phase-on: FAILURE
953 name: create snapshot
954 condition: SUCCESSFUL
956 - name: 'apex-create-snapshot'
957 current-parameters: false
958 predefined-parameters: |
960 node-parameters: true
961 kill-phase-on: FAILURE
965 name: upload snapshot
966 condition: SUCCESSFUL
968 - name: 'apex-upload-snapshot'
969 current-parameters: false
970 predefined-parameters: |
972 node-parameters: true
973 kill-phase-on: FAILURE
979 name: 'apex-fdio-promote-daily-{stream}'
981 # Job template for promoting CSIT Snapshots
983 # Required Variables:
984 # stream: branch with - in place of / (eg. stable)
985 # branch: branch (eg. stable)
986 node: '{virtual-slave}'
987 project-type: 'multijob'
998 gs-pathname: '{gs-pathname}'
1002 use-build-blocker: true
1013 condition: SUCCESSFUL
1015 - name: 'apex-build-{stream}'
1016 current-parameters: false
1017 predefined-parameters: |
1018 GERRIT_BRANCH=$GERRIT_BRANCH
1019 GERRIT_REFSPEC=$GERRIT_REFSPEC
1020 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1021 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1022 node-parameters: false
1023 kill-phase-on: FAILURE
1027 name: deploy-virtual
1028 condition: SUCCESSFUL
1030 - name: 'apex-deploy-virtual-{stream}'
1031 current-parameters: false
1032 predefined-parameters: |
1033 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1035 GERRIT_BRANCH=$GERRIT_BRANCH
1036 GERRIT_REFSPEC=$GERRIT_REFSPEC
1037 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1038 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1040 node-parameters: true
1041 kill-phase-on: FAILURE
1045 name: create snapshot
1046 condition: SUCCESSFUL
1048 - name: 'apex-create-snapshot'
1049 current-parameters: false
1050 predefined-parameters: |
1052 node-parameters: true
1053 kill-phase-on: FAILURE
1057 name: upload snapshot
1058 condition: SUCCESSFUL
1060 - name: 'apex-upload-snapshot'
1061 current-parameters: false
1062 predefined-parameters: |
1064 node-parameters: true
1065 kill-phase-on: FAILURE
1071 name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
1073 project-type: 'multijob'
1084 - '{project}-defaults'
1085 - project-parameter:
1086 project: '{project}'
1089 gs-pathname: '{gs-pathname}'
1091 name: DEPLOY_SCENARIO
1092 default: 'os-nosdn-nofeature-ha'
1093 description: "Scenario to deploy with."
1096 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1097 description: 'Git URL to use on this Jenkins Slave'
1100 default: /root/.ssh/id_rsa
1101 description: 'SSH key to use for Apex'
1105 use-build-blocker: true
1110 - 'apex-.*-promote.*'
1112 - 'apex-.+-baremetal-.+'
1118 - description-setter:
1119 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1121 name: 'Baremetal Deploy'
1122 condition: SUCCESSFUL
1124 - name: 'apex-deploy-baremetal-{stream}'
1125 node-parameters: true
1126 current-parameters: true
1127 predefined-parameters: |
1129 GERRIT_BRANCH=$GERRIT_BRANCH
1131 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1132 kill-phase-on: FAILURE
1139 - name: 'yardstick-apex-baremetal-daily-{stream}'
1140 node-parameters: true
1141 current-parameters: false
1142 predefined-parameters:
1143 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1144 kill-phase-on: NEVER
1145 abort-all-job: false
1148 # Dovetail Danube test job
1150 name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1152 project-type: 'multijob'
1159 - '{project}-defaults'
1160 - project-parameter:
1161 project: '{project}'
1162 branch: 'stable/danube'
1164 gs-pathname: '/danube'
1166 name: DEPLOY_SCENARIO
1167 default: 'os-nosdn-nofeature-ha'
1168 description: "Scenario to deploy with."
1173 use-build-blocker: true
1178 - 'apex-.*-promote.*'
1182 - timed: '0 1 * * *'
1185 - description-setter:
1186 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1188 name: 'Baremetal Deploy'
1189 condition: SUCCESSFUL
1191 - name: 'apex-deploy-baremetal-danube'
1192 node-parameters: true
1193 current-parameters: true
1194 predefined-parameters: |
1196 GERRIT_BRANCH=$GERRIT_BRANCH
1198 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1199 kill-phase-on: FAILURE
1206 - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1207 node-parameters: true
1208 current-parameters: false
1209 predefined-parameters:
1210 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1211 kill-phase-on: NEVER
1212 abort-all-job: false
1215 ########################
1217 ########################
1219 name: apex-parameter
1224 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1226 name: ARTIFACT_VERSION
1228 description: "Artifact version type"
1230 name: BUILD_DIRECTORY
1231 default: $WORKSPACE/.build
1232 description: "Directory where the build artifact will be located upon the completion of the build."
1234 name: CACHE_DIRECTORY
1235 default: $HOME/opnfv/apex-cache{gs-pathname}
1236 description: "Directory where the cache to be used during the build is located."
1239 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1240 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1243 default: '{gs-pathname}'
1244 description: "Version directory where opnfv artifacts are stored in gs repository"
1247 default: $GS_BASE{gs-pathname}
1248 description: "URL to Google Storage."
1252 description: "Flag to know if we should promote/upload snapshot artifacts."
1254 ########################
1256 ########################
1257 {% for stream in scenarios %}
1258 # {{ stream }} Builder
1260 name: apex-builder-{{ stream }}
1263 name: Baremetal Deploy and Test Phase
1264 condition: SUCCESSFUL
1266 {% for scenario in scenarios[stream] %}
1267 - name: 'apex-{{ scenario }}-baremetal-{{ stream }}'
1268 node-parameters: false
1269 current-parameters: false
1270 predefined-parameters: |
1272 kill-phase-on: NEVER
1279 name: 'apex-unit-test'
1282 !include-raw: ./apex-unit-test.sh
1285 name: 'apex-upload-artifact'
1288 !include-raw: ./apex-upload-artifact.sh
1291 name: 'apex-download-artifact'
1294 !include-raw: ./apex-download-artifact.sh
1300 !include-raw: ./apex-deploy.sh
1302 #######################
1304 ########################
1308 - timed: '0 3 1 1 7'
1310 name: 'apex-euphrates'
1312 - timed: '0 12 * * *'
1316 - timed: '0 3 1 1 7'