6 - 'apex-fetch-logs-{stream}'
7 - 'apex-runner-cperf-{stream}'
8 - 'apex-virtual-{stream}'
9 - 'apex-deploy-{platform}-{stream}'
10 - 'apex-daily-{stream}'
11 - 'apex-csit-promote-daily-{stream}-os-{os_version}-{topology}'
12 - 'apex-fdio-promote-daily-{stream}'
13 - 'apex-{scenario}-baremetal-{scenario_stream}'
14 - 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
15 - 'apex-upload-snapshot'
16 - 'apex-create-snapshot'
17 - 'apex-fetch-snap-info'
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-nosdn-nofeature-noha'
30 scenario_stream: 'master'
32 disable_promote: false
34 branch: 'stable/gambia'
35 gs-pathname: '/gambia'
36 build-slave: 'apex-build-master'
37 virtual-slave: 'apex-virtual-master'
38 baremetal-slave: 'apex-baremetal-master'
39 verify-scenario: 'os-nosdn-nofeature-ha'
40 scenario_stream: 'gambia'
42 disable_promote: false
44 branch: 'stable/fraser'
45 gs-pathname: '/fraser'
46 build-slave: 'apex-build-master'
47 virtual-slave: 'apex-virtual-master'
48 baremetal-slave: 'apex-baremetal-master'
49 verify-scenario: 'os-nosdn-nofeature-ha'
50 scenario_stream: 'fraser'
53 - euphrates: &euphrates
54 branch: 'stable/euphrates'
55 gs-pathname: '/euphrates'
56 build-slave: 'apex-build-master'
57 virtual-slave: 'apex-virtual-master'
58 baremetal-slave: 'apex-baremetal-master'
59 verify-scenario: 'os-odl-nofeature-ha'
60 scenario_stream: 'euphrates'
64 branch: 'stable/danube'
65 gs-pathname: '/danube'
66 build-slave: 'apex-build-danube'
67 virtual-slave: 'apex-virtual-danube'
68 baremetal-slave: 'apex-baremetal-danube'
69 verify-scenario: 'os-odl_l3-nofeature-ha'
70 scenario_stream: 'danube'
76 - 'os-nosdn-nofeature-ha':
80 - 'os-nosdn-nofeature-noha':
82 - 'os-nosdn-nofeature-ha':
84 - 'os-nosdn-nofeature-ha-ipv6':
86 - 'os-odl-nofeature-noha':
88 - 'os-odl-nofeature-ha':
90 - 'k8s-nosdn-nofeature-noha':
94 - 'os-odl-bgpvpn-noha':
100 - 'os-nosdn-calipso-noha':
102 - 'os-ovn-nofeature-ha':
104 - 'os-nosdn-nofeature-noha':
106 - 'os-nosdn-nofeature-ha':
108 - 'os-nosdn-nofeature-ha-ipv6':
110 - 'os-nosdn-ovs-noha':
114 - 'os-nosdn-fdio-noha':
116 - 'os-nosdn-fdio-ha':
120 - 'os-nosdn-kvm-noha':
122 - 'os-odl_l2-fdio-noha':
124 - 'os-odl_l2-fdio-ha':
126 - 'os-odl_netvirt-fdio-noha':
128 - 'os-odl_l2-sfc-noha':
130 - 'os-odl_l3-nofeature-noha':
132 - 'os-odl_l3-nofeature-ha':
134 - 'os-odl_l3-ovs-noha':
136 - 'os-odl_l3-ovs-ha':
138 - 'os-odl-bgpvpn-ha':
140 - 'os-odl-gluon-noha':
142 - 'os-odl_l3-fdio-noha':
144 - 'os-odl_l3-fdio-ha':
146 - 'os-odl_l3-fdio_dvr-noha':
148 - 'os-odl_l3-fdio_dvr-ha':
150 - 'os-odl_l3-csit-noha':
152 - 'os-onos-nofeature-ha':
154 - 'os-ovn-nofeature-noha':
156 - 'os-nosdn-nofeature-noha':
158 - 'os-nosdn-nofeature-ha':
160 - 'os-nosdn-nofeature-ha-ipv6':
162 - 'os-odl-nofeature-noha':
164 - 'os-odl-nofeature-ha':
166 - 'os-nosdn-rocky-noha':
168 - 'os-nosdn-rocky-ha':
170 - 'os-nosdn-rocky-ha-ipv6':
172 - 'os-odl-rocky-noha':
176 - 'k8s-nosdn-nofeature-noha':
178 - 'os-odl-bgpvpn-ha':
180 - 'os-odl-bgpvpn-noha':
182 - 'os-odl-bgpvpn_queens-ha':
184 - 'os-odl-bgpvpn_queens-noha':
190 - 'os-odl-sfc_rocky-ha':
192 - 'os-odl-sfc_rocky-noha':
194 - 'os-nosdn-calipso-noha':
196 - 'os-nosdn-calipso_rocky-noha':
198 - 'os-ovn-nofeature-ha':
202 - 'os-nosdn-nofeature-noha':
204 - 'os-nosdn-nofeature-ha':
206 - 'os-odl-nofeature-ha':
208 - 'os-odl-nofeature-noha':
210 - 'os-odl-bgpvpn-ha':
212 - 'os-ovn-nofeature-noha':
214 - 'os-nosdn-fdio-noha':
216 - 'os-nosdn-fdio-ha':
220 - 'os-nosdn-bar-noha':
222 - 'os-nosdn-nofeature-ha-ipv6':
224 - 'os-nosdn-ovs_dpdk-noha':
226 - 'os-nosdn-ovs_dpdk-ha':
228 - 'os-nosdn-kvm_ovs_dpdk-noha':
230 - 'os-nosdn-kvm_ovs_dpdk-ha':
243 os_scenario: 'nofeature'
244 odl_branch: 'stable/oxygen'
247 odl_branch: 'stable/oxygen'
249 os_scenario: 'nofeature'
250 odl_branch: 'stable/fluorine'
259 name: 'apex-fetch-logs-{stream}'
271 gs-pathname: '{gs-pathname}'
272 # yamllint enable rule:line-length
284 name: 'apex-runner-cperf-{stream}'
287 project-type: 'multijob'
294 gs-pathname: '{gs-pathname}'
300 default: https://gerrit.opnfv.org/gerrit/$PROJECT
301 description: "Used for overriding the GIT URL coming from parameters macro."
309 use-build-blocker: false
310 blocking-level: 'NODE'
319 - description-setter:
320 description: "Deployed on $NODE_NAME"
322 name: 'Baremetal Deploy'
325 - name: 'apex-deploy-baremetal-{stream}'
326 node-parameters: false
327 current-parameters: true
328 predefined-parameters: |
329 GERRIT_BRANCH=$GERRIT_BRANCH
332 DEPLOY_SCENARIO={verify-scenario}
333 kill-phase-on: FAILURE
338 condition: SUCCESSFUL
340 - name: 'cperf-apex-intel-pod2-daily-master'
341 node-parameters: true
342 current-parameters: false
343 predefined-parameters:
344 DEPLOY_SCENARIO={verify-scenario}
351 name: 'apex-deploy-{platform}-{stream}'
366 - '{project}-{platform}-{stream}-defaults'
371 gs-pathname: '{gs-pathname}'
373 name: DEPLOY_SCENARIO
374 default: '{verify-scenario}'
375 description: "Scenario to deploy with."
376 # yamllint disable rule:line-length
380 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
382 # yamllint enable rule:line-length
386 use-build-blocker: true
387 blocking-level: 'NODE'
401 - description-setter:
402 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
403 - 'apex-download-artifact'
408 # Virtual Deploy and Test
410 name: 'apex-virtual-{stream}'
412 project-type: 'multijob'
422 - '{project}-defaults'
423 - '{project}-virtual-{stream}-defaults'
424 - 'functest-suite-parameter'
429 gs-pathname: '{gs-pathname}'
431 name: DEPLOY_SCENARIO
432 default: '{verify-scenario}'
433 description: "Scenario to deploy with."
435 name: ARTIFACT_VERSION
437 description: "Used for overriding the ARTIFACT_VERSION"
442 use-build-blocker: true
443 blocking-level: 'NODE'
448 - 'apex-verify-gate-.*'
450 - 'apex-.*-promote.*'
457 - description-setter:
458 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
461 condition: SUCCESSFUL
463 - name: 'apex-deploy-virtual-{stream}'
464 current-parameters: false
465 predefined-parameters: |
466 ARTIFACT_VERSION=$ARTIFACT_VERSION
467 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
469 GERRIT_BRANCH=$GERRIT_BRANCH
470 GERRIT_REFSPEC=$GERRIT_REFSPEC
471 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
472 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
474 node-parameters: true
475 kill-phase-on: FAILURE
482 - name: 'functest-apex-virtual-suite-{stream}'
483 current-parameters: false
484 predefined-parameters: |
485 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
486 FUNCTEST_MODE=$FUNCTEST_MODE
487 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
488 GERRIT_BRANCH=$GERRIT_BRANCH
489 GERRIT_REFSPEC=$GERRIT_REFSPEC
490 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
491 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
492 node-parameters: true
497 name: apex-fetch-logs
499 - name: 'apex-fetch-logs-{stream}'
500 current-parameters: false
501 predefined-parameters: |
502 GERRIT_BRANCH=$GERRIT_BRANCH
503 GERRIT_REFSPEC=$GERRIT_REFSPEC
504 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
505 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
506 node-parameters: true
511 # Baremetal Deploy and Test
513 name: 'apex-{scenario}-baremetal-{scenario_stream}'
515 project-type: 'multijob'
523 - '{project}-defaults'
524 - '{project}-baremetal-{scenario_stream}-defaults'
529 gs-pathname: '{gs-pathname}'
531 name: DEPLOY_SCENARIO
532 default: '{scenario}'
533 description: "Scenario to deploy with."
538 use-build-blocker: true
539 blocking-level: 'NODE'
543 - 'apex-.*-promote.*'
545 - 'apex-.+-baremetal-.+'
552 - description-setter:
553 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
555 name: 'Baremetal Deploy'
556 condition: SUCCESSFUL
557 execution-type: SEQUENTIALLY
559 - name: 'apex-deploy-baremetal-{scenario_stream}'
560 node-parameters: true
561 current-parameters: true
562 predefined-parameters: |
564 GERRIT_BRANCH=$GERRIT_BRANCH
566 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
570 - name: 'apex-fetch-logs-{scenario_stream}'
571 current-parameters: true
572 predefined-parameters: |
573 GERRIT_BRANCH=$GERRIT_BRANCH
575 node-parameters: true
580 if echo $DEPLOY_SCENARIO | grep queens &> /dev/null; then
581 echo 'REPO=opnfv' > functest_properties
583 echo 'REPO=ollivier' > functest_properties
585 features=$(echo $DEPLOY_SCENARIO | sed -r -n 's/os-.+-(.+)-(noha|ha)/\1/p')
586 if [ "$features" == 'queens' ]; then
587 functest_scenario=$(echo $DEPLOY_SCENARIO | sed -r -n 's/(os-.+?)-queens-(noha|ha)/\1-nofeature-\2/p')
588 elif [[ "$features" =~ 'queens' ]]; then
589 functest_scenario=$(echo $DEPLOY_SCENARIO | sed -r -n 's/(os-.+?)-(.+)_queens-(noha|ha)/\1-\2-\3/p')
591 functest_scenario=$DEPLOY_SCENARIO
593 echo "DEPLOY_SCENARIO=$functest_scenario" >> functest_properties
595 properties-file: functest_properties
596 override-build-parameters: true
598 name: 'OPNFV Test Suite'
601 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
602 node-parameters: true
603 current-parameters: false
604 predefined-parameters:
605 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
610 name: apex-fetch-logs
612 - name: 'apex-fetch-logs-{scenario_stream}'
613 current-parameters: true
614 predefined-parameters: |
615 GERRIT_BRANCH=$GERRIT_BRANCH
617 node-parameters: true
624 !include-raw-escape: ./update-build-result.groovy
628 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
630 project-type: 'multijob'
635 - '{project}-defaults'
636 - '{project}-baremetal-{scenario_stream}-defaults'
641 gs-pathname: '{gs-pathname}'
643 name: DEPLOY_SCENARIO
644 default: '{scenario}'
645 description: "Scenario to deploy with."
650 use-build-blocker: true
651 blocking-level: 'NODE'
656 - 'apex-testsuite-.+-baremetal-.+'
663 - description-setter:
664 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
669 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
670 node-parameters: true
671 current-parameters: false
672 predefined-parameters:
673 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
681 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
682 node-parameters: true
683 current-parameters: false
684 predefined-parameters:
685 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
690 name: Dovetail-proposed_tests
693 - name: 'dovetail-apex-baremetal-default-mandatory-{scenario_stream}'
694 node-parameters: true
695 current-parameters: false
696 predefined-parameters:
697 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
699 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
703 name: Dovetail-default
706 - name: 'dovetail-apex-baremetal-default-optional-{scenario_stream}'
707 node-parameters: true
708 current-parameters: false
709 predefined-parameters:
710 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
712 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
719 - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
720 node-parameters: true
721 current-parameters: false
722 predefined-parameters:
723 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
724 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
728 # Build status is always success due conditional plugin prefetching
729 # build status before multijob phases execute
730 # - conditional-step:
731 # condition-kind: current-status
732 # condition-worst: SUCCESS
733 # condtion-best: SUCCESS
734 # on-evaluation-failure: mark-unstable
736 # - shell: 'echo "Tests Passed"'
739 name: 'apex-daily-{stream}'
741 # Job template for daily build
743 # Required Variables:
744 # stream: branch with - in place of / (eg. stable)
745 # branch: branch (eg. stable)
746 project-type: 'multijob'
748 disabled: '{obj:disable_daily}'
754 - '{project}-defaults'
755 - '{project}-baremetal-{stream}-defaults'
760 gs-pathname: '{gs-pathname}'
765 use-build-blocker: true
766 blocking-level: 'NODE'
776 condition: SUCCESSFUL
778 - name: 'apex-build-{stream}'
779 current-parameters: false
780 predefined-parameters: |
781 GERRIT_BRANCH=$GERRIT_BRANCH
783 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
784 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
785 node-parameters: true
786 kill-phase-on: FAILURE
790 name: 'Verify and upload ISO'
791 condition: SUCCESSFUL
793 - name: 'apex-verify-iso-{stream}'
794 current-parameters: false
795 predefined-parameters: |
796 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
797 GERRIT_BRANCH=$GERRIT_BRANCH
799 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
800 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
801 node-parameters: true
802 kill-phase-on: FAILURE
805 - apex-builder-{stream}
807 # snapshot info fetch
809 name: 'apex-fetch-snap-info'
814 - '{project}-defaults'
818 !include-raw-escape: ./apex-fetch-snap-info.sh
822 name: 'apex-create-snapshot'
827 - '{project}-defaults'
831 !include-raw-escape: ./apex-snapshot-create.sh
835 name: 'apex-upload-snapshot'
840 - '{project}-defaults'
844 properties-content: ARTIFACT_TYPE=snapshot
845 - 'apex-upload-artifact'
849 name: 'apex-csit-promote-daily-{stream}-os-{os_version}-{topology}'
851 # Job template for promoting CSIT Snapshots
853 # Required Variables:
854 # stream: branch with - in place of / (eg. stable)
855 # branch: branch (eg. stable)
856 node: '{virtual-slave}'
857 project-type: 'multijob'
858 disabled: '{disable_promote}'
868 gs-pathname: '{gs-pathname}'
870 name: ARTIFACT_VERSION
872 description: "Used for overriding the ARTIFACT_VERSION"
876 description: "Used for overriding the PROMOTE"
879 default: 'artifacts.opnfv.org/apex/{os_version}/{topology}'
880 description: "User for overriding GS_URL from apex params"
883 default: '{os_version}'
884 description: OpenStack version short name
887 default: '{odl_branch}'
888 description: ODL branch being used
892 description: "Used to force promotion and skip CSIT"
895 use-build-blocker: true
896 blocking-level: 'NODE'
901 - 'apex-csit-promote.*'
909 - '{stream}-{os_version}'
913 name: apex-virtual-deploy
914 condition: SUCCESSFUL
916 - name: 'apex-deploy-virtual-{stream}'
917 current-parameters: true
918 predefined-parameters: |
919 DEPLOY_SCENARIO=os-odl-{os_scenario}-{topology}
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: true
926 kill-phase-on: FAILURE
930 name: fetch snapshot info
931 condition: SUCCESSFUL
933 - name: 'apex-fetch-snap-info'
934 current-parameters: true
935 node-parameters: true
936 kill-phase-on: FAILURE
941 condition: SUCCESSFUL
942 execution-type: SEQUENTIALLY
944 - name: cperf-apex-csit-master
945 predefined-parameters: |
946 ODL_BRANCH=$ODL_BRANCH
947 RC_FILE_PATH=/tmp/csit/overcloudrc
948 NODE_FILE_PATH=/tmp/csit/node.yaml
949 SSH_KEY_PATH=/tmp/csit/id_rsa
950 ODL_CONTAINERIZED=true
951 OS_VERSION=$OS_VERSION
952 SKIP_CSIT=$FORCE_PROMOTE
953 node-parameters: true
956 - name: cperf-upload-logs-csit
957 predefined-parameters: |
958 ODL_BRANCH=$ODL_BRANCH
959 OS_VERSION=$OS_VERSION
960 node-parameters: true
961 kill-phase-on: FAILURE
963 - name: 'apex-fetch-logs-{stream}'
964 current-parameters: false
965 predefined-parameters: |
966 GERRIT_BRANCH=$GERRIT_BRANCH
967 GERRIT_REFSPEC=$GERRIT_REFSPEC
968 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
969 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
970 node-parameters: true
975 name: create snapshot
976 condition: SUCCESSFUL
978 - name: 'apex-create-snapshot'
979 current-parameters: true
980 predefined-parameters: |
982 node-parameters: true
983 kill-phase-on: FAILURE
987 name: upload snapshot
988 condition: SUCCESSFUL
990 - name: 'apex-upload-snapshot'
991 current-parameters: true
992 predefined-parameters: |
994 node-parameters: true
995 kill-phase-on: FAILURE
1001 name: 'apex-fdio-promote-daily-{stream}'
1003 # Job template for promoting CSIT Snapshots
1005 # Required Variables:
1006 # stream: branch with - in place of / (eg. stable)
1007 # branch: branch (eg. stable)
1008 node: '{virtual-slave}'
1009 project-type: 'multijob'
1016 - project-parameter:
1017 project: '{project}'
1020 gs-pathname: '{gs-pathname}'
1024 use-build-blocker: true
1025 blocking-level: 'NODE'
1035 condition: SUCCESSFUL
1037 - name: 'apex-build-{stream}'
1038 current-parameters: false
1039 predefined-parameters: |
1040 GERRIT_BRANCH=$GERRIT_BRANCH
1041 GERRIT_REFSPEC=$GERRIT_REFSPEC
1042 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1043 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1044 node-parameters: false
1045 kill-phase-on: FAILURE
1049 name: deploy-virtual
1050 condition: SUCCESSFUL
1052 - name: 'apex-deploy-virtual-{stream}'
1053 current-parameters: false
1054 predefined-parameters: |
1055 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1057 GERRIT_BRANCH=$GERRIT_BRANCH
1058 GERRIT_REFSPEC=$GERRIT_REFSPEC
1059 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1060 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1062 node-parameters: true
1063 kill-phase-on: FAILURE
1067 name: create snapshot
1068 condition: SUCCESSFUL
1070 - name: 'apex-create-snapshot'
1071 current-parameters: false
1072 predefined-parameters: |
1074 node-parameters: true
1075 kill-phase-on: FAILURE
1079 name: upload snapshot
1080 condition: SUCCESSFUL
1082 - name: 'apex-upload-snapshot'
1083 current-parameters: false
1084 predefined-parameters: |
1086 node-parameters: true
1087 kill-phase-on: FAILURE
1093 name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
1095 project-type: 'multijob'
1108 - '{project}-defaults'
1109 - project-parameter:
1110 project: '{project}'
1113 gs-pathname: '{gs-pathname}'
1115 name: DEPLOY_SCENARIO
1116 default: 'os-nosdn-nofeature-ha'
1117 description: "Scenario to deploy with."
1120 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1121 description: 'Git URL to use on this Jenkins Slave'
1124 default: /root/.ssh/id_rsa
1125 description: 'SSH key to use for Apex'
1130 use-build-blocker: true
1131 blocking-level: 'NODE'
1135 - 'apex-.*-promote.*'
1137 - 'apex-.+-baremetal-.+'
1144 - description-setter:
1145 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1147 name: 'Baremetal Deploy'
1148 condition: SUCCESSFUL
1150 - name: 'apex-deploy-baremetal-{stream}'
1151 node-parameters: true
1152 current-parameters: true
1153 predefined-parameters: |
1155 GERRIT_BRANCH=$GERRIT_BRANCH
1157 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1158 kill-phase-on: FAILURE
1165 - name: 'yardstick-apex-baremetal-daily-{stream}'
1166 node-parameters: true
1167 current-parameters: false
1168 predefined-parameters:
1169 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1170 kill-phase-on: NEVER
1171 abort-all-job: false
1174 # Dovetail Danube test job
1176 name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1178 project-type: 'multijob'
1185 - '{project}-defaults'
1186 - project-parameter:
1187 project: '{project}'
1188 branch: 'stable/danube'
1190 gs-pathname: '/danube'
1192 name: DEPLOY_SCENARIO
1193 default: 'os-nosdn-nofeature-ha'
1194 description: "Scenario to deploy with."
1199 use-build-blocker: true
1200 blocking-level: 'NODE'
1204 - 'apex-.*-promote.*'
1208 - timed: '' # '0 1 * * *'
1211 - description-setter:
1212 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1214 name: 'Baremetal Deploy'
1215 condition: SUCCESSFUL
1217 - name: 'apex-deploy-baremetal-danube'
1218 node-parameters: true
1219 current-parameters: true
1220 predefined-parameters: |
1222 GERRIT_BRANCH=$GERRIT_BRANCH
1224 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1225 kill-phase-on: FAILURE
1232 - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1233 node-parameters: true
1234 current-parameters: false
1235 predefined-parameters:
1236 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1237 kill-phase-on: NEVER
1238 abort-all-job: false
1241 ########################
1243 ########################
1245 name: apex-parameter
1250 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1252 name: ARTIFACT_VERSION
1254 description: "Artifact version type"
1256 name: BUILD_DIRECTORY
1257 default: $WORKSPACE/.build
1258 description: "Directory where the build artifact will be located upon the completion of the build."
1260 name: CACHE_DIRECTORY
1261 default: $HOME/opnfv/apex-cache{gs-pathname}
1262 description: "Directory where the cache to be used during the build is located."
1263 # yamllint disable rule:line-length
1266 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1267 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1268 # yamllint enable rule:line-length
1271 default: '{gs-pathname}'
1272 description: "Version directory where opnfv artifacts are stored in gs repository"
1275 default: $GS_BASE{gs-pathname}
1276 description: "URL to Google Storage."
1280 description: "Flag to know if we should promote/upload snapshot artifacts."
1282 ########################
1284 ########################
1288 name: apex-builder-fraser
1291 name: Baremetal Deploy and Test Phase
1292 condition: SUCCESSFUL
1294 - name: 'apex-os-nosdn-nofeature-ha-baremetal-fraser'
1295 node-parameters: false
1296 current-parameters: false
1297 predefined-parameters: |
1299 kill-phase-on: NEVER
1302 - name: 'apex-os-odl-bgpvpn-ha-baremetal-fraser'
1303 node-parameters: false
1304 current-parameters: false
1305 predefined-parameters: |
1307 kill-phase-on: NEVER
1313 name: apex-builder-gambia
1316 name: Baremetal Deploy and Test Phase
1317 condition: SUCCESSFUL
1319 - name: 'apex-os-nosdn-nofeature-noha-baremetal-gambia'
1320 node-parameters: false
1321 current-parameters: false
1322 predefined-parameters: |
1324 kill-phase-on: NEVER
1327 - name: 'apex-os-nosdn-nofeature-ha-baremetal-gambia'
1328 node-parameters: false
1329 current-parameters: false
1330 predefined-parameters: |
1332 kill-phase-on: NEVER
1335 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-gambia'
1336 node-parameters: false
1337 current-parameters: false
1338 predefined-parameters: |
1340 kill-phase-on: NEVER
1343 - name: 'apex-os-odl-nofeature-noha-baremetal-gambia'
1344 node-parameters: false
1345 current-parameters: false
1346 predefined-parameters: |
1348 kill-phase-on: NEVER
1351 - name: 'apex-os-odl-nofeature-ha-baremetal-gambia'
1352 node-parameters: false
1353 current-parameters: false
1354 predefined-parameters: |
1356 kill-phase-on: NEVER
1359 - name: 'apex-k8s-nosdn-nofeature-noha-baremetal-gambia'
1360 node-parameters: false
1361 current-parameters: false
1362 predefined-parameters: |
1364 kill-phase-on: NEVER
1367 - name: 'apex-os-odl-bgpvpn-ha-baremetal-gambia'
1368 node-parameters: false
1369 current-parameters: false
1370 predefined-parameters: |
1372 kill-phase-on: NEVER
1375 - name: 'apex-os-odl-bgpvpn-noha-baremetal-gambia'
1376 node-parameters: false
1377 current-parameters: false
1378 predefined-parameters: |
1380 kill-phase-on: NEVER
1383 - name: 'apex-os-odl-sfc-ha-baremetal-gambia'
1384 node-parameters: false
1385 current-parameters: false
1386 predefined-parameters: |
1388 kill-phase-on: NEVER
1391 - name: 'apex-os-odl-sfc-noha-baremetal-gambia'
1392 node-parameters: false
1393 current-parameters: false
1394 predefined-parameters: |
1396 kill-phase-on: NEVER
1399 - name: 'apex-os-nosdn-calipso-noha-baremetal-gambia'
1400 node-parameters: false
1401 current-parameters: false
1402 predefined-parameters: |
1404 kill-phase-on: NEVER
1407 - name: 'apex-os-ovn-nofeature-ha-baremetal-gambia'
1408 node-parameters: false
1409 current-parameters: false
1410 predefined-parameters: |
1412 kill-phase-on: NEVER
1418 name: apex-builder-danube
1421 name: Baremetal Deploy and Test Phase
1422 condition: SUCCESSFUL
1424 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
1425 node-parameters: false
1426 current-parameters: false
1427 predefined-parameters: |
1429 kill-phase-on: NEVER
1432 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
1433 node-parameters: false
1434 current-parameters: false
1435 predefined-parameters: |
1437 kill-phase-on: NEVER
1440 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
1441 node-parameters: false
1442 current-parameters: false
1443 predefined-parameters: |
1445 kill-phase-on: NEVER
1448 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
1449 node-parameters: false
1450 current-parameters: false
1451 predefined-parameters: |
1453 kill-phase-on: NEVER
1456 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
1457 node-parameters: false
1458 current-parameters: false
1459 predefined-parameters: |
1461 kill-phase-on: NEVER
1464 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
1465 node-parameters: false
1466 current-parameters: false
1467 predefined-parameters: |
1469 kill-phase-on: NEVER
1472 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
1473 node-parameters: false
1474 current-parameters: false
1475 predefined-parameters: |
1477 kill-phase-on: NEVER
1480 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
1481 node-parameters: false
1482 current-parameters: false
1483 predefined-parameters: |
1485 kill-phase-on: NEVER
1488 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
1489 node-parameters: false
1490 current-parameters: false
1491 predefined-parameters: |
1493 kill-phase-on: NEVER
1496 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
1497 node-parameters: false
1498 current-parameters: false
1499 predefined-parameters: |
1501 kill-phase-on: NEVER
1504 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
1505 node-parameters: false
1506 current-parameters: false
1507 predefined-parameters: |
1509 kill-phase-on: NEVER
1512 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
1513 node-parameters: false
1514 current-parameters: false
1515 predefined-parameters: |
1517 kill-phase-on: NEVER
1520 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
1521 node-parameters: false
1522 current-parameters: false
1523 predefined-parameters: |
1525 kill-phase-on: NEVER
1528 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
1529 node-parameters: false
1530 current-parameters: false
1531 predefined-parameters: |
1533 kill-phase-on: NEVER
1536 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
1537 node-parameters: false
1538 current-parameters: false
1539 predefined-parameters: |
1541 kill-phase-on: NEVER
1544 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
1545 node-parameters: false
1546 current-parameters: false
1547 predefined-parameters: |
1549 kill-phase-on: NEVER
1552 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
1553 node-parameters: false
1554 current-parameters: false
1555 predefined-parameters: |
1557 kill-phase-on: NEVER
1560 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
1561 node-parameters: false
1562 current-parameters: false
1563 predefined-parameters: |
1565 kill-phase-on: NEVER
1568 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1569 node-parameters: false
1570 current-parameters: false
1571 predefined-parameters: |
1573 kill-phase-on: NEVER
1576 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1577 node-parameters: false
1578 current-parameters: false
1579 predefined-parameters: |
1581 kill-phase-on: NEVER
1584 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1585 node-parameters: false
1586 current-parameters: false
1587 predefined-parameters: |
1589 kill-phase-on: NEVER
1592 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1593 node-parameters: false
1594 current-parameters: false
1595 predefined-parameters: |
1597 kill-phase-on: NEVER
1600 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1601 node-parameters: false
1602 current-parameters: false
1603 predefined-parameters: |
1605 kill-phase-on: NEVER
1608 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1609 node-parameters: false
1610 current-parameters: false
1611 predefined-parameters: |
1613 kill-phase-on: NEVER
1616 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1617 node-parameters: false
1618 current-parameters: false
1619 predefined-parameters: |
1621 kill-phase-on: NEVER
1624 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1625 node-parameters: false
1626 current-parameters: false
1627 predefined-parameters: |
1629 kill-phase-on: NEVER
1635 name: apex-builder-master
1638 name: Baremetal Deploy and Test Phase
1639 condition: SUCCESSFUL
1641 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1642 node-parameters: false
1643 current-parameters: false
1644 predefined-parameters: |
1646 kill-phase-on: NEVER
1649 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1650 node-parameters: false
1651 current-parameters: false
1652 predefined-parameters: |
1654 kill-phase-on: NEVER
1657 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-master'
1658 node-parameters: false
1659 current-parameters: false
1660 predefined-parameters: |
1662 kill-phase-on: NEVER
1665 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1666 node-parameters: false
1667 current-parameters: false
1668 predefined-parameters: |
1670 kill-phase-on: NEVER
1673 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1674 node-parameters: false
1675 current-parameters: false
1676 predefined-parameters: |
1678 kill-phase-on: NEVER
1681 - name: 'apex-os-nosdn-rocky-noha-baremetal-master'
1682 node-parameters: false
1683 current-parameters: false
1684 predefined-parameters: |
1686 kill-phase-on: NEVER
1689 - name: 'apex-os-nosdn-rocky-ha-baremetal-master'
1690 node-parameters: false
1691 current-parameters: false
1692 predefined-parameters: |
1694 kill-phase-on: NEVER
1697 - name: 'apex-os-nosdn-rocky-ha-ipv6-baremetal-master'
1698 node-parameters: false
1699 current-parameters: false
1700 predefined-parameters: |
1702 kill-phase-on: NEVER
1705 - name: 'apex-os-odl-rocky-noha-baremetal-master'
1706 node-parameters: false
1707 current-parameters: false
1708 predefined-parameters: |
1710 kill-phase-on: NEVER
1713 - name: 'apex-os-odl-rocky-ha-baremetal-master'
1714 node-parameters: false
1715 current-parameters: false
1716 predefined-parameters: |
1718 kill-phase-on: NEVER
1721 - name: 'apex-k8s-nosdn-nofeature-noha-baremetal-master'
1722 node-parameters: false
1723 current-parameters: false
1724 predefined-parameters: |
1726 kill-phase-on: NEVER
1729 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1730 node-parameters: false
1731 current-parameters: false
1732 predefined-parameters: |
1734 kill-phase-on: NEVER
1737 - name: 'apex-os-odl-bgpvpn-noha-baremetal-master'
1738 node-parameters: false
1739 current-parameters: false
1740 predefined-parameters: |
1742 kill-phase-on: NEVER
1745 - name: 'apex-os-odl-bgpvpn_queens-ha-baremetal-master'
1746 node-parameters: false
1747 current-parameters: false
1748 predefined-parameters: |
1750 kill-phase-on: NEVER
1753 - name: 'apex-os-odl-bgpvpn_queens-noha-baremetal-master'
1754 node-parameters: false
1755 current-parameters: false
1756 predefined-parameters: |
1758 kill-phase-on: NEVER
1761 - name: 'apex-os-odl-sfc-ha-baremetal-master'
1762 node-parameters: false
1763 current-parameters: false
1764 predefined-parameters: |
1766 kill-phase-on: NEVER
1769 - name: 'apex-os-odl-sfc-noha-baremetal-master'
1770 node-parameters: false
1771 current-parameters: false
1772 predefined-parameters: |
1774 kill-phase-on: NEVER
1777 - name: 'apex-os-odl-sfc_rocky-ha-baremetal-master'
1778 node-parameters: false
1779 current-parameters: false
1780 predefined-parameters: |
1782 kill-phase-on: NEVER
1785 - name: 'apex-os-odl-sfc_rocky-noha-baremetal-master'
1786 node-parameters: false
1787 current-parameters: false
1788 predefined-parameters: |
1790 kill-phase-on: NEVER
1793 - name: 'apex-os-nosdn-calipso-noha-baremetal-master'
1794 node-parameters: false
1795 current-parameters: false
1796 predefined-parameters: |
1798 kill-phase-on: NEVER
1801 - name: 'apex-os-nosdn-calipso_rocky-noha-baremetal-master'
1802 node-parameters: false
1803 current-parameters: false
1804 predefined-parameters: |
1806 kill-phase-on: NEVER
1809 - name: 'apex-os-ovn-nofeature-ha-baremetal-master'
1810 node-parameters: false
1811 current-parameters: false
1812 predefined-parameters: |
1814 kill-phase-on: NEVER
1817 - name: 'apex-os-ovn-rocky-ha-baremetal-master'
1818 node-parameters: false
1819 current-parameters: false
1820 predefined-parameters: |
1822 kill-phase-on: NEVER
1828 name: apex-builder-euphrates
1831 name: Baremetal Deploy and Test Phase
1832 condition: SUCCESSFUL
1834 - name: 'apex-os-nosdn-nofeature-noha-baremetal-euphrates'
1835 node-parameters: false
1836 current-parameters: false
1837 predefined-parameters: |
1839 kill-phase-on: NEVER
1842 - name: 'apex-os-nosdn-nofeature-ha-baremetal-euphrates'
1843 node-parameters: false
1844 current-parameters: false
1845 predefined-parameters: |
1847 kill-phase-on: NEVER
1850 - name: 'apex-os-odl-nofeature-ha-baremetal-euphrates'
1851 node-parameters: false
1852 current-parameters: false
1853 predefined-parameters: |
1855 kill-phase-on: NEVER
1858 - name: 'apex-os-odl-nofeature-noha-baremetal-euphrates'
1859 node-parameters: false
1860 current-parameters: false
1861 predefined-parameters: |
1863 kill-phase-on: NEVER
1866 - name: 'apex-os-odl-bgpvpn-ha-baremetal-euphrates'
1867 node-parameters: false
1868 current-parameters: false
1869 predefined-parameters: |
1871 kill-phase-on: NEVER
1874 - name: 'apex-os-ovn-nofeature-noha-baremetal-euphrates'
1875 node-parameters: false
1876 current-parameters: false
1877 predefined-parameters: |
1879 kill-phase-on: NEVER
1882 - name: 'apex-os-nosdn-fdio-noha-baremetal-euphrates'
1883 node-parameters: false
1884 current-parameters: false
1885 predefined-parameters: |
1887 kill-phase-on: NEVER
1890 - name: 'apex-os-nosdn-fdio-ha-baremetal-euphrates'
1891 node-parameters: false
1892 current-parameters: false
1893 predefined-parameters: |
1895 kill-phase-on: NEVER
1898 - name: 'apex-os-nosdn-bar-ha-baremetal-euphrates'
1899 node-parameters: false
1900 current-parameters: false
1901 predefined-parameters: |
1903 kill-phase-on: NEVER
1906 - name: 'apex-os-nosdn-bar-noha-baremetal-euphrates'
1907 node-parameters: false
1908 current-parameters: false
1909 predefined-parameters: |
1911 kill-phase-on: NEVER
1914 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-euphrates'
1915 node-parameters: false
1916 current-parameters: false
1917 predefined-parameters: |
1919 kill-phase-on: NEVER
1922 - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-euphrates'
1923 node-parameters: false
1924 current-parameters: false
1925 predefined-parameters: |
1927 kill-phase-on: NEVER
1930 - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-euphrates'
1931 node-parameters: false
1932 current-parameters: false
1933 predefined-parameters: |
1935 kill-phase-on: NEVER
1938 - name: 'apex-os-nosdn-kvm_ovs_dpdk-noha-baremetal-euphrates'
1939 node-parameters: false
1940 current-parameters: false
1941 predefined-parameters: |
1943 kill-phase-on: NEVER
1946 - name: 'apex-os-nosdn-kvm_ovs_dpdk-ha-baremetal-euphrates'
1947 node-parameters: false
1948 current-parameters: false
1949 predefined-parameters: |
1951 kill-phase-on: NEVER
1954 - name: 'apex-os-odl-sfc-noha-baremetal-euphrates'
1955 node-parameters: false
1956 current-parameters: false
1957 predefined-parameters: |
1959 kill-phase-on: NEVER
1962 - name: 'apex-os-odl-sfc-ha-baremetal-euphrates'
1963 node-parameters: false
1964 current-parameters: false
1965 predefined-parameters: |
1967 kill-phase-on: NEVER
1971 name: 'apex-upload-artifact'
1974 !include-raw: ./apex-upload-artifact.sh
1977 name: 'apex-download-artifact'
1980 !include-raw: ./apex-download-artifact.sh
1986 !include-raw: ./apex-deploy.sh
1989 name: 'apex-fetch-logs'
1992 !include-raw: ./apex-fetch-logs.sh
1994 #######################
1996 # timed is in format: 'min hour daymonth month dayweek'
1997 ########################
2001 - timed: '0 0 1-31/2 * *'
2006 - timed: '0 4 2-30/2 * *'
2011 - timed: '0 0 2-30/2 * *'
2014 name: 'apex-euphrates'
2016 - timed: '0 0 2-30/2 * *'
2021 - timed: '0 3 1 1 7'
2024 name: 'master-master'
2026 - timed: '0 12 * * *'
2029 name: 'master-rocky'
2031 - timed: '0 12 * * *'
2034 name: 'master-queens'
2039 name: 'gambia-master'
2044 name: 'gambia-rocky'
2049 name: 'gambia-queens'
2051 - timed: '0 12 * * *'
2054 name: 'fraser-master'
2059 name: 'fraser-rocky'
2064 name: 'fraser-queens'
2069 name: 'euphrates-master'
2074 name: 'euphrates-rocky'
2079 name: 'euphrates-queens'
2084 name: 'danube-master'
2089 name: 'danube-rocky'
2094 name: 'danube-queens'