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
479 if echo $DEPLOY_SCENARIO | grep queens &> /dev/null; then
480 echo 'REPO=opnfv' > functest_repo
482 echo 'REPO=ollivier' > functest_repo
485 properties-file: functest_repo
490 - name: 'functest-apex-virtual-suite-{stream}'
491 current-parameters: false
492 predefined-parameters: |
493 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
494 FUNCTEST_MODE=$FUNCTEST_MODE
495 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
497 GERRIT_BRANCH=$GERRIT_BRANCH
498 GERRIT_REFSPEC=$GERRIT_REFSPEC
499 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
500 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
501 node-parameters: true
506 name: apex-fetch-logs
508 - name: 'apex-fetch-logs-{stream}'
509 current-parameters: false
510 predefined-parameters: |
511 GERRIT_BRANCH=$GERRIT_BRANCH
512 GERRIT_REFSPEC=$GERRIT_REFSPEC
513 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
514 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
515 node-parameters: true
520 # Baremetal Deploy and Test
522 name: 'apex-{scenario}-baremetal-{scenario_stream}'
524 project-type: 'multijob'
532 - '{project}-defaults'
533 - '{project}-baremetal-{scenario_stream}-defaults'
538 gs-pathname: '{gs-pathname}'
540 name: DEPLOY_SCENARIO
541 default: '{scenario}'
542 description: "Scenario to deploy with."
547 use-build-blocker: true
548 blocking-level: 'NODE'
552 - 'apex-.*-promote.*'
554 - 'apex-.+-baremetal-.+'
561 - description-setter:
562 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
564 name: 'Baremetal Deploy'
565 condition: SUCCESSFUL
566 execution-type: SEQUENTIALLY
568 - name: 'apex-deploy-baremetal-{scenario_stream}'
569 node-parameters: true
570 current-parameters: true
571 predefined-parameters: |
573 GERRIT_BRANCH=$GERRIT_BRANCH
575 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
579 - name: 'apex-fetch-logs-{scenario_stream}'
580 current-parameters: true
581 predefined-parameters: |
582 GERRIT_BRANCH=$GERRIT_BRANCH
584 node-parameters: true
589 if echo $DEPLOY_SCENARIO | grep queens &> /dev/null; then
590 echo 'REPO=opnfv' > functest_properties
592 echo 'REPO=ollivier' > functest_properties
594 features=$(echo $DEPLOY_SCENARIO | sed -r -n 's/os-.+-(.+)-(noha|ha)/\1/p')
595 if [ "$features" == 'queens' ]; then
596 functest_scenario=$(echo $DEPLOY_SCENARIO | sed -r -n 's/(os-.+?)-queens-(noha|ha)/\1-nofeature-\2/p')
597 elif [[ "$features" =~ 'queens' ]]; then
598 functest_scenario=$(echo $DEPLOY_SCENARIO | sed -r -n 's/(os-.+?)-(.+)_queens-(noha|ha)/\1-\2-\3/p')
600 functest_scenario=$DEPLOY_SCENARIO
602 echo "DEPLOY_SCENARIO=$functest_scenario" >> functest_properties
604 properties-file: functest_properties
605 override-build-parameters: true
607 name: 'OPNFV Test Suite'
610 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
611 node-parameters: true
612 current-parameters: false
613 predefined-parameters:
614 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
619 name: apex-fetch-logs
621 - name: 'apex-fetch-logs-{scenario_stream}'
622 current-parameters: true
623 predefined-parameters: |
624 GERRIT_BRANCH=$GERRIT_BRANCH
626 node-parameters: true
633 !include-raw-escape: ./update-build-result.groovy
637 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
639 project-type: 'multijob'
644 - '{project}-defaults'
645 - '{project}-baremetal-{scenario_stream}-defaults'
650 gs-pathname: '{gs-pathname}'
652 name: DEPLOY_SCENARIO
653 default: '{scenario}'
654 description: "Scenario to deploy with."
659 use-build-blocker: true
660 blocking-level: 'NODE'
665 - 'apex-testsuite-.+-baremetal-.+'
672 - description-setter:
673 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
678 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
679 node-parameters: true
680 current-parameters: false
681 predefined-parameters:
682 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
690 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
691 node-parameters: true
692 current-parameters: false
693 predefined-parameters:
694 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
699 name: Dovetail-proposed_tests
702 - name: 'dovetail-apex-baremetal-default-mandatory-{scenario_stream}'
703 node-parameters: true
704 current-parameters: false
705 predefined-parameters:
706 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
708 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
712 name: Dovetail-default
715 - name: 'dovetail-apex-baremetal-default-optional-{scenario_stream}'
716 node-parameters: true
717 current-parameters: false
718 predefined-parameters:
719 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
721 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
728 - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
729 node-parameters: true
730 current-parameters: false
731 predefined-parameters:
732 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
733 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
737 # Build status is always success due conditional plugin prefetching
738 # build status before multijob phases execute
739 # - conditional-step:
740 # condition-kind: current-status
741 # condition-worst: SUCCESS
742 # condtion-best: SUCCESS
743 # on-evaluation-failure: mark-unstable
745 # - shell: 'echo "Tests Passed"'
748 name: 'apex-daily-{stream}'
750 # Job template for daily build
752 # Required Variables:
753 # stream: branch with - in place of / (eg. stable)
754 # branch: branch (eg. stable)
755 project-type: 'multijob'
757 disabled: '{obj:disable_daily}'
763 - '{project}-defaults'
764 - '{project}-baremetal-{stream}-defaults'
769 gs-pathname: '{gs-pathname}'
774 use-build-blocker: true
775 blocking-level: 'NODE'
785 condition: SUCCESSFUL
787 - name: 'apex-build-{stream}'
788 current-parameters: false
789 predefined-parameters: |
790 GERRIT_BRANCH=$GERRIT_BRANCH
792 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
793 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
794 node-parameters: true
795 kill-phase-on: FAILURE
799 name: 'Verify and upload ISO'
800 condition: SUCCESSFUL
802 - name: 'apex-verify-iso-{stream}'
803 current-parameters: false
804 predefined-parameters: |
805 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
806 GERRIT_BRANCH=$GERRIT_BRANCH
808 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
809 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
810 node-parameters: true
811 kill-phase-on: FAILURE
814 - apex-builder-{stream}
816 # snapshot info fetch
818 name: 'apex-fetch-snap-info'
823 - '{project}-defaults'
827 !include-raw-escape: ./apex-fetch-snap-info.sh
831 name: 'apex-create-snapshot'
836 - '{project}-defaults'
840 !include-raw-escape: ./apex-snapshot-create.sh
844 name: 'apex-upload-snapshot'
849 - '{project}-defaults'
853 properties-content: ARTIFACT_TYPE=snapshot
854 - 'apex-upload-artifact'
858 name: 'apex-csit-promote-daily-{stream}-os-{os_version}-{topology}'
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'
867 disabled: '{disable_promote}'
877 gs-pathname: '{gs-pathname}'
879 name: ARTIFACT_VERSION
881 description: "Used for overriding the ARTIFACT_VERSION"
885 description: "Used for overriding the PROMOTE"
888 default: $GS_BASE{gs-pathname}/{os_version}/{topology}
889 description: "User for overriding GS_URL from apex params"
892 default: '{os_version}'
893 description: OpenStack version short name
896 default: '{odl_branch}'
897 description: ODL branch being used
901 use-build-blocker: true
902 blocking-level: 'NODE'
907 - 'apex-csit-promote.*'
915 - '{stream}-{os_version}'
919 name: apex-virtual-deploy
920 condition: SUCCESSFUL
922 - name: 'apex-deploy-virtual-{stream}'
923 current-parameters: true
924 predefined-parameters: |
925 DEPLOY_SCENARIO=os-odl-{os_scenario}-{topology}
927 GERRIT_BRANCH=$GERRIT_BRANCH
928 GERRIT_REFSPEC=$GERRIT_REFSPEC
929 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
930 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
931 node-parameters: true
932 kill-phase-on: FAILURE
936 name: fetch snapshot info
937 condition: SUCCESSFUL
939 - name: 'apex-fetch-snap-info'
940 current-parameters: true
941 node-parameters: true
942 kill-phase-on: FAILURE
947 condition: SUCCESSFUL
948 execution-type: SEQUENTIALLY
950 - name: cperf-apex-csit-master
951 predefined-parameters: |
952 ODL_BRANCH=$ODL_BRANCH
953 RC_FILE_PATH=/tmp/csit/overcloudrc
954 NODE_FILE_PATH=/tmp/csit/node.yaml
955 SSH_KEY_PATH=/tmp/csit/id_rsa
956 ODL_CONTAINERIZED=true
957 OS_VERSION=$OS_VERSION
958 node-parameters: true
961 - name: cperf-upload-logs-csit
962 predefined-parameters: |
963 ODL_BRANCH=$ODL_BRANCH
964 OS_VERSION=$OS_VERSION
965 node-parameters: true
966 kill-phase-on: FAILURE
968 - name: 'apex-fetch-logs-{stream}'
969 current-parameters: false
970 predefined-parameters: |
971 GERRIT_BRANCH=$GERRIT_BRANCH
972 GERRIT_REFSPEC=$GERRIT_REFSPEC
973 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
974 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
975 node-parameters: true
980 name: create snapshot
981 condition: SUCCESSFUL
983 - name: 'apex-create-snapshot'
984 current-parameters: true
985 predefined-parameters: |
987 node-parameters: true
988 kill-phase-on: FAILURE
992 name: upload snapshot
993 condition: SUCCESSFUL
995 - name: 'apex-upload-snapshot'
996 current-parameters: true
997 predefined-parameters: |
999 node-parameters: true
1000 kill-phase-on: FAILURE
1006 name: 'apex-fdio-promote-daily-{stream}'
1008 # Job template for promoting CSIT Snapshots
1010 # Required Variables:
1011 # stream: branch with - in place of / (eg. stable)
1012 # branch: branch (eg. stable)
1013 node: '{virtual-slave}'
1014 project-type: 'multijob'
1021 - project-parameter:
1022 project: '{project}'
1025 gs-pathname: '{gs-pathname}'
1029 use-build-blocker: true
1030 blocking-level: 'NODE'
1040 condition: SUCCESSFUL
1042 - name: 'apex-build-{stream}'
1043 current-parameters: false
1044 predefined-parameters: |
1045 GERRIT_BRANCH=$GERRIT_BRANCH
1046 GERRIT_REFSPEC=$GERRIT_REFSPEC
1047 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1048 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1049 node-parameters: false
1050 kill-phase-on: FAILURE
1054 name: deploy-virtual
1055 condition: SUCCESSFUL
1057 - name: 'apex-deploy-virtual-{stream}'
1058 current-parameters: false
1059 predefined-parameters: |
1060 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1062 GERRIT_BRANCH=$GERRIT_BRANCH
1063 GERRIT_REFSPEC=$GERRIT_REFSPEC
1064 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1065 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1067 node-parameters: true
1068 kill-phase-on: FAILURE
1072 name: create snapshot
1073 condition: SUCCESSFUL
1075 - name: 'apex-create-snapshot'
1076 current-parameters: false
1077 predefined-parameters: |
1079 node-parameters: true
1080 kill-phase-on: FAILURE
1084 name: upload snapshot
1085 condition: SUCCESSFUL
1087 - name: 'apex-upload-snapshot'
1088 current-parameters: false
1089 predefined-parameters: |
1091 node-parameters: true
1092 kill-phase-on: FAILURE
1098 name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
1100 project-type: 'multijob'
1113 - '{project}-defaults'
1114 - project-parameter:
1115 project: '{project}'
1118 gs-pathname: '{gs-pathname}'
1120 name: DEPLOY_SCENARIO
1121 default: 'os-nosdn-nofeature-ha'
1122 description: "Scenario to deploy with."
1125 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1126 description: 'Git URL to use on this Jenkins Slave'
1129 default: /root/.ssh/id_rsa
1130 description: 'SSH key to use for Apex'
1135 use-build-blocker: true
1136 blocking-level: 'NODE'
1140 - 'apex-.*-promote.*'
1142 - 'apex-.+-baremetal-.+'
1149 - description-setter:
1150 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1152 name: 'Baremetal Deploy'
1153 condition: SUCCESSFUL
1155 - name: 'apex-deploy-baremetal-{stream}'
1156 node-parameters: true
1157 current-parameters: true
1158 predefined-parameters: |
1160 GERRIT_BRANCH=$GERRIT_BRANCH
1162 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1163 kill-phase-on: FAILURE
1170 - name: 'yardstick-apex-baremetal-daily-{stream}'
1171 node-parameters: true
1172 current-parameters: false
1173 predefined-parameters:
1174 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1175 kill-phase-on: NEVER
1176 abort-all-job: false
1179 # Dovetail Danube test job
1181 name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1183 project-type: 'multijob'
1190 - '{project}-defaults'
1191 - project-parameter:
1192 project: '{project}'
1193 branch: 'stable/danube'
1195 gs-pathname: '/danube'
1197 name: DEPLOY_SCENARIO
1198 default: 'os-nosdn-nofeature-ha'
1199 description: "Scenario to deploy with."
1204 use-build-blocker: true
1205 blocking-level: 'NODE'
1209 - 'apex-.*-promote.*'
1213 - timed: '' # '0 1 * * *'
1216 - description-setter:
1217 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1219 name: 'Baremetal Deploy'
1220 condition: SUCCESSFUL
1222 - name: 'apex-deploy-baremetal-danube'
1223 node-parameters: true
1224 current-parameters: true
1225 predefined-parameters: |
1227 GERRIT_BRANCH=$GERRIT_BRANCH
1229 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1230 kill-phase-on: FAILURE
1237 - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1238 node-parameters: true
1239 current-parameters: false
1240 predefined-parameters:
1241 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1242 kill-phase-on: NEVER
1243 abort-all-job: false
1246 ########################
1248 ########################
1250 name: apex-parameter
1255 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1257 name: ARTIFACT_VERSION
1259 description: "Artifact version type"
1261 name: BUILD_DIRECTORY
1262 default: $WORKSPACE/.build
1263 description: "Directory where the build artifact will be located upon the completion of the build."
1265 name: CACHE_DIRECTORY
1266 default: $HOME/opnfv/apex-cache{gs-pathname}
1267 description: "Directory where the cache to be used during the build is located."
1268 # yamllint disable rule:line-length
1271 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1272 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1273 # yamllint enable rule:line-length
1276 default: '{gs-pathname}'
1277 description: "Version directory where opnfv artifacts are stored in gs repository"
1280 default: $GS_BASE{gs-pathname}
1281 description: "URL to Google Storage."
1285 description: "Flag to know if we should promote/upload snapshot artifacts."
1287 ########################
1289 ########################
1293 name: apex-builder-fraser
1296 name: Baremetal Deploy and Test Phase
1297 condition: SUCCESSFUL
1299 - name: 'apex-os-nosdn-nofeature-ha-baremetal-fraser'
1300 node-parameters: false
1301 current-parameters: false
1302 predefined-parameters: |
1304 kill-phase-on: NEVER
1307 - name: 'apex-os-odl-bgpvpn-ha-baremetal-fraser'
1308 node-parameters: false
1309 current-parameters: false
1310 predefined-parameters: |
1312 kill-phase-on: NEVER
1318 name: apex-builder-gambia
1321 name: Baremetal Deploy and Test Phase
1322 condition: SUCCESSFUL
1324 - name: 'apex-os-nosdn-nofeature-noha-baremetal-gambia'
1325 node-parameters: false
1326 current-parameters: false
1327 predefined-parameters: |
1329 kill-phase-on: NEVER
1332 - name: 'apex-os-nosdn-nofeature-ha-baremetal-gambia'
1333 node-parameters: false
1334 current-parameters: false
1335 predefined-parameters: |
1337 kill-phase-on: NEVER
1340 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-gambia'
1341 node-parameters: false
1342 current-parameters: false
1343 predefined-parameters: |
1345 kill-phase-on: NEVER
1348 - name: 'apex-os-odl-nofeature-noha-baremetal-gambia'
1349 node-parameters: false
1350 current-parameters: false
1351 predefined-parameters: |
1353 kill-phase-on: NEVER
1356 - name: 'apex-os-odl-nofeature-ha-baremetal-gambia'
1357 node-parameters: false
1358 current-parameters: false
1359 predefined-parameters: |
1361 kill-phase-on: NEVER
1364 - name: 'apex-k8s-nosdn-nofeature-noha-baremetal-gambia'
1365 node-parameters: false
1366 current-parameters: false
1367 predefined-parameters: |
1369 kill-phase-on: NEVER
1372 - name: 'apex-os-odl-bgpvpn-ha-baremetal-gambia'
1373 node-parameters: false
1374 current-parameters: false
1375 predefined-parameters: |
1377 kill-phase-on: NEVER
1380 - name: 'apex-os-odl-bgpvpn-noha-baremetal-gambia'
1381 node-parameters: false
1382 current-parameters: false
1383 predefined-parameters: |
1385 kill-phase-on: NEVER
1388 - name: 'apex-os-odl-sfc-ha-baremetal-gambia'
1389 node-parameters: false
1390 current-parameters: false
1391 predefined-parameters: |
1393 kill-phase-on: NEVER
1396 - name: 'apex-os-odl-sfc-noha-baremetal-gambia'
1397 node-parameters: false
1398 current-parameters: false
1399 predefined-parameters: |
1401 kill-phase-on: NEVER
1404 - name: 'apex-os-nosdn-calipso-noha-baremetal-gambia'
1405 node-parameters: false
1406 current-parameters: false
1407 predefined-parameters: |
1409 kill-phase-on: NEVER
1412 - name: 'apex-os-ovn-nofeature-ha-baremetal-gambia'
1413 node-parameters: false
1414 current-parameters: false
1415 predefined-parameters: |
1417 kill-phase-on: NEVER
1423 name: apex-builder-danube
1426 name: Baremetal Deploy and Test Phase
1427 condition: SUCCESSFUL
1429 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
1430 node-parameters: false
1431 current-parameters: false
1432 predefined-parameters: |
1434 kill-phase-on: NEVER
1437 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
1438 node-parameters: false
1439 current-parameters: false
1440 predefined-parameters: |
1442 kill-phase-on: NEVER
1445 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
1446 node-parameters: false
1447 current-parameters: false
1448 predefined-parameters: |
1450 kill-phase-on: NEVER
1453 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
1454 node-parameters: false
1455 current-parameters: false
1456 predefined-parameters: |
1458 kill-phase-on: NEVER
1461 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
1462 node-parameters: false
1463 current-parameters: false
1464 predefined-parameters: |
1466 kill-phase-on: NEVER
1469 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
1470 node-parameters: false
1471 current-parameters: false
1472 predefined-parameters: |
1474 kill-phase-on: NEVER
1477 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
1478 node-parameters: false
1479 current-parameters: false
1480 predefined-parameters: |
1482 kill-phase-on: NEVER
1485 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
1486 node-parameters: false
1487 current-parameters: false
1488 predefined-parameters: |
1490 kill-phase-on: NEVER
1493 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
1494 node-parameters: false
1495 current-parameters: false
1496 predefined-parameters: |
1498 kill-phase-on: NEVER
1501 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
1502 node-parameters: false
1503 current-parameters: false
1504 predefined-parameters: |
1506 kill-phase-on: NEVER
1509 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
1510 node-parameters: false
1511 current-parameters: false
1512 predefined-parameters: |
1514 kill-phase-on: NEVER
1517 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
1518 node-parameters: false
1519 current-parameters: false
1520 predefined-parameters: |
1522 kill-phase-on: NEVER
1525 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
1526 node-parameters: false
1527 current-parameters: false
1528 predefined-parameters: |
1530 kill-phase-on: NEVER
1533 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
1534 node-parameters: false
1535 current-parameters: false
1536 predefined-parameters: |
1538 kill-phase-on: NEVER
1541 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
1542 node-parameters: false
1543 current-parameters: false
1544 predefined-parameters: |
1546 kill-phase-on: NEVER
1549 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
1550 node-parameters: false
1551 current-parameters: false
1552 predefined-parameters: |
1554 kill-phase-on: NEVER
1557 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
1558 node-parameters: false
1559 current-parameters: false
1560 predefined-parameters: |
1562 kill-phase-on: NEVER
1565 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
1566 node-parameters: false
1567 current-parameters: false
1568 predefined-parameters: |
1570 kill-phase-on: NEVER
1573 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1574 node-parameters: false
1575 current-parameters: false
1576 predefined-parameters: |
1578 kill-phase-on: NEVER
1581 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1582 node-parameters: false
1583 current-parameters: false
1584 predefined-parameters: |
1586 kill-phase-on: NEVER
1589 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1590 node-parameters: false
1591 current-parameters: false
1592 predefined-parameters: |
1594 kill-phase-on: NEVER
1597 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1598 node-parameters: false
1599 current-parameters: false
1600 predefined-parameters: |
1602 kill-phase-on: NEVER
1605 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1606 node-parameters: false
1607 current-parameters: false
1608 predefined-parameters: |
1610 kill-phase-on: NEVER
1613 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1614 node-parameters: false
1615 current-parameters: false
1616 predefined-parameters: |
1618 kill-phase-on: NEVER
1621 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1622 node-parameters: false
1623 current-parameters: false
1624 predefined-parameters: |
1626 kill-phase-on: NEVER
1629 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1630 node-parameters: false
1631 current-parameters: false
1632 predefined-parameters: |
1634 kill-phase-on: NEVER
1640 name: apex-builder-master
1643 name: Baremetal Deploy and Test Phase
1644 condition: SUCCESSFUL
1646 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1647 node-parameters: false
1648 current-parameters: false
1649 predefined-parameters: |
1651 kill-phase-on: NEVER
1654 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1655 node-parameters: false
1656 current-parameters: false
1657 predefined-parameters: |
1659 kill-phase-on: NEVER
1662 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-master'
1663 node-parameters: false
1664 current-parameters: false
1665 predefined-parameters: |
1667 kill-phase-on: NEVER
1670 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1671 node-parameters: false
1672 current-parameters: false
1673 predefined-parameters: |
1675 kill-phase-on: NEVER
1678 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1679 node-parameters: false
1680 current-parameters: false
1681 predefined-parameters: |
1683 kill-phase-on: NEVER
1686 - name: 'apex-os-nosdn-rocky-noha-baremetal-master'
1687 node-parameters: false
1688 current-parameters: false
1689 predefined-parameters: |
1691 kill-phase-on: NEVER
1694 - name: 'apex-os-nosdn-rocky-ha-baremetal-master'
1695 node-parameters: false
1696 current-parameters: false
1697 predefined-parameters: |
1699 kill-phase-on: NEVER
1702 - name: 'apex-os-nosdn-rocky-ha-ipv6-baremetal-master'
1703 node-parameters: false
1704 current-parameters: false
1705 predefined-parameters: |
1707 kill-phase-on: NEVER
1710 - name: 'apex-os-odl-rocky-noha-baremetal-master'
1711 node-parameters: false
1712 current-parameters: false
1713 predefined-parameters: |
1715 kill-phase-on: NEVER
1718 - name: 'apex-os-odl-rocky-ha-baremetal-master'
1719 node-parameters: false
1720 current-parameters: false
1721 predefined-parameters: |
1723 kill-phase-on: NEVER
1726 - name: 'apex-k8s-nosdn-nofeature-noha-baremetal-master'
1727 node-parameters: false
1728 current-parameters: false
1729 predefined-parameters: |
1731 kill-phase-on: NEVER
1734 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1735 node-parameters: false
1736 current-parameters: false
1737 predefined-parameters: |
1739 kill-phase-on: NEVER
1742 - name: 'apex-os-odl-bgpvpn-noha-baremetal-master'
1743 node-parameters: false
1744 current-parameters: false
1745 predefined-parameters: |
1747 kill-phase-on: NEVER
1750 - name: 'apex-os-odl-bgpvpn_queens-ha-baremetal-master'
1751 node-parameters: false
1752 current-parameters: false
1753 predefined-parameters: |
1755 kill-phase-on: NEVER
1758 - name: 'apex-os-odl-bgpvpn_queens-noha-baremetal-master'
1759 node-parameters: false
1760 current-parameters: false
1761 predefined-parameters: |
1763 kill-phase-on: NEVER
1766 - name: 'apex-os-odl-sfc-ha-baremetal-master'
1767 node-parameters: false
1768 current-parameters: false
1769 predefined-parameters: |
1771 kill-phase-on: NEVER
1774 - name: 'apex-os-odl-sfc-noha-baremetal-master'
1775 node-parameters: false
1776 current-parameters: false
1777 predefined-parameters: |
1779 kill-phase-on: NEVER
1782 - name: 'apex-os-odl-sfc_rocky-ha-baremetal-master'
1783 node-parameters: false
1784 current-parameters: false
1785 predefined-parameters: |
1787 kill-phase-on: NEVER
1790 - name: 'apex-os-odl-sfc_rocky-noha-baremetal-master'
1791 node-parameters: false
1792 current-parameters: false
1793 predefined-parameters: |
1795 kill-phase-on: NEVER
1798 - name: 'apex-os-nosdn-calipso-noha-baremetal-master'
1799 node-parameters: false
1800 current-parameters: false
1801 predefined-parameters: |
1803 kill-phase-on: NEVER
1806 - name: 'apex-os-nosdn-calipso_rocky-noha-baremetal-master'
1807 node-parameters: false
1808 current-parameters: false
1809 predefined-parameters: |
1811 kill-phase-on: NEVER
1814 - name: 'apex-os-ovn-nofeature-ha-baremetal-master'
1815 node-parameters: false
1816 current-parameters: false
1817 predefined-parameters: |
1819 kill-phase-on: NEVER
1822 - name: 'apex-os-ovn-rocky-ha-baremetal-master'
1823 node-parameters: false
1824 current-parameters: false
1825 predefined-parameters: |
1827 kill-phase-on: NEVER
1833 name: apex-builder-euphrates
1836 name: Baremetal Deploy and Test Phase
1837 condition: SUCCESSFUL
1839 - name: 'apex-os-nosdn-nofeature-noha-baremetal-euphrates'
1840 node-parameters: false
1841 current-parameters: false
1842 predefined-parameters: |
1844 kill-phase-on: NEVER
1847 - name: 'apex-os-nosdn-nofeature-ha-baremetal-euphrates'
1848 node-parameters: false
1849 current-parameters: false
1850 predefined-parameters: |
1852 kill-phase-on: NEVER
1855 - name: 'apex-os-odl-nofeature-ha-baremetal-euphrates'
1856 node-parameters: false
1857 current-parameters: false
1858 predefined-parameters: |
1860 kill-phase-on: NEVER
1863 - name: 'apex-os-odl-nofeature-noha-baremetal-euphrates'
1864 node-parameters: false
1865 current-parameters: false
1866 predefined-parameters: |
1868 kill-phase-on: NEVER
1871 - name: 'apex-os-odl-bgpvpn-ha-baremetal-euphrates'
1872 node-parameters: false
1873 current-parameters: false
1874 predefined-parameters: |
1876 kill-phase-on: NEVER
1879 - name: 'apex-os-ovn-nofeature-noha-baremetal-euphrates'
1880 node-parameters: false
1881 current-parameters: false
1882 predefined-parameters: |
1884 kill-phase-on: NEVER
1887 - name: 'apex-os-nosdn-fdio-noha-baremetal-euphrates'
1888 node-parameters: false
1889 current-parameters: false
1890 predefined-parameters: |
1892 kill-phase-on: NEVER
1895 - name: 'apex-os-nosdn-fdio-ha-baremetal-euphrates'
1896 node-parameters: false
1897 current-parameters: false
1898 predefined-parameters: |
1900 kill-phase-on: NEVER
1903 - name: 'apex-os-nosdn-bar-ha-baremetal-euphrates'
1904 node-parameters: false
1905 current-parameters: false
1906 predefined-parameters: |
1908 kill-phase-on: NEVER
1911 - name: 'apex-os-nosdn-bar-noha-baremetal-euphrates'
1912 node-parameters: false
1913 current-parameters: false
1914 predefined-parameters: |
1916 kill-phase-on: NEVER
1919 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-euphrates'
1920 node-parameters: false
1921 current-parameters: false
1922 predefined-parameters: |
1924 kill-phase-on: NEVER
1927 - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-euphrates'
1928 node-parameters: false
1929 current-parameters: false
1930 predefined-parameters: |
1932 kill-phase-on: NEVER
1935 - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-euphrates'
1936 node-parameters: false
1937 current-parameters: false
1938 predefined-parameters: |
1940 kill-phase-on: NEVER
1943 - name: 'apex-os-nosdn-kvm_ovs_dpdk-noha-baremetal-euphrates'
1944 node-parameters: false
1945 current-parameters: false
1946 predefined-parameters: |
1948 kill-phase-on: NEVER
1951 - name: 'apex-os-nosdn-kvm_ovs_dpdk-ha-baremetal-euphrates'
1952 node-parameters: false
1953 current-parameters: false
1954 predefined-parameters: |
1956 kill-phase-on: NEVER
1959 - name: 'apex-os-odl-sfc-noha-baremetal-euphrates'
1960 node-parameters: false
1961 current-parameters: false
1962 predefined-parameters: |
1964 kill-phase-on: NEVER
1967 - name: 'apex-os-odl-sfc-ha-baremetal-euphrates'
1968 node-parameters: false
1969 current-parameters: false
1970 predefined-parameters: |
1972 kill-phase-on: NEVER
1976 name: 'apex-upload-artifact'
1979 !include-raw: ./apex-upload-artifact.sh
1982 name: 'apex-download-artifact'
1985 !include-raw: ./apex-download-artifact.sh
1991 !include-raw: ./apex-deploy.sh
1994 name: 'apex-fetch-logs'
1997 !include-raw: ./apex-fetch-logs.sh
1999 #######################
2001 # timed is in format: 'min hour daymonth month dayweek'
2002 ########################
2006 - timed: '0 0 1-31/2 * *'
2011 - timed: '0 4 2-30/2 * *'
2016 - timed: '0 0 2-30/2 * *'
2019 name: 'apex-euphrates'
2021 - timed: '0 0 2-30/2 * *'
2026 - timed: '0 3 1 1 7'
2029 name: 'master-master'
2031 - timed: '0 12 * * *'
2034 name: 'master-rocky'
2036 - timed: '0 12 * * *'
2039 name: 'master-queens'
2044 name: 'gambia-master'
2049 name: 'gambia-rocky'
2054 name: 'gambia-queens'
2056 - timed: '0 12 * * *'
2059 name: 'fraser-master'
2064 name: 'fraser-rocky'
2069 name: 'fraser-queens'
2074 name: 'euphrates-master'
2079 name: 'euphrates-rocky'
2084 name: 'euphrates-queens'
2089 name: 'danube-master'
2094 name: 'danube-rocky'
2099 name: 'danube-queens'