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
373 FUNCTEST_SUITE_NAME=healthcheck
374 GERRIT_BRANCH=$GERRIT_BRANCH
375 GERRIT_REFSPEC=$GERRIT_REFSPEC
376 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
377 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
378 node-parameters: true
384 name: 'apex-runner-cperf-{stream}'
387 project-type: 'multijob'
394 gs-pathname: '{gs-pathname}'
400 default: https://gerrit.opnfv.org/gerrit/$PROJECT
401 description: "Used for overriding the GIT URL coming from parameters macro."
409 use-build-blocker: false
419 - description-setter:
420 description: "Deployed on $NODE_NAME"
422 name: 'Baremetal Deploy'
425 - name: 'apex-deploy-baremetal-{stream}'
426 node-parameters: false
427 current-parameters: true
428 predefined-parameters: |
429 GERRIT_BRANCH=$GERRIT_BRANCH
432 DEPLOY_SCENARIO={verify-scenario}
433 kill-phase-on: FAILURE
438 condition: SUCCESSFUL
440 - name: 'cperf-apex-intel-pod2-daily-master'
441 node-parameters: true
442 current-parameters: false
443 predefined-parameters:
444 DEPLOY_SCENARIO={verify-scenario}
451 name: 'apex-deploy-{platform}-{stream}'
453 node: 'apex-{platform}-{stream}'
468 - '{project}-{platform}-{stream}-defaults'
473 gs-pathname: '{gs-pathname}'
475 name: DEPLOY_SCENARIO
476 default: '{verify-scenario}'
477 description: "Scenario to deploy with."
481 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
486 use-build-blocker: true
500 - description-setter:
501 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
502 - 'apex-download-artifact'
507 # Virtual Deploy and Test
509 name: 'apex-virtual-{stream}'
511 project-type: 'multijob'
519 - '{project}-defaults'
520 - '{project}-virtual-{stream}-defaults'
525 gs-pathname: '{gs-pathname}'
527 name: DEPLOY_SCENARIO
528 default: '{verify-scenario}'
529 description: "Scenario to deploy with."
531 name: ARTIFACT_VERSION
533 description: "Used for overriding the ARTIFACT_VERSION"
537 use-build-blocker: true
541 - 'apex-.*-promote.*'
544 - 'apex-verify-gate-.*'
550 - description-setter:
551 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
554 condition: SUCCESSFUL
556 - name: 'apex-deploy-virtual-{stream}'
557 current-parameters: false
558 predefined-parameters: |
559 ARTIFACT_VERSION=$ARTIFACT_VERSION
560 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
562 GERRIT_BRANCH=$GERRIT_BRANCH
563 GERRIT_REFSPEC=$GERRIT_REFSPEC
564 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
565 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
566 node-parameters: true
567 kill-phase-on: FAILURE
572 condition: SUCCESSFUL
574 - name: 'functest-apex-virtual-suite-{stream}'
575 current-parameters: false
576 predefined-parameters: |
577 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
578 FUNCTEST_SUITE_NAME=healthcheck
579 GERRIT_BRANCH=$GERRIT_BRANCH
580 GERRIT_REFSPEC=$GERRIT_REFSPEC
581 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
582 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
583 node-parameters: true
588 # Baremetal Deploy and Test
590 name: 'apex-{scenario}-baremetal-{scenario_stream}'
592 project-type: 'multijob'
600 - '{project}-defaults'
601 - '{project}-baremetal-{scenario_stream}-defaults'
606 gs-pathname: '{gs-pathname}'
608 name: DEPLOY_SCENARIO
609 default: '{scenario}'
610 description: "Scenario to deploy with."
614 use-build-blocker: true
619 - 'apex-.*-promote.*'
621 - 'apex-.+-baremetal-.+'
627 - description-setter:
628 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
630 name: 'Baremetal Deploy'
631 condition: SUCCESSFUL
633 - name: 'apex-deploy-baremetal-{scenario_stream}'
634 node-parameters: true
635 current-parameters: true
636 predefined-parameters: |
638 GERRIT_BRANCH=$GERRIT_BRANCH
640 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
641 kill-phase-on: FAILURE
645 name: 'OPNFV Test Suite'
647 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
648 node-parameters: true
649 current-parameters: false
650 predefined-parameters:
651 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
659 !include-raw-escape: ./update-build-result.groovy
663 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
665 project-type: 'multijob'
670 - '{project}-defaults'
671 - '{project}-baremetal-{scenario_stream}-defaults'
676 gs-pathname: '{gs-pathname}'
678 name: DEPLOY_SCENARIO
679 default: '{scenario}'
680 description: "Scenario to deploy with."
684 use-build-blocker: true
689 - 'apex-.*-promote.*'
691 - 'apex-testsuite-.+-baremetal-.+'
697 - description-setter:
698 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
703 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
704 node-parameters: true
705 current-parameters: false
706 predefined-parameters:
707 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
715 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
716 node-parameters: true
717 current-parameters: false
718 predefined-parameters:
719 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
727 - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
728 node-parameters: true
729 current-parameters: false
730 predefined-parameters:
731 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
733 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|nosdn-kvm|odl_l3-fdio)-ha/"
740 - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
741 node-parameters: true
742 current-parameters: false
743 predefined-parameters:
744 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
745 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
749 # Build status is always success due conditional plugin prefetching
750 # build status before multijob phases execute
751 # - conditional-step:
752 # condition-kind: current-status
753 # condition-worst: SUCCESS
754 # condtion-best: SUCCESS
755 # on-evaluation-failure: mark-unstable
757 # - shell: 'echo "Tests Passed"'
760 name: 'apex-daily-{stream}'
762 # Job template for daily build
764 # Required Variables:
765 # stream: branch with - in place of / (eg. stable)
766 # branch: branch (eg. stable)
767 project-type: 'multijob'
769 node: '{baremetal-slave}'
777 - '{project}-defaults'
778 - '{project}-baremetal-{stream}-defaults'
783 gs-pathname: '{gs-pathname}'
794 condition: SUCCESSFUL
796 - name: 'apex-build-{stream}'
797 current-parameters: false
798 predefined-parameters: |
799 GERRIT_BRANCH=$GERRIT_BRANCH
801 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
802 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
803 node-parameters: true
804 kill-phase-on: FAILURE
808 name: 'Verify and upload ISO'
809 condition: SUCCESSFUL
811 - name: 'apex-verify-iso-{stream}'
812 current-parameters: false
813 predefined-parameters: |
814 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
815 GERRIT_BRANCH=$GERRIT_BRANCH
817 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
818 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
819 node-parameters: true
820 kill-phase-on: FAILURE
823 - apex-builder-{stream}
827 name: 'apex-create-snapshot'
829 # Job template for clean
831 # Required Variables:
832 # stream: branch with - in place of / (eg. stable)
838 !include-raw-escape: ./apex-snapshot-create.sh
842 name: 'apex-upload-snapshot'
844 # Job template for clean
846 # Required Variables:
847 # stream: branch with - in place of / (eg. stable)
853 properties-content: ARTIFACT_TYPE=snapshot
854 - 'apex-upload-artifact'
858 name: 'apex-csit-promote-daily-{stream}'
860 # Job template for promoting CSIT Snapshots
862 # Required Variables:
863 # stream: branch with - in place of / (eg. stable)
864 # branch: branch (eg. stable)
865 node: '{virtual-slave}'
866 project-type: 'multijob'
877 gs-pathname: '{gs-pathname}'
881 use-build-blocker: true
890 - timed: '0 12 * * 0'
895 condition: SUCCESSFUL
897 - name: 'apex-build-{stream}'
898 current-parameters: false
899 predefined-parameters: |
900 GERRIT_BRANCH=$GERRIT_BRANCH
901 GERRIT_REFSPEC=$GERRIT_REFSPEC
902 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
903 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
904 node-parameters: false
905 kill-phase-on: FAILURE
910 condition: SUCCESSFUL
912 - name: 'apex-deploy-virtual-{stream}'
913 current-parameters: false
914 predefined-parameters: |
915 DEPLOY_SCENARIO=os-odl_l3-csit-noha
917 GERRIT_BRANCH=$GERRIT_BRANCH
918 GERRIT_REFSPEC=$GERRIT_REFSPEC
919 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
920 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
922 node-parameters: true
923 kill-phase-on: FAILURE
928 condition: SUCCESSFUL
930 - name: 'functest-apex-virtual-suite-{stream}'
931 current-parameters: false
932 predefined-parameters: |
933 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
934 FUNCTEST_SUITE_NAME=tempest_smoke_serial
935 GERRIT_BRANCH=$GERRIT_BRANCH
936 GERRIT_REFSPEC=$GERRIT_REFSPEC
937 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
938 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
939 node-parameters: true
940 kill-phase-on: FAILURE
944 name: create snapshot
945 condition: SUCCESSFUL
947 - name: 'apex-create-snapshot'
948 current-parameters: false
949 predefined-parameters: |
951 node-parameters: true
952 kill-phase-on: FAILURE
956 name: upload snapshot
957 condition: SUCCESSFUL
959 - name: 'apex-upload-snapshot'
960 current-parameters: false
961 predefined-parameters: |
963 node-parameters: true
964 kill-phase-on: FAILURE
970 name: 'apex-fdio-promote-daily-{stream}'
972 # Job template for promoting CSIT Snapshots
974 # Required Variables:
975 # stream: branch with - in place of / (eg. stable)
976 # branch: branch (eg. stable)
977 node: '{virtual-slave}'
978 project-type: 'multijob'
989 gs-pathname: '{gs-pathname}'
993 use-build-blocker: true
1004 condition: SUCCESSFUL
1006 - name: 'apex-build-{stream}'
1007 current-parameters: false
1008 predefined-parameters: |
1009 GERRIT_BRANCH=$GERRIT_BRANCH
1010 GERRIT_REFSPEC=$GERRIT_REFSPEC
1011 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1012 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1013 node-parameters: false
1014 kill-phase-on: FAILURE
1018 name: deploy-virtual
1019 condition: SUCCESSFUL
1021 - name: 'apex-deploy-virtual-{stream}'
1022 current-parameters: false
1023 predefined-parameters: |
1024 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1026 GERRIT_BRANCH=$GERRIT_BRANCH
1027 GERRIT_REFSPEC=$GERRIT_REFSPEC
1028 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1029 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1031 node-parameters: true
1032 kill-phase-on: FAILURE
1036 name: create snapshot
1037 condition: SUCCESSFUL
1039 - name: 'apex-create-snapshot'
1040 current-parameters: false
1041 predefined-parameters: |
1043 node-parameters: true
1044 kill-phase-on: FAILURE
1048 name: upload snapshot
1049 condition: SUCCESSFUL
1051 - name: 'apex-upload-snapshot'
1052 current-parameters: false
1053 predefined-parameters: |
1055 node-parameters: true
1056 kill-phase-on: FAILURE
1062 name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
1064 project-type: 'multijob'
1075 - '{project}-defaults'
1076 - project-parameter:
1077 project: '{project}'
1080 gs-pathname: '{gs-pathname}'
1082 name: DEPLOY_SCENARIO
1083 default: 'os-nosdn-nofeature-ha'
1084 description: "Scenario to deploy with."
1087 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1088 description: 'Git URL to use on this Jenkins Slave'
1091 default: /root/.ssh/id_rsa
1092 description: 'SSH key to use for Apex'
1096 use-build-blocker: true
1101 - 'apex-.*-promote.*'
1103 - 'apex-.+-baremetal-.+'
1109 - description-setter:
1110 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1112 name: 'Baremetal Deploy'
1113 condition: SUCCESSFUL
1115 - name: 'apex-deploy-baremetal-{stream}'
1116 node-parameters: true
1117 current-parameters: true
1118 predefined-parameters: |
1120 GERRIT_BRANCH=$GERRIT_BRANCH
1122 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1123 kill-phase-on: FAILURE
1130 - name: 'yardstick-apex-baremetal-daily-{stream}'
1131 node-parameters: true
1132 current-parameters: false
1133 predefined-parameters:
1134 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1135 kill-phase-on: NEVER
1136 abort-all-job: false
1139 # Dovetail Danube test job
1141 name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1143 project-type: 'multijob'
1150 - '{project}-defaults'
1151 - project-parameter:
1152 project: '{project}'
1153 branch: 'stable/danube'
1155 gs-pathname: '/danube'
1157 name: DEPLOY_SCENARIO
1158 default: 'os-nosdn-nofeature-ha'
1159 description: "Scenario to deploy with."
1164 use-build-blocker: true
1169 - 'apex-.*-promote.*'
1173 - timed: '0 12 * * *'
1176 - description-setter:
1177 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1179 name: 'Baremetal Deploy'
1180 condition: SUCCESSFUL
1182 - name: 'apex-deploy-baremetal-danube'
1183 node-parameters: true
1184 current-parameters: true
1185 predefined-parameters: |
1187 GERRIT_BRANCH=$GERRIT_BRANCH
1189 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1190 kill-phase-on: FAILURE
1197 - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1198 node-parameters: true
1199 current-parameters: false
1200 predefined-parameters:
1201 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1202 kill-phase-on: NEVER
1203 abort-all-job: false
1206 ########################
1208 ########################
1210 name: apex-parameter
1215 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1217 name: ARTIFACT_VERSION
1219 description: "Artifact version type"
1221 name: BUILD_DIRECTORY
1222 default: $WORKSPACE/.build
1223 description: "Directory where the build artifact will be located upon the completion of the build."
1225 name: CACHE_DIRECTORY
1226 default: $HOME/opnfv/apex-cache{gs-pathname}
1227 description: "Directory where the cache to be used during the build is located."
1230 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1231 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1234 default: '{gs-pathname}'
1235 description: "Version directory where opnfv artifacts are stored in gs repository"
1238 default: $GS_BASE{gs-pathname}
1239 description: "URL to Google Storage."
1243 description: "Flag to know if we should promote/upload snapshot artifacts."
1245 ########################
1247 ########################
1248 {% for stream in scenarios %}
1249 # {{ stream }} Builder
1251 name: apex-builder-{{ stream }}
1254 name: Baremetal Deploy and Test Phase
1255 condition: SUCCESSFUL
1257 {% for scenario in scenarios[stream] %}
1258 - name: 'apex-{{ scenario }}-baremetal-{{ stream }}'
1259 node-parameters: false
1260 current-parameters: false
1261 predefined-parameters: |
1263 kill-phase-on: NEVER
1270 name: 'apex-unit-test'
1273 !include-raw: ./apex-unit-test.sh
1276 name: 'apex-upload-artifact'
1279 !include-raw: ./apex-upload-artifact.sh
1282 name: 'apex-download-artifact'
1285 !include-raw: ./apex-download-artifact.sh
1291 !include-raw: ./apex-deploy.sh
1293 #######################
1295 ########################
1299 - timed: '0 3 1 1 7'
1301 name: 'apex-euphrates'
1303 - timed: '0 12 * * *'
1307 - timed: '0 3 1 1 7'