4 build-slave: 'apex-build'
6 - 'apex-verify-{stream}'
7 - 'apex-verify-gate-{stream}'
8 - 'apex-verify-unit-tests-{stream}'
9 - 'apex-runner-cperf-{stream}'
10 - 'apex-build-{stream}'
11 - 'apex-deploy-{platform}-{stream}'
14 - 'apex-csit-promote-daily-{stream}'
15 - 'apex-fdio-promote-daily-{stream}'
16 - 'apex-verify-iso-{stream}'
17 - 'apex-deploy-test-baremetal-{stream}'
18 - 'apex-upload-snapshot'
19 - 'apex-create-snapshot'
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'
32 branch: 'stable/danube'
33 gs-pathname: '/danube'
34 build-slave: 'apex-build-danube'
35 virtual-slave: 'apex-virtual-danube'
36 baremetal-slave: 'apex-baremetal-danube'
37 verify-scenario: 'os-odl_l3-nofeature-ha'
46 name: 'apex-verify-unit-tests-{stream}'
54 gs-pathname: '{gs-pathname}'
64 server-name: 'gerrit.opnfv.org'
66 - patchset-created-event:
67 exclude-drafts: 'false'
68 exclude-trivial-rebase: 'false'
69 exclude-no-code-change: 'true'
70 - draft-published-event
71 - comment-added-contains-event:
72 comment-contains-value: 'recheck'
73 - comment-added-contains-event:
74 comment-contains-value: 'reverify'
76 - project-compare-type: 'ANT'
77 project-pattern: 'apex'
79 - branch-compare-type: 'ANT'
80 branch-pattern: '**/{branch}'
93 !include-raw-escape: ./apex-unit-test.sh
97 name: 'apex-verify-{stream}'
99 node: '{virtual-slave}'
103 project-type: 'multijob'
107 gs-pathname: '{gs-pathname}/dev'
112 name: ARTIFACT_VERSION
114 description: "Used for overriding the ARTIFACT_VERSION"
120 server-name: 'gerrit.opnfv.org'
122 - patchset-created-event:
123 exclude-drafts: 'false'
124 exclude-trivial-rebase: 'false'
125 exclude-no-code-change: 'true'
126 - draft-published-event
127 - comment-added-contains-event:
128 comment-contains-value: 'recheck'
129 - comment-added-contains-event:
130 comment-contains-value: 'reverify'
132 - project-compare-type: 'ANT'
133 project-pattern: 'apex'
135 - branch-compare-type: 'ANT'
136 branch-pattern: '**/{branch}'
150 use-build-blocker: true
163 - description-setter:
164 description: "Built on $NODE_NAME"
167 condition: SUCCESSFUL
169 - name: 'apex-verify-unit-tests-{stream}'
170 current-parameters: false
171 predefined-parameters: |
172 GERRIT_BRANCH=$GERRIT_BRANCH
173 GERRIT_REFSPEC=$GERRIT_REFSPEC
174 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
175 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
176 node-parameters: false
177 kill-phase-on: FAILURE
182 condition: SUCCESSFUL
184 - name: 'apex-build-{stream}'
185 current-parameters: false
186 predefined-parameters: |
187 GERRIT_BRANCH=$GERRIT_BRANCH
188 GERRIT_REFSPEC=$GERRIT_REFSPEC
189 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
190 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
191 node-parameters: false
192 kill-phase-on: FAILURE
197 condition: SUCCESSFUL
199 - name: 'apex-deploy-virtual-{stream}'
200 current-parameters: false
201 predefined-parameters: |
202 DEPLOY_SCENARIO={verify-scenario}
204 GERRIT_BRANCH=$GERRIT_BRANCH
205 GERRIT_REFSPEC=$GERRIT_REFSPEC
206 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
207 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
208 node-parameters: false
209 kill-phase-on: FAILURE
214 condition: SUCCESSFUL
216 - name: 'functest-apex-virtual-suite-{stream}'
217 current-parameters: false
218 predefined-parameters: |
219 DEPLOY_SCENARIO={verify-scenario}
220 FUNCTEST_SUITE_NAME=healthcheck
221 GERRIT_BRANCH=$GERRIT_BRANCH
222 GERRIT_REFSPEC=$GERRIT_REFSPEC
223 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
224 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
225 node-parameters: false
226 kill-phase-on: FAILURE
230 # Verify Scenario Gate
232 name: 'apex-verify-gate-{stream}'
234 node: '{virtual-slave}'
238 project-type: 'multijob'
242 gs-pathname: '{gs-pathname}/dev'
248 default: https://gerrit.opnfv.org/gerrit/$PROJECT
249 description: "Used for overriding the GIT URL coming from parameters macro."
256 server-name: 'gerrit.opnfv.org'
258 - comment-added-contains-event:
259 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
261 - project-compare-type: 'ANT'
262 project-pattern: 'apex'
264 - branch-compare-type: 'ANT'
265 branch-pattern: '**/{branch}'
279 use-build-blocker: true
295 condition: SUCCESSFUL
297 - name: 'apex-deploy-virtual-{stream}'
298 current-parameters: false
299 predefined-parameters: |
302 GERRIT_BRANCH=$GERRIT_BRANCH
303 GERRIT_REFSPEC=$GERRIT_REFSPEC
304 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
305 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
306 node-parameters: false
307 kill-phase-on: FAILURE
312 condition: SUCCESSFUL
314 - name: 'functest-apex-virtual-suite-{stream}'
315 current-parameters: false
316 predefined-parameters: |
317 DEPLOY_SCENARIO={verify-scenario}
318 FUNCTEST_SUITE_NAME=healthcheck
319 GERRIT_BRANCH=$GERRIT_BRANCH
320 GERRIT_REFSPEC=$GERRIT_REFSPEC
321 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
322 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
323 node-parameters: false
324 kill-phase-on: FAILURE
329 name: 'apex-runner-cperf-{stream}'
332 project-type: 'multijob'
339 gs-pathname: '{gs-pathname}'
345 default: https://gerrit.opnfv.org/gerrit/$PROJECT
346 description: "Used for overriding the GIT URL coming from parameters macro."
354 use-build-blocker: false
364 - description-setter:
365 description: "Deployed on $NODE_NAME"
367 name: 'Baremetal Deploy'
370 - name: 'apex-deploy-baremetal-{stream}'
371 node-parameters: false
372 current-parameters: true
373 predefined-parameters: |
375 DEPLOY_SCENARIO={verify-scenario}
376 kill-phase-on: FAILURE
383 - name: 'functest-apex-baremetal-daily-{stream}'
384 node-parameters: true
385 current-parameters: false
386 predefined-parameters:
387 DEPLOY_SCENARIO={verify-scenario}
394 name: 'apex-build-{stream}'
396 # Job template for builds
398 # Required Variables:
399 # stream: branch with - in place of / (eg. stable)
400 # branch: branch (eg. stable)
401 node: '{build-slave}'
408 - '{project}-defaults'
413 gs-pathname: '{gs-pathname}'
428 properties-content: ARTIFACT_TYPE=rpm
429 - 'apex-upload-artifact'
433 name: 'apex-verify-iso-{stream}'
435 # Job template for builds
437 # Required Variables:
438 # stream: branch with - in place of / (eg. stable)
439 # branch: branch (eg. stable)
440 node: '{virtual-slave}'
451 gs-pathname: '{gs-pathname}'
454 default: https://gerrit.opnfv.org/gerrit/$PROJECT
455 description: "Used for overriding the GIT URL coming from parameters macro."
463 use-build-blocker: true
475 properties-content: ARTIFACT_TYPE=iso
476 - 'apex-upload-artifact'
480 name: 'apex-deploy-{platform}-{stream}'
482 # Job template for virtual deployment
484 # Required Variables:
485 # stream: branch with - in place of / (eg. stable)
486 # branch: branch (eg. stable)
487 node: 'apex-{platform}-{stream}'
501 gs-pathname: '{gs-pathname}'
503 name: DEPLOY_SCENARIO
504 default: '{verify-scenario}'
505 description: "Scenario to deploy with."
509 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
514 use-build-blocker: true
524 - description-setter:
525 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
526 - 'apex-download-artifact'
528 - 'apex-workspace-cleanup'
531 # Baremetal Deploy and Test
533 name: 'apex-deploy-test-baremetal-{stream}'
535 # Job template for daily build
537 # Required Variables:
538 # stream: branch with - in place of / (eg. stable)
539 # branch: branch (eg. stable)
540 project-type: 'multijob'
548 - '{project}-defaults'
549 - '{project}-baremetal-{stream}-defaults'
554 gs-pathname: '{gs-pathname}'
556 name: DEPLOY_SCENARIO
557 default: '{verify-scenario}'
558 description: "Scenario to deploy with."
562 use-build-blocker: true
568 - 'apex-.*-promote.*'
570 - description-setter:
571 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
573 name: 'Baremetal Deploy'
576 - name: 'apex-deploy-baremetal-{stream}'
577 node-parameters: true
578 current-parameters: true
579 predefined-parameters: |
581 kill-phase-on: FAILURE
588 - name: 'functest-apex-baremetal-daily-{stream}'
589 node-parameters: true
590 current-parameters: false
591 predefined-parameters:
592 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
600 - name: 'yardstick-apex-baremetal-daily-{stream}'
601 node-parameters: true
602 current-parameters: false
603 predefined-parameters:
604 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
612 name: 'apex-daily-danube'
614 # Job template for daily build
616 # Required Variables:
617 # stream: branch with - in place of / (eg. stable)
618 # branch: branch (eg. stable)
619 project-type: 'multijob'
621 node: '{build-slave}'
629 - '{project}-defaults'
630 - '{project}-baremetal-danube-defaults'
633 branch: 'stable/danube'
635 gs-pathname: '/danube'
640 use-build-blocker: true
646 - 'apex-.*-promote.*'
654 condition: SUCCESSFUL
656 - name: 'apex-build-danube'
657 current-parameters: false
658 predefined-parameters: |
659 GERRIT_BRANCH=$GERRIT_BRANCH
660 GERRIT_REFSPEC=$GERRIT_REFSPEC
661 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
662 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
663 node-parameters: true
664 kill-phase-on: FAILURE
668 name: 'Verify and upload ISO'
669 condition: SUCCESSFUL
671 - name: 'apex-verify-iso-danube'
672 current-parameters: false
673 predefined-parameters: |
674 BUILD_DIRECTORY=apex-build-danube/.build
675 GERRIT_BRANCH=$GERRIT_BRANCH
676 GERRIT_REFSPEC=$GERRIT_REFSPEC
677 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
678 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
679 node-parameters: true
680 kill-phase-on: FAILURE
684 name: Baremetal Deploy and Test Phase
685 condition: SUCCESSFUL
688 - name: 'apex-deploy-test-baremetal-danube'
689 node-parameters: false
690 current-parameters: false
691 predefined-parameters: |
692 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
698 - name: 'apex-deploy-test-baremetal-danube'
699 node-parameters: false
700 current-parameters: false
701 predefined-parameters: |
702 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
708 - name: 'apex-deploy-test-baremetal-danube'
709 node-parameters: false
710 current-parameters: false
711 predefined-parameters: |
712 DEPLOY_SCENARIO=os-nosdn-nofeature-ha-ipv6
718 - name: 'apex-deploy-test-baremetal-danube'
719 node-parameters: false
720 current-parameters: false
721 predefined-parameters: |
722 DEPLOY_SCENARIO=os-nosdn-ovs-noha
728 - name: 'apex-deploy-test-baremetal-danube'
729 node-parameters: false
730 current-parameters: false
731 predefined-parameters: |
732 DEPLOY_SCENARIO=os-nosdn-ovs-ha
738 - name: 'apex-deploy-test-baremetal-danube'
739 node-parameters: false
740 current-parameters: false
741 predefined-parameters: |
742 DEPLOY_SCENARIO=os-nosdn-fdio-noha
748 - name: 'apex-deploy-test-baremetal-danube'
749 node-parameters: false
750 current-parameters: false
751 predefined-parameters: |
752 DEPLOY_SCENARIO=os-nosdn-fdio-ha
758 - name: 'apex-deploy-test-baremetal-danube'
759 node-parameters: false
760 current-parameters: false
761 predefined-parameters: |
762 DEPLOY_SCENARIO=os-nosdn-kvm-ha
768 - name: 'apex-deploy-test-baremetal-danube'
769 node-parameters: false
770 current-parameters: false
771 predefined-parameters: |
772 DEPLOY_SCENARIO=os-nosdn-kvm-noha
778 - name: 'apex-deploy-test-baremetal-danube'
779 node-parameters: false
780 current-parameters: false
781 predefined-parameters: |
782 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
788 - name: 'apex-deploy-test-baremetal-danube'
789 node-parameters: false
790 current-parameters: false
791 predefined-parameters: |
792 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
798 - name: 'apex-deploy-test-baremetal-danube'
799 node-parameters: false
800 current-parameters: false
801 predefined-parameters: |
802 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
808 - name: 'apex-deploy-test-baremetal-danube'
809 node-parameters: false
810 current-parameters: false
811 predefined-parameters: |
812 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
818 - name: 'apex-deploy-test-baremetal-danube'
819 node-parameters: false
820 current-parameters: false
821 predefined-parameters: |
822 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
828 - name: 'apex-deploy-test-baremetal-danube'
829 node-parameters: false
830 current-parameters: false
831 predefined-parameters: |
832 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
838 - name: 'apex-deploy-test-baremetal-danube'
839 node-parameters: false
840 current-parameters: false
841 predefined-parameters: |
842 DEPLOY_SCENARIO=os-odl_l3-ovs-noha
848 - name: 'apex-deploy-test-baremetal-danube'
849 node-parameters: false
850 current-parameters: false
851 predefined-parameters: |
852 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
858 - name: 'apex-deploy-test-baremetal-danube'
859 node-parameters: false
860 current-parameters: false
861 predefined-parameters: |
862 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
868 - name: 'apex-deploy-test-baremetal-danube'
869 node-parameters: false
870 current-parameters: false
871 predefined-parameters: |
872 DEPLOY_SCENARIO=os-odl-gluon-noha
878 - name: 'apex-deploy-test-baremetal-danube'
879 node-parameters: false
880 current-parameters: false
881 predefined-parameters: |
882 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
888 - name: 'apex-deploy-test-baremetal-danube'
889 node-parameters: false
890 current-parameters: false
891 predefined-parameters: |
892 DEPLOY_SCENARIO=os-odl_l3-fdio-ha
898 - name: 'apex-deploy-test-baremetal-danube'
899 node-parameters: false
900 current-parameters: false
901 predefined-parameters: |
902 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-noha
908 - name: 'apex-deploy-test-baremetal-danube'
909 node-parameters: false
910 current-parameters: false
911 predefined-parameters: |
912 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-ha
918 - name: 'apex-deploy-test-baremetal-danube'
919 node-parameters: false
920 current-parameters: false
921 predefined-parameters: |
922 DEPLOY_SCENARIO=os-odl_l3-csit-noha
928 - name: 'apex-deploy-test-baremetal-danube'
929 node-parameters: false
930 current-parameters: false
931 predefined-parameters: |
932 DEPLOY_SCENARIO=os-onos-nofeature-ha
938 - name: 'apex-deploy-test-baremetal-danube'
939 node-parameters: false
940 current-parameters: false
941 predefined-parameters: |
942 DEPLOY_SCENARIO=os-ovn-nofeature-noha
951 name: 'apex-daily-master'
953 # Job template for daily build
955 # Required Variables:
956 # stream: branch with - in place of / (eg. stable)
957 # branch: branch (eg. stable)
958 project-type: 'multijob'
960 node: '{build-slave}'
968 - '{project}-defaults'
969 - '{project}-baremetal-master-defaults'
979 use-build-blocker: true
985 - 'apex-.*-promote.*'
993 condition: SUCCESSFUL
995 - name: 'apex-build-master'
996 current-parameters: false
997 predefined-parameters: |
998 GERRIT_BRANCH=$GERRIT_BRANCH
999 GERRIT_REFSPEC=$GERRIT_REFSPEC
1000 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1001 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1002 node-parameters: true
1003 kill-phase-on: FAILURE
1007 name: 'Verify and upload ISO'
1008 condition: SUCCESSFUL
1010 - name: 'apex-verify-iso-master'
1011 current-parameters: false
1012 predefined-parameters: |
1013 BUILD_DIRECTORY=apex-build-master/.build
1014 GERRIT_BRANCH=$GERRIT_BRANCH
1015 GERRIT_REFSPEC=$GERRIT_REFSPEC
1016 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1017 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1018 node-parameters: true
1019 kill-phase-on: FAILURE
1023 name: Baremetal Deploy and Test Phase
1024 condition: SUCCESSFUL
1027 - name: 'apex-deploy-test-baremetal-master'
1028 node-parameters: false
1029 current-parameters: false
1030 predefined-parameters: |
1031 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
1033 kill-phase-on: NEVER
1037 - name: 'apex-deploy-test-baremetal-master'
1038 node-parameters: false
1039 current-parameters: false
1040 predefined-parameters: |
1041 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
1043 kill-phase-on: NEVER
1047 - name: 'apex-deploy-test-baremetal-master'
1048 node-parameters: false
1049 current-parameters: false
1050 predefined-parameters: |
1051 DEPLOY_SCENARIO=os-odl-nofeature-ha
1053 kill-phase-on: NEVER
1057 - name: 'apex-deploy-test-baremetal-master'
1058 node-parameters: false
1059 current-parameters: false
1060 predefined-parameters: |
1061 DEPLOY_SCENARIO=os-odl-nofeature-noha
1063 kill-phase-on: NEVER
1071 name: 'apex-create-snapshot'
1073 # Job template for clean
1075 # Required Variables:
1076 # stream: branch with - in place of / (eg. stable)
1082 !include-raw-escape: ./apex-snapshot-create.sh
1086 name: 'apex-upload-snapshot'
1088 # Job template for clean
1090 # Required Variables:
1091 # stream: branch with - in place of / (eg. stable)
1097 properties-content: ARTIFACT_TYPE=snapshot
1098 - 'apex-upload-artifact'
1102 name: 'apex-csit-promote-daily-{stream}'
1104 # Job template for promoting CSIT Snapshots
1106 # Required Variables:
1107 # stream: branch with - in place of / (eg. stable)
1108 # branch: branch (eg. stable)
1109 node: '{virtual-slave}'
1110 project-type: 'multijob'
1117 - project-parameter:
1118 project: '{project}'
1121 gs-pathname: '{gs-pathname}'
1125 use-build-blocker: true
1135 - timed: '0 12 * * 0'
1140 condition: SUCCESSFUL
1142 - name: 'apex-build-{stream}'
1143 current-parameters: false
1144 predefined-parameters: |
1145 GERRIT_BRANCH=$GERRIT_BRANCH
1146 GERRIT_REFSPEC=$GERRIT_REFSPEC
1147 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1148 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1149 node-parameters: false
1150 kill-phase-on: FAILURE
1154 name: deploy-virtual
1155 condition: SUCCESSFUL
1157 - name: 'apex-deploy-virtual-{stream}'
1158 current-parameters: false
1159 predefined-parameters: |
1160 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1162 GERRIT_BRANCH=$GERRIT_BRANCH
1163 GERRIT_REFSPEC=$GERRIT_REFSPEC
1164 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1165 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1166 node-parameters: true
1167 kill-phase-on: FAILURE
1171 name: functest-smoke
1172 condition: SUCCESSFUL
1174 - name: 'functest-apex-virtual-suite-{stream}'
1175 current-parameters: false
1176 predefined-parameters: |
1177 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1178 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1179 GERRIT_BRANCH=$GERRIT_BRANCH
1180 GERRIT_REFSPEC=$GERRIT_REFSPEC
1181 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1182 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1183 node-parameters: true
1184 kill-phase-on: FAILURE
1188 name: create snapshot
1189 condition: SUCCESSFUL
1191 - name: 'apex-create-snapshot'
1192 current-parameters: true
1193 node-parameters: true
1194 kill-phase-on: FAILURE
1198 name: upload snapshot
1199 condition: SUCCESSFUL
1201 - name: 'apex-upload-snapshot'
1202 current-parameters: true
1203 node-parameters: true
1204 kill-phase-on: FAILURE
1210 name: 'apex-fdio-promote-daily-{stream}'
1212 # Job template for promoting CSIT Snapshots
1214 # Required Variables:
1215 # stream: branch with - in place of / (eg. stable)
1216 # branch: branch (eg. stable)
1217 node: '{virtual-slave}'
1218 project-type: 'multijob'
1225 - project-parameter:
1226 project: '{project}'
1229 gs-pathname: '{gs-pathname}'
1233 use-build-blocker: true
1245 condition: SUCCESSFUL
1247 - name: 'apex-build-{stream}'
1248 current-parameters: false
1249 predefined-parameters: |
1250 GERRIT_BRANCH=$GERRIT_BRANCH
1251 GERRIT_REFSPEC=$GERRIT_REFSPEC
1252 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1253 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1254 node-parameters: false
1255 kill-phase-on: FAILURE
1259 name: deploy-virtual
1260 condition: SUCCESSFUL
1262 - name: 'apex-deploy-virtual-{stream}'
1263 current-parameters: false
1264 predefined-parameters: |
1265 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
1267 GERRIT_BRANCH=$GERRIT_BRANCH
1268 GERRIT_REFSPEC=$GERRIT_REFSPEC
1269 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1270 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1271 node-parameters: true
1272 kill-phase-on: FAILURE
1276 name: create snapshot
1277 condition: SUCCESSFUL
1279 - name: 'apex-create-snapshot'
1280 current-parameters: true
1281 node-parameters: true
1282 kill-phase-on: FAILURE
1286 name: upload snapshot
1287 condition: SUCCESSFUL
1289 - name: 'apex-upload-snapshot'
1290 current-parameters: true
1291 node-parameters: true
1292 kill-phase-on: FAILURE
1297 name: 'apex-gs-clean-{stream}'
1299 # Job template for clean
1301 # Required Variables:
1302 # stream: branch with - in place of / (eg. stable)
1308 - project-parameter:
1309 project: '{project}'
1312 gs-pathname: '{gs-pathname}'
1318 - 'apex-gs-clean-{stream}'
1320 ########################
1322 ########################
1324 name: apex-parameter
1329 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1331 name: ARTIFACT_VERSION
1333 description: "Artifact version type"
1335 name: BUILD_DIRECTORY
1336 default: $WORKSPACE/.build
1337 description: "Directory where the build artifact will be located upon the completion of the build."
1339 name: CACHE_DIRECTORY
1340 default: $HOME/opnfv/cache{gs-pathname}
1341 description: "Directory where the cache to be used during the build is located."
1344 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1345 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1348 default: '{gs-pathname}'
1349 description: "Version directory where opnfv artifacts are stored in gs repository"
1352 default: $GS_BASE{gs-pathname}
1353 description: "URL to Google Storage."
1355 ########################
1357 ########################
1359 name: 'apex-unit-test'
1362 !include-raw: ./apex-unit-test.sh
1368 !include-raw: ./apex-build.sh
1371 name: 'apex-workspace-cleanup'
1374 !include-raw: ./apex-workspace-cleanup.sh
1377 name: 'apex-iso-verify'
1380 !include-raw: ./apex-iso-verify.sh
1384 name: 'apex-upload-artifact'
1387 !include-raw: ./apex-upload-artifact.sh
1390 name: 'apex-download-artifact'
1393 !include-raw: ./apex-download-artifact.sh
1396 name: 'apex-gs-cleanup'
1399 !include-raw: ./apex-gs-cleanup.sh
1405 !include-raw: ./apex-deploy.sh
1407 #######################
1409 ########################
1413 - timed: '0 3 1 1 7'
1417 - timed: '0 12 * * *'
1419 name: 'apex-gs-clean-{stream}'
1421 - timed: '0 2 * * *'