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'
31 - euphrates: &euphrates
32 branch: 'stable/euphrates'
33 gs-pathname: '/euphrates'
34 build-slave: 'apex-build-master'
35 virtual-slave: 'apex-virtual-master'
36 baremetal-slave: 'apex-baremetal-master'
37 verify-scenario: 'os-odl-nofeature-ha'
38 scenario_stream: 'euphrates'
40 branch: 'stable/danube'
41 gs-pathname: '/danube'
42 build-slave: 'apex-build-danube'
43 virtual-slave: 'apex-virtual-danube'
44 baremetal-slave: 'apex-baremetal-danube'
45 verify-scenario: 'os-odl_l3-nofeature-ha'
46 scenario_stream: 'danube'
50 {%- for stream in scenarios %}
51 {%- for scenario in scenarios[stream] %}
63 name: 'apex-verify-unit-tests-{stream}'
71 gs-pathname: '{gs-pathname}'
81 server-name: 'gerrit.opnfv.org'
83 - patchset-created-event:
84 exclude-drafts: 'false'
85 exclude-trivial-rebase: 'false'
86 exclude-no-code-change: 'true'
87 - draft-published-event
88 - comment-added-contains-event:
89 comment-contains-value: 'recheck'
90 - comment-added-contains-event:
91 comment-contains-value: 'reverify'
93 - project-compare-type: 'ANT'
94 project-pattern: 'apex'
96 - branch-compare-type: 'ANT'
97 branch-pattern: '**/{branch}'
98 disable-strict-forbidden-file-verification: 'false'
101 pattern: 'apex/tests/**'
102 forbidden-file-paths:
114 pattern: 'apex/build/**'
116 pattern: 'apex/common/**'
118 pattern: 'apex/inventory/**'
120 pattern: 'apex/network/**'
122 pattern: 'apex/overcloud/**'
124 pattern: 'apex/settings/**'
126 pattern: 'apex/undercloud/**'
128 pattern: 'apex/virtual/**'
138 !include-raw-escape: ./apex-unit-test.sh
142 name: 'apex-verify-{stream}'
144 node: '{virtual-slave}'
148 project-type: 'multijob'
152 gs-pathname: '{gs-pathname}/dev'
157 name: ARTIFACT_VERSION
159 description: "Used for overriding the ARTIFACT_VERSION"
165 server-name: 'gerrit.opnfv.org'
167 - patchset-created-event:
168 exclude-drafts: 'false'
169 exclude-trivial-rebase: 'false'
170 exclude-no-code-change: 'true'
171 - draft-published-event
172 - comment-added-contains-event:
173 comment-contains-value: 'recheck'
174 - comment-added-contains-event:
175 comment-contains-value: 'reverify'
177 - project-compare-type: 'ANT'
178 project-pattern: 'apex'
180 - branch-compare-type: 'ANT'
181 branch-pattern: '**/{branch}'
182 disable-strict-forbidden-file-verification: 'true'
195 pattern: 'apex/build/**'
197 pattern: 'apex/common/**'
199 pattern: 'apex/inventory/**'
201 pattern: 'apex/network/**'
203 pattern: 'apex/overcloud/**'
205 pattern: 'apex/settings/**'
207 pattern: 'apex/undercloud/**'
209 pattern: 'apex/virtual/**'
210 forbidden-file-paths:
212 pattern: 'apex/tests/**'
224 - description-setter:
225 description: "Built on $NODE_NAME"
228 condition: SUCCESSFUL
230 - name: 'apex-verify-unit-tests-{stream}'
231 current-parameters: false
232 predefined-parameters: |
233 GERRIT_BRANCH=$GERRIT_BRANCH
234 GERRIT_REFSPEC=$GERRIT_REFSPEC
235 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
236 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
237 node-parameters: false
238 kill-phase-on: FAILURE
243 condition: SUCCESSFUL
245 - name: 'apex-build-{stream}'
246 current-parameters: false
247 predefined-parameters: |
248 ARTIFACT_VERSION=$ARTIFACT_VERSION
249 GERRIT_BRANCH=$GERRIT_BRANCH
250 GERRIT_REFSPEC=$GERRIT_REFSPEC
251 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
252 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
253 node-parameters: false
254 kill-phase-on: FAILURE
259 condition: SUCCESSFUL
261 - name: 'apex-virtual-{stream}'
262 current-parameters: false
263 predefined-parameters: |
264 ARTIFACT_VERSION=$ARTIFACT_VERSION
265 DEPLOY_SCENARIO={verify-scenario}
267 GERRIT_BRANCH=$GERRIT_BRANCH
268 GERRIT_REFSPEC=$GERRIT_REFSPEC
269 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
270 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
271 node-parameters: true
272 kill-phase-on: FAILURE
276 # Verify Scenario Gate
278 name: 'apex-verify-gate-{stream}'
280 node: '{virtual-slave}'
284 project-type: 'multijob'
288 gs-pathname: '{gs-pathname}/dev'
294 default: https://gerrit.opnfv.org/gerrit/$PROJECT
295 description: "Used for overriding the GIT URL coming from parameters macro."
297 name: ARTIFACT_VERSION
299 description: "Used for overriding the ARTIFACT_VERSION"
306 server-name: 'gerrit.opnfv.org'
308 - comment-added-contains-event:
309 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
311 - project-compare-type: 'ANT'
312 project-pattern: 'apex'
314 - branch-compare-type: 'ANT'
315 branch-pattern: '**/{branch}'
331 use-build-blocker: true
344 condition: SUCCESSFUL
346 - name: 'apex-deploy-virtual-{stream}'
347 current-parameters: false
348 predefined-parameters: |
349 ARTIFACT_VERSION=$ARTIFACT_VERSION
352 GERRIT_BRANCH=$GERRIT_BRANCH
353 GERRIT_REFSPEC=$GERRIT_REFSPEC
354 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
355 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
356 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
357 node-parameters: true
358 kill-phase-on: FAILURE
362 echo DEPLOY_SCENARIO=$(echo $GERRIT_EVENT_COMMENT_TEXT | grep start-gate-scenario | grep -Eo 'os-.*') > detected_scenario
364 properties-file: detected_scenario
367 condition: SUCCESSFUL
369 - name: 'functest-apex-virtual-suite-{stream}'
370 current-parameters: false
371 predefined-parameters: |
372 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
374 FUNCTEST_TIER=healthcheck
375 GERRIT_BRANCH=$GERRIT_BRANCH
376 GERRIT_REFSPEC=$GERRIT_REFSPEC
377 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
378 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
379 node-parameters: true
385 name: 'apex-runner-cperf-{stream}'
388 project-type: 'multijob'
395 gs-pathname: '{gs-pathname}'
401 default: https://gerrit.opnfv.org/gerrit/$PROJECT
402 description: "Used for overriding the GIT URL coming from parameters macro."
410 use-build-blocker: false
420 - description-setter:
421 description: "Deployed on $NODE_NAME"
423 name: 'Baremetal Deploy'
426 - name: 'apex-deploy-baremetal-{stream}'
427 node-parameters: false
428 current-parameters: true
429 predefined-parameters: |
430 GERRIT_BRANCH=$GERRIT_BRANCH
433 DEPLOY_SCENARIO={verify-scenario}
434 kill-phase-on: FAILURE
439 condition: SUCCESSFUL
441 - name: 'cperf-apex-intel-pod2-daily-master'
442 node-parameters: true
443 current-parameters: false
444 predefined-parameters:
445 DEPLOY_SCENARIO={verify-scenario}
452 name: 'apex-deploy-{platform}-{stream}'
454 node: 'apex-{platform}-{stream}'
469 - '{project}-{platform}-{stream}-defaults'
474 gs-pathname: '{gs-pathname}'
476 name: DEPLOY_SCENARIO
477 default: '{verify-scenario}'
478 description: "Scenario to deploy with."
482 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
487 use-build-blocker: true
501 - description-setter:
502 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
503 - 'apex-download-artifact'
508 # Virtual Deploy and Test
510 name: 'apex-virtual-{stream}'
512 project-type: 'multijob'
520 - '{project}-defaults'
521 - '{project}-virtual-{stream}-defaults'
526 gs-pathname: '{gs-pathname}'
528 name: DEPLOY_SCENARIO
529 default: '{verify-scenario}'
530 description: "Scenario to deploy with."
532 name: ARTIFACT_VERSION
534 description: "Used for overriding the ARTIFACT_VERSION"
538 use-build-blocker: true
542 - 'apex-.*-promote.*'
545 - 'apex-verify-gate-.*'
551 - description-setter:
552 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
555 condition: SUCCESSFUL
557 - name: 'apex-deploy-virtual-{stream}'
558 current-parameters: false
559 predefined-parameters: |
560 ARTIFACT_VERSION=$ARTIFACT_VERSION
561 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
563 GERRIT_BRANCH=$GERRIT_BRANCH
564 GERRIT_REFSPEC=$GERRIT_REFSPEC
565 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
566 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
567 node-parameters: true
568 kill-phase-on: FAILURE
573 condition: SUCCESSFUL
575 - name: 'functest-apex-virtual-suite-{stream}'
576 current-parameters: false
577 predefined-parameters: |
578 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
579 FUNCTEST_SUITE_NAME=healthcheck
580 GERRIT_BRANCH=$GERRIT_BRANCH
581 GERRIT_REFSPEC=$GERRIT_REFSPEC
582 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
583 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
584 node-parameters: true
589 # Baremetal Deploy and Test
591 name: 'apex-{scenario}-baremetal-{scenario_stream}'
593 project-type: 'multijob'
601 - '{project}-defaults'
602 - '{project}-baremetal-{scenario_stream}-defaults'
607 gs-pathname: '{gs-pathname}'
609 name: DEPLOY_SCENARIO
610 default: '{scenario}'
611 description: "Scenario to deploy with."
615 use-build-blocker: true
620 - 'apex-.*-promote.*'
622 - 'apex-.+-baremetal-.+'
628 - description-setter:
629 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
631 name: 'Baremetal Deploy'
632 condition: SUCCESSFUL
634 - name: 'apex-deploy-baremetal-{scenario_stream}'
635 node-parameters: true
636 current-parameters: true
637 predefined-parameters: |
639 GERRIT_BRANCH=$GERRIT_BRANCH
641 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
642 kill-phase-on: FAILURE
646 name: 'OPNFV Test Suite'
648 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
649 node-parameters: true
650 current-parameters: false
651 predefined-parameters:
652 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
660 !include-raw-escape: ./update-build-result.groovy
664 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
666 project-type: 'multijob'
671 - '{project}-defaults'
672 - '{project}-baremetal-{scenario_stream}-defaults'
677 gs-pathname: '{gs-pathname}'
679 name: DEPLOY_SCENARIO
680 default: '{scenario}'
681 description: "Scenario to deploy with."
685 use-build-blocker: true
690 - 'apex-.*-promote.*'
692 - 'apex-testsuite-.+-baremetal-.+'
698 - description-setter:
699 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
704 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
705 node-parameters: true
706 current-parameters: false
707 predefined-parameters:
708 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
716 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
717 node-parameters: true
718 current-parameters: false
719 predefined-parameters:
720 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
728 - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
729 node-parameters: true
730 current-parameters: false
731 predefined-parameters:
732 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
734 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|nosdn-kvm|odl_l3-fdio)-ha/"
741 - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
742 node-parameters: true
743 current-parameters: false
744 predefined-parameters:
745 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
746 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
750 # Build status is always success due conditional plugin prefetching
751 # build status before multijob phases execute
752 # - conditional-step:
753 # condition-kind: current-status
754 # condition-worst: SUCCESS
755 # condtion-best: SUCCESS
756 # on-evaluation-failure: mark-unstable
758 # - shell: 'echo "Tests Passed"'
761 name: 'apex-daily-{stream}'
763 # Job template for daily build
765 # Required Variables:
766 # stream: branch with - in place of / (eg. stable)
767 # branch: branch (eg. stable)
768 project-type: 'multijob'
770 node: '{baremetal-slave}'
778 - '{project}-defaults'
779 - '{project}-baremetal-{stream}-defaults'
784 gs-pathname: '{gs-pathname}'
789 use-build-blocker: true
800 condition: SUCCESSFUL
802 - name: 'apex-build-{stream}'
803 current-parameters: false
804 predefined-parameters: |
805 GERRIT_BRANCH=$GERRIT_BRANCH
807 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
808 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
809 node-parameters: true
810 kill-phase-on: FAILURE
814 name: 'Verify and upload ISO'
815 condition: SUCCESSFUL
817 - name: 'apex-verify-iso-{stream}'
818 current-parameters: false
819 predefined-parameters: |
820 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
821 GERRIT_BRANCH=$GERRIT_BRANCH
823 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
824 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
825 node-parameters: true
826 kill-phase-on: FAILURE
829 - apex-builder-{stream}
833 name: 'apex-create-snapshot'
835 # Job template for clean
837 # Required Variables:
838 # stream: branch with - in place of / (eg. stable)
844 !include-raw-escape: ./apex-snapshot-create.sh
848 name: 'apex-upload-snapshot'
850 # Job template for clean
852 # Required Variables:
853 # stream: branch with - in place of / (eg. stable)
859 properties-content: ARTIFACT_TYPE=snapshot
860 - 'apex-upload-artifact'
864 name: 'apex-csit-promote-daily-{stream}'
866 # Job template for promoting CSIT Snapshots
868 # Required Variables:
869 # stream: branch with - in place of / (eg. stable)
870 # branch: branch (eg. stable)
871 node: '{virtual-slave}'
872 project-type: 'multijob'
883 gs-pathname: '{gs-pathname}'
887 use-build-blocker: true
896 - timed: '0 12 * * 0'
901 condition: SUCCESSFUL
903 - name: 'apex-build-{stream}'
904 current-parameters: false
905 predefined-parameters: |
906 GERRIT_BRANCH=$GERRIT_BRANCH
907 GERRIT_REFSPEC=$GERRIT_REFSPEC
908 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
909 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
910 node-parameters: false
911 kill-phase-on: FAILURE
916 condition: SUCCESSFUL
918 - name: 'apex-deploy-virtual-{stream}'
919 current-parameters: false
920 predefined-parameters: |
921 DEPLOY_SCENARIO=os-odl_l3-csit-noha
923 GERRIT_BRANCH=$GERRIT_BRANCH
924 GERRIT_REFSPEC=$GERRIT_REFSPEC
925 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
926 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
928 node-parameters: true
929 kill-phase-on: FAILURE
934 condition: SUCCESSFUL
936 - name: 'functest-apex-virtual-suite-{stream}'
937 current-parameters: false
938 predefined-parameters: |
939 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
940 FUNCTEST_SUITE_NAME=tempest_smoke_serial
941 GERRIT_BRANCH=$GERRIT_BRANCH
942 GERRIT_REFSPEC=$GERRIT_REFSPEC
943 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
944 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
945 node-parameters: true
946 kill-phase-on: FAILURE
950 name: create snapshot
951 condition: SUCCESSFUL
953 - name: 'apex-create-snapshot'
954 current-parameters: false
955 predefined-parameters: |
957 node-parameters: true
958 kill-phase-on: FAILURE
962 name: upload snapshot
963 condition: SUCCESSFUL
965 - name: 'apex-upload-snapshot'
966 current-parameters: false
967 predefined-parameters: |
969 node-parameters: true
970 kill-phase-on: FAILURE
976 name: 'apex-fdio-promote-daily-{stream}'
978 # Job template for promoting CSIT Snapshots
980 # Required Variables:
981 # stream: branch with - in place of / (eg. stable)
982 # branch: branch (eg. stable)
983 node: '{virtual-slave}'
984 project-type: 'multijob'
995 gs-pathname: '{gs-pathname}'
999 use-build-blocker: true
1010 condition: SUCCESSFUL
1012 - name: 'apex-build-{stream}'
1013 current-parameters: false
1014 predefined-parameters: |
1015 GERRIT_BRANCH=$GERRIT_BRANCH
1016 GERRIT_REFSPEC=$GERRIT_REFSPEC
1017 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1018 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1019 node-parameters: false
1020 kill-phase-on: FAILURE
1024 name: deploy-virtual
1025 condition: SUCCESSFUL
1027 - name: 'apex-deploy-virtual-{stream}'
1028 current-parameters: false
1029 predefined-parameters: |
1030 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1032 GERRIT_BRANCH=$GERRIT_BRANCH
1033 GERRIT_REFSPEC=$GERRIT_REFSPEC
1034 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1035 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1037 node-parameters: true
1038 kill-phase-on: FAILURE
1042 name: create snapshot
1043 condition: SUCCESSFUL
1045 - name: 'apex-create-snapshot'
1046 current-parameters: false
1047 predefined-parameters: |
1049 node-parameters: true
1050 kill-phase-on: FAILURE
1054 name: upload snapshot
1055 condition: SUCCESSFUL
1057 - name: 'apex-upload-snapshot'
1058 current-parameters: false
1059 predefined-parameters: |
1061 node-parameters: true
1062 kill-phase-on: FAILURE
1068 name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
1070 project-type: 'multijob'
1081 - '{project}-defaults'
1082 - project-parameter:
1083 project: '{project}'
1086 gs-pathname: '{gs-pathname}'
1088 name: DEPLOY_SCENARIO
1089 default: 'os-nosdn-nofeature-ha'
1090 description: "Scenario to deploy with."
1093 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1094 description: 'Git URL to use on this Jenkins Slave'
1097 default: /root/.ssh/id_rsa
1098 description: 'SSH key to use for Apex'
1102 use-build-blocker: true
1107 - 'apex-.*-promote.*'
1109 - 'apex-.+-baremetal-.+'
1115 - description-setter:
1116 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1118 name: 'Baremetal Deploy'
1119 condition: SUCCESSFUL
1121 - name: 'apex-deploy-baremetal-{stream}'
1122 node-parameters: true
1123 current-parameters: true
1124 predefined-parameters: |
1126 GERRIT_BRANCH=$GERRIT_BRANCH
1128 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1129 kill-phase-on: FAILURE
1136 - name: 'yardstick-apex-baremetal-daily-{stream}'
1137 node-parameters: true
1138 current-parameters: false
1139 predefined-parameters:
1140 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1141 kill-phase-on: NEVER
1142 abort-all-job: false
1145 # Dovetail Danube test job
1147 name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1149 project-type: 'multijob'
1156 - '{project}-defaults'
1157 - project-parameter:
1158 project: '{project}'
1159 branch: 'stable/danube'
1161 gs-pathname: '/danube'
1163 name: DEPLOY_SCENARIO
1164 default: 'os-nosdn-nofeature-ha'
1165 description: "Scenario to deploy with."
1170 use-build-blocker: true
1175 - 'apex-.*-promote.*'
1179 - timed: '0 1 * * *'
1182 - description-setter:
1183 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1185 name: 'Baremetal Deploy'
1186 condition: SUCCESSFUL
1188 - name: 'apex-deploy-baremetal-danube'
1189 node-parameters: true
1190 current-parameters: true
1191 predefined-parameters: |
1193 GERRIT_BRANCH=$GERRIT_BRANCH
1195 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1196 kill-phase-on: FAILURE
1203 - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1204 node-parameters: true
1205 current-parameters: false
1206 predefined-parameters:
1207 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1208 kill-phase-on: NEVER
1209 abort-all-job: false
1212 ########################
1214 ########################
1216 name: apex-parameter
1221 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1223 name: ARTIFACT_VERSION
1225 description: "Artifact version type"
1227 name: BUILD_DIRECTORY
1228 default: $WORKSPACE/.build
1229 description: "Directory where the build artifact will be located upon the completion of the build."
1231 name: CACHE_DIRECTORY
1232 default: $HOME/opnfv/apex-cache{gs-pathname}
1233 description: "Directory where the cache to be used during the build is located."
1236 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1237 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1240 default: '{gs-pathname}'
1241 description: "Version directory where opnfv artifacts are stored in gs repository"
1244 default: $GS_BASE{gs-pathname}
1245 description: "URL to Google Storage."
1249 description: "Flag to know if we should promote/upload snapshot artifacts."
1251 ########################
1253 ########################
1254 {% for stream in scenarios %}
1255 # {{ stream }} Builder
1257 name: apex-builder-{{ stream }}
1260 name: Baremetal Deploy and Test Phase
1261 condition: SUCCESSFUL
1263 {% for scenario in scenarios[stream] %}
1264 - name: 'apex-{{ scenario }}-baremetal-{{ stream }}'
1265 node-parameters: false
1266 current-parameters: false
1267 predefined-parameters: |
1269 kill-phase-on: NEVER
1276 name: 'apex-unit-test'
1279 !include-raw: ./apex-unit-test.sh
1282 name: 'apex-upload-artifact'
1285 !include-raw: ./apex-upload-artifact.sh
1288 name: 'apex-download-artifact'
1291 !include-raw: ./apex-download-artifact.sh
1297 !include-raw: ./apex-deploy.sh
1299 #######################
1301 ########################
1305 - timed: '0 3 1 1 7'
1307 name: 'apex-euphrates'
1309 - timed: '0 12 * * *'
1313 - timed: '0 3 1 1 7'