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 features=$(echo $DEPLOY_SCENARIO | sed -r -n 's/os-.+-(.+)-(noha|ha)/\1/p')
581 if [ "$features" == 'rocky' ]; then
582 functest_scenario=$(echo $DEPLOY_SCENARIO | sed -r -n 's/(os-.+?)-rocky-(noha|ha)/\1-nofeature-\2/p')
583 echo "DOCKER_TAG=hunter" > functest_scenario
584 elif [[ "$features" =~ 'rocky' ]]; then
585 functest_scenario=$(echo $DEPLOY_SCENARIO | sed -r -n 's/(os-.+?)-(.+)_rocky-(noha|ha)/\1-\2-\3/p')
586 echo "DOCKER_TAG=hunter" > functest_scenario
588 functest_scenario=$DEPLOY_SCENARIO
591 echo "DEPLOY_SCENARIO=$functest_scenario" >> functest_scenario
593 properties-file: functest_scenario
594 override-build-parameters: true
596 name: 'OPNFV Test Suite'
599 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
600 node-parameters: true
601 current-parameters: false
602 predefined-parameters: |
603 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
604 DOCKER_TAG=$DOCKER_TAG
609 name: apex-fetch-logs
611 - name: 'apex-fetch-logs-{scenario_stream}'
612 current-parameters: true
613 predefined-parameters: |
614 GERRIT_BRANCH=$GERRIT_BRANCH
616 node-parameters: true
623 !include-raw-escape: ./update-build-result.groovy
627 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
629 project-type: 'multijob'
634 - '{project}-defaults'
635 - '{project}-baremetal-{scenario_stream}-defaults'
640 gs-pathname: '{gs-pathname}'
642 name: DEPLOY_SCENARIO
643 default: '{scenario}'
644 description: "Scenario to deploy with."
648 description: Default docker tag to pass to functest
653 use-build-blocker: true
654 blocking-level: 'NODE'
659 - 'apex-testsuite-.+-baremetal-.+'
666 - description-setter:
667 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
672 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
673 node-parameters: true
674 current-parameters: false
675 predefined-parameters:
676 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
677 DOCKER_TAG=$DOCKER_TAG
685 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
686 node-parameters: true
687 current-parameters: false
688 predefined-parameters:
689 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
694 name: Dovetail-proposed_tests
697 - name: 'dovetail-apex-baremetal-default-mandatory-{scenario_stream}'
698 node-parameters: true
699 current-parameters: false
700 predefined-parameters:
701 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
703 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
707 name: Dovetail-default
710 - name: 'dovetail-apex-baremetal-default-optional-{scenario_stream}'
711 node-parameters: true
712 current-parameters: false
713 predefined-parameters:
714 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
716 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
723 - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
724 node-parameters: true
725 current-parameters: false
726 predefined-parameters:
727 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
728 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
732 # Build status is always success due conditional plugin prefetching
733 # build status before multijob phases execute
734 # - conditional-step:
735 # condition-kind: current-status
736 # condition-worst: SUCCESS
737 # condtion-best: SUCCESS
738 # on-evaluation-failure: mark-unstable
740 # - shell: 'echo "Tests Passed"'
743 name: 'apex-daily-{stream}'
745 # Job template for daily build
747 # Required Variables:
748 # stream: branch with - in place of / (eg. stable)
749 # branch: branch (eg. stable)
750 project-type: 'multijob'
752 disabled: '{obj:disable_daily}'
758 - '{project}-defaults'
759 - '{project}-baremetal-{stream}-defaults'
764 gs-pathname: '{gs-pathname}'
769 use-build-blocker: true
770 blocking-level: 'NODE'
780 condition: SUCCESSFUL
782 - name: 'apex-build-{stream}'
783 current-parameters: false
784 predefined-parameters: |
785 GERRIT_BRANCH=$GERRIT_BRANCH
787 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
788 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
789 node-parameters: true
790 kill-phase-on: FAILURE
794 name: 'Verify and upload ISO'
795 condition: SUCCESSFUL
797 - name: 'apex-verify-iso-{stream}'
798 current-parameters: false
799 predefined-parameters: |
800 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
801 GERRIT_BRANCH=$GERRIT_BRANCH
803 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
804 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
805 node-parameters: true
806 kill-phase-on: FAILURE
809 - apex-builder-{stream}
811 # snapshot info fetch
813 name: 'apex-fetch-snap-info'
818 - '{project}-defaults'
822 !include-raw-escape: ./apex-fetch-snap-info.sh
826 name: 'apex-create-snapshot'
831 - '{project}-defaults'
835 !include-raw-escape: ./apex-snapshot-create.sh
839 name: 'apex-upload-snapshot'
844 - '{project}-defaults'
848 properties-content: ARTIFACT_TYPE=snapshot
849 - 'apex-upload-artifact'
853 name: 'apex-csit-promote-daily-{stream}-os-{os_version}-{topology}'
855 # Job template for promoting CSIT Snapshots
857 # Required Variables:
858 # stream: branch with - in place of / (eg. stable)
859 # branch: branch (eg. stable)
860 node: '{virtual-slave}'
861 project-type: 'multijob'
862 disabled: '{disable_promote}'
872 gs-pathname: '{gs-pathname}'
874 name: ARTIFACT_VERSION
876 description: "Used for overriding the ARTIFACT_VERSION"
880 description: "Used for overriding the PROMOTE"
883 default: 'artifacts.opnfv.org/apex/{os_version}/{topology}'
884 description: "User for overriding GS_URL from apex params"
887 default: '{os_version}'
888 description: OpenStack version short name
891 default: '{odl_branch}'
892 description: ODL branch being used
896 description: "Used to force promotion and skip CSIT"
899 use-build-blocker: true
900 blocking-level: 'NODE'
905 - 'apex-csit-promote.*'
913 - '{stream}-{os_version}'
917 name: apex-virtual-deploy
918 condition: SUCCESSFUL
920 - name: 'apex-deploy-virtual-{stream}'
921 current-parameters: true
922 predefined-parameters: |
923 DEPLOY_SCENARIO=os-odl-{os_scenario}-{topology}
925 GERRIT_BRANCH=$GERRIT_BRANCH
926 GERRIT_REFSPEC=$GERRIT_REFSPEC
927 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
928 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
929 node-parameters: true
930 kill-phase-on: FAILURE
934 name: fetch snapshot info
935 condition: SUCCESSFUL
937 - name: 'apex-fetch-snap-info'
938 current-parameters: true
939 node-parameters: true
940 kill-phase-on: FAILURE
945 condition: SUCCESSFUL
946 execution-type: SEQUENTIALLY
948 - name: cperf-apex-csit-master
949 predefined-parameters: |
950 ODL_BRANCH=$ODL_BRANCH
951 RC_FILE_PATH=/tmp/csit/overcloudrc
952 NODE_FILE_PATH=/tmp/csit/node.yaml
953 SSH_KEY_PATH=/tmp/csit/id_rsa
954 ODL_CONTAINERIZED=true
955 OS_VERSION=$OS_VERSION
956 SKIP_CSIT=$FORCE_PROMOTE
957 node-parameters: true
960 - name: cperf-upload-logs-csit
961 predefined-parameters: |
962 ODL_BRANCH=$ODL_BRANCH
963 OS_VERSION=$OS_VERSION
964 node-parameters: true
965 kill-phase-on: FAILURE
967 - name: 'apex-fetch-logs-{stream}'
968 current-parameters: false
969 predefined-parameters: |
970 GERRIT_BRANCH=$GERRIT_BRANCH
971 GERRIT_REFSPEC=$GERRIT_REFSPEC
972 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
973 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
974 node-parameters: true
979 name: create snapshot
980 condition: SUCCESSFUL
982 - name: 'apex-create-snapshot'
983 current-parameters: true
984 predefined-parameters: |
986 node-parameters: true
987 kill-phase-on: FAILURE
991 name: upload snapshot
992 condition: SUCCESSFUL
994 - name: 'apex-upload-snapshot'
995 current-parameters: true
996 predefined-parameters: |
998 node-parameters: true
999 kill-phase-on: FAILURE
1005 name: 'apex-fdio-promote-daily-{stream}'
1007 # Job template for promoting CSIT Snapshots
1009 # Required Variables:
1010 # stream: branch with - in place of / (eg. stable)
1011 # branch: branch (eg. stable)
1012 node: '{virtual-slave}'
1013 project-type: 'multijob'
1020 - project-parameter:
1021 project: '{project}'
1024 gs-pathname: '{gs-pathname}'
1028 use-build-blocker: true
1029 blocking-level: 'NODE'
1039 condition: SUCCESSFUL
1041 - name: 'apex-build-{stream}'
1042 current-parameters: false
1043 predefined-parameters: |
1044 GERRIT_BRANCH=$GERRIT_BRANCH
1045 GERRIT_REFSPEC=$GERRIT_REFSPEC
1046 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1047 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1048 node-parameters: false
1049 kill-phase-on: FAILURE
1053 name: deploy-virtual
1054 condition: SUCCESSFUL
1056 - name: 'apex-deploy-virtual-{stream}'
1057 current-parameters: false
1058 predefined-parameters: |
1059 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1061 GERRIT_BRANCH=$GERRIT_BRANCH
1062 GERRIT_REFSPEC=$GERRIT_REFSPEC
1063 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1064 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1066 node-parameters: true
1067 kill-phase-on: FAILURE
1071 name: create snapshot
1072 condition: SUCCESSFUL
1074 - name: 'apex-create-snapshot'
1075 current-parameters: false
1076 predefined-parameters: |
1078 node-parameters: true
1079 kill-phase-on: FAILURE
1083 name: upload snapshot
1084 condition: SUCCESSFUL
1086 - name: 'apex-upload-snapshot'
1087 current-parameters: false
1088 predefined-parameters: |
1090 node-parameters: true
1091 kill-phase-on: FAILURE
1097 name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
1099 project-type: 'multijob'
1112 - '{project}-defaults'
1113 - project-parameter:
1114 project: '{project}'
1117 gs-pathname: '{gs-pathname}'
1119 name: DEPLOY_SCENARIO
1120 default: 'os-nosdn-nofeature-ha'
1121 description: "Scenario to deploy with."
1124 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1125 description: 'Git URL to use on this Jenkins Slave'
1128 default: /root/.ssh/id_rsa
1129 description: 'SSH key to use for Apex'
1134 use-build-blocker: true
1135 blocking-level: 'NODE'
1139 - 'apex-.*-promote.*'
1141 - 'apex-.+-baremetal-.+'
1148 - description-setter:
1149 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1151 name: 'Baremetal Deploy'
1152 condition: SUCCESSFUL
1154 - name: 'apex-deploy-baremetal-{stream}'
1155 node-parameters: true
1156 current-parameters: true
1157 predefined-parameters: |
1159 GERRIT_BRANCH=$GERRIT_BRANCH
1161 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1162 kill-phase-on: FAILURE
1169 - name: 'yardstick-apex-baremetal-daily-{stream}'
1170 node-parameters: true
1171 current-parameters: false
1172 predefined-parameters:
1173 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1174 kill-phase-on: NEVER
1175 abort-all-job: false
1178 # Dovetail Danube test job
1180 name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1182 project-type: 'multijob'
1189 - '{project}-defaults'
1190 - project-parameter:
1191 project: '{project}'
1192 branch: 'stable/danube'
1194 gs-pathname: '/danube'
1196 name: DEPLOY_SCENARIO
1197 default: 'os-nosdn-nofeature-ha'
1198 description: "Scenario to deploy with."
1203 use-build-blocker: true
1204 blocking-level: 'NODE'
1208 - 'apex-.*-promote.*'
1212 - timed: '' # '0 1 * * *'
1215 - description-setter:
1216 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1218 name: 'Baremetal Deploy'
1219 condition: SUCCESSFUL
1221 - name: 'apex-deploy-baremetal-danube'
1222 node-parameters: true
1223 current-parameters: true
1224 predefined-parameters: |
1226 GERRIT_BRANCH=$GERRIT_BRANCH
1228 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1229 kill-phase-on: FAILURE
1236 - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1237 node-parameters: true
1238 current-parameters: false
1239 predefined-parameters:
1240 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1241 kill-phase-on: NEVER
1242 abort-all-job: false
1245 ########################
1247 ########################
1249 name: apex-parameter
1254 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1256 name: ARTIFACT_VERSION
1258 description: "Artifact version type"
1260 name: BUILD_DIRECTORY
1261 default: $WORKSPACE/.build
1262 description: "Directory where the build artifact will be located upon the completion of the build."
1264 name: CACHE_DIRECTORY
1265 default: $HOME/opnfv/apex-cache{gs-pathname}
1266 description: "Directory where the cache to be used during the build is located."
1267 # yamllint disable rule:line-length
1270 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1271 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1272 # yamllint enable rule:line-length
1275 default: '{gs-pathname}'
1276 description: "Version directory where opnfv artifacts are stored in gs repository"
1279 default: $GS_BASE{gs-pathname}
1280 description: "URL to Google Storage."
1284 description: "Flag to know if we should promote/upload snapshot artifacts."
1286 ########################
1288 ########################
1292 name: apex-builder-fraser
1295 name: Baremetal Deploy and Test Phase
1296 condition: SUCCESSFUL
1298 - name: 'apex-os-nosdn-nofeature-ha-baremetal-fraser'
1299 node-parameters: false
1300 current-parameters: false
1301 predefined-parameters: |
1303 kill-phase-on: NEVER
1306 - name: 'apex-os-odl-bgpvpn-ha-baremetal-fraser'
1307 node-parameters: false
1308 current-parameters: false
1309 predefined-parameters: |
1311 kill-phase-on: NEVER
1317 name: apex-builder-gambia
1320 name: Baremetal Deploy and Test Phase
1321 condition: SUCCESSFUL
1323 - name: 'apex-os-nosdn-nofeature-noha-baremetal-gambia'
1324 node-parameters: false
1325 current-parameters: false
1326 predefined-parameters: |
1328 kill-phase-on: NEVER
1331 - name: 'apex-os-nosdn-nofeature-ha-baremetal-gambia'
1332 node-parameters: false
1333 current-parameters: false
1334 predefined-parameters: |
1336 kill-phase-on: NEVER
1339 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-gambia'
1340 node-parameters: false
1341 current-parameters: false
1342 predefined-parameters: |
1344 kill-phase-on: NEVER
1347 - name: 'apex-os-odl-nofeature-noha-baremetal-gambia'
1348 node-parameters: false
1349 current-parameters: false
1350 predefined-parameters: |
1352 kill-phase-on: NEVER
1355 - name: 'apex-os-odl-nofeature-ha-baremetal-gambia'
1356 node-parameters: false
1357 current-parameters: false
1358 predefined-parameters: |
1360 kill-phase-on: NEVER
1363 - name: 'apex-k8s-nosdn-nofeature-noha-baremetal-gambia'
1364 node-parameters: false
1365 current-parameters: false
1366 predefined-parameters: |
1368 kill-phase-on: NEVER
1371 - name: 'apex-os-odl-bgpvpn-ha-baremetal-gambia'
1372 node-parameters: false
1373 current-parameters: false
1374 predefined-parameters: |
1376 kill-phase-on: NEVER
1379 - name: 'apex-os-odl-bgpvpn-noha-baremetal-gambia'
1380 node-parameters: false
1381 current-parameters: false
1382 predefined-parameters: |
1384 kill-phase-on: NEVER
1387 - name: 'apex-os-odl-sfc-ha-baremetal-gambia'
1388 node-parameters: false
1389 current-parameters: false
1390 predefined-parameters: |
1392 kill-phase-on: NEVER
1395 - name: 'apex-os-odl-sfc-noha-baremetal-gambia'
1396 node-parameters: false
1397 current-parameters: false
1398 predefined-parameters: |
1400 kill-phase-on: NEVER
1403 - name: 'apex-os-nosdn-calipso-noha-baremetal-gambia'
1404 node-parameters: false
1405 current-parameters: false
1406 predefined-parameters: |
1408 kill-phase-on: NEVER
1411 - name: 'apex-os-ovn-nofeature-ha-baremetal-gambia'
1412 node-parameters: false
1413 current-parameters: false
1414 predefined-parameters: |
1416 kill-phase-on: NEVER
1422 name: apex-builder-danube
1425 name: Baremetal Deploy and Test Phase
1426 condition: SUCCESSFUL
1428 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
1429 node-parameters: false
1430 current-parameters: false
1431 predefined-parameters: |
1433 kill-phase-on: NEVER
1436 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
1437 node-parameters: false
1438 current-parameters: false
1439 predefined-parameters: |
1441 kill-phase-on: NEVER
1444 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
1445 node-parameters: false
1446 current-parameters: false
1447 predefined-parameters: |
1449 kill-phase-on: NEVER
1452 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
1453 node-parameters: false
1454 current-parameters: false
1455 predefined-parameters: |
1457 kill-phase-on: NEVER
1460 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
1461 node-parameters: false
1462 current-parameters: false
1463 predefined-parameters: |
1465 kill-phase-on: NEVER
1468 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
1469 node-parameters: false
1470 current-parameters: false
1471 predefined-parameters: |
1473 kill-phase-on: NEVER
1476 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
1477 node-parameters: false
1478 current-parameters: false
1479 predefined-parameters: |
1481 kill-phase-on: NEVER
1484 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
1485 node-parameters: false
1486 current-parameters: false
1487 predefined-parameters: |
1489 kill-phase-on: NEVER
1492 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
1493 node-parameters: false
1494 current-parameters: false
1495 predefined-parameters: |
1497 kill-phase-on: NEVER
1500 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
1501 node-parameters: false
1502 current-parameters: false
1503 predefined-parameters: |
1505 kill-phase-on: NEVER
1508 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
1509 node-parameters: false
1510 current-parameters: false
1511 predefined-parameters: |
1513 kill-phase-on: NEVER
1516 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
1517 node-parameters: false
1518 current-parameters: false
1519 predefined-parameters: |
1521 kill-phase-on: NEVER
1524 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
1525 node-parameters: false
1526 current-parameters: false
1527 predefined-parameters: |
1529 kill-phase-on: NEVER
1532 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
1533 node-parameters: false
1534 current-parameters: false
1535 predefined-parameters: |
1537 kill-phase-on: NEVER
1540 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
1541 node-parameters: false
1542 current-parameters: false
1543 predefined-parameters: |
1545 kill-phase-on: NEVER
1548 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
1549 node-parameters: false
1550 current-parameters: false
1551 predefined-parameters: |
1553 kill-phase-on: NEVER
1556 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
1557 node-parameters: false
1558 current-parameters: false
1559 predefined-parameters: |
1561 kill-phase-on: NEVER
1564 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
1565 node-parameters: false
1566 current-parameters: false
1567 predefined-parameters: |
1569 kill-phase-on: NEVER
1572 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1573 node-parameters: false
1574 current-parameters: false
1575 predefined-parameters: |
1577 kill-phase-on: NEVER
1580 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1581 node-parameters: false
1582 current-parameters: false
1583 predefined-parameters: |
1585 kill-phase-on: NEVER
1588 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1589 node-parameters: false
1590 current-parameters: false
1591 predefined-parameters: |
1593 kill-phase-on: NEVER
1596 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1597 node-parameters: false
1598 current-parameters: false
1599 predefined-parameters: |
1601 kill-phase-on: NEVER
1604 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1605 node-parameters: false
1606 current-parameters: false
1607 predefined-parameters: |
1609 kill-phase-on: NEVER
1612 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1613 node-parameters: false
1614 current-parameters: false
1615 predefined-parameters: |
1617 kill-phase-on: NEVER
1620 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1621 node-parameters: false
1622 current-parameters: false
1623 predefined-parameters: |
1625 kill-phase-on: NEVER
1628 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1629 node-parameters: false
1630 current-parameters: false
1631 predefined-parameters: |
1633 kill-phase-on: NEVER
1639 name: apex-builder-master
1642 name: Baremetal Deploy and Test Phase
1643 condition: SUCCESSFUL
1645 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1646 node-parameters: false
1647 current-parameters: false
1648 predefined-parameters: |
1650 kill-phase-on: NEVER
1653 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1654 node-parameters: false
1655 current-parameters: false
1656 predefined-parameters: |
1658 kill-phase-on: NEVER
1661 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-master'
1662 node-parameters: false
1663 current-parameters: false
1664 predefined-parameters: |
1666 kill-phase-on: NEVER
1669 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1670 node-parameters: false
1671 current-parameters: false
1672 predefined-parameters: |
1674 kill-phase-on: NEVER
1677 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1678 node-parameters: false
1679 current-parameters: false
1680 predefined-parameters: |
1682 kill-phase-on: NEVER
1685 - name: 'apex-os-nosdn-rocky-noha-baremetal-master'
1686 node-parameters: false
1687 current-parameters: false
1688 predefined-parameters: |
1690 kill-phase-on: NEVER
1693 - name: 'apex-os-nosdn-rocky-ha-baremetal-master'
1694 node-parameters: false
1695 current-parameters: false
1696 predefined-parameters: |
1698 kill-phase-on: NEVER
1701 - name: 'apex-os-nosdn-rocky-ha-ipv6-baremetal-master'
1702 node-parameters: false
1703 current-parameters: false
1704 predefined-parameters: |
1706 kill-phase-on: NEVER
1709 - name: 'apex-os-odl-rocky-noha-baremetal-master'
1710 node-parameters: false
1711 current-parameters: false
1712 predefined-parameters: |
1714 kill-phase-on: NEVER
1717 - name: 'apex-os-odl-rocky-ha-baremetal-master'
1718 node-parameters: false
1719 current-parameters: false
1720 predefined-parameters: |
1722 kill-phase-on: NEVER
1725 - name: 'apex-k8s-nosdn-nofeature-noha-baremetal-master'
1726 node-parameters: false
1727 current-parameters: false
1728 predefined-parameters: |
1730 kill-phase-on: NEVER
1733 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1734 node-parameters: false
1735 current-parameters: false
1736 predefined-parameters: |
1738 kill-phase-on: NEVER
1741 - name: 'apex-os-odl-bgpvpn-noha-baremetal-master'
1742 node-parameters: false
1743 current-parameters: false
1744 predefined-parameters: |
1746 kill-phase-on: NEVER
1749 - name: 'apex-os-odl-bgpvpn_queens-ha-baremetal-master'
1750 node-parameters: false
1751 current-parameters: false
1752 predefined-parameters: |
1754 kill-phase-on: NEVER
1757 - name: 'apex-os-odl-bgpvpn_queens-noha-baremetal-master'
1758 node-parameters: false
1759 current-parameters: false
1760 predefined-parameters: |
1762 kill-phase-on: NEVER
1765 - name: 'apex-os-odl-sfc-ha-baremetal-master'
1766 node-parameters: false
1767 current-parameters: false
1768 predefined-parameters: |
1770 kill-phase-on: NEVER
1773 - name: 'apex-os-odl-sfc-noha-baremetal-master'
1774 node-parameters: false
1775 current-parameters: false
1776 predefined-parameters: |
1778 kill-phase-on: NEVER
1781 - name: 'apex-os-odl-sfc_rocky-ha-baremetal-master'
1782 node-parameters: false
1783 current-parameters: false
1784 predefined-parameters: |
1786 kill-phase-on: NEVER
1789 - name: 'apex-os-odl-sfc_rocky-noha-baremetal-master'
1790 node-parameters: false
1791 current-parameters: false
1792 predefined-parameters: |
1794 kill-phase-on: NEVER
1797 - name: 'apex-os-nosdn-calipso-noha-baremetal-master'
1798 node-parameters: false
1799 current-parameters: false
1800 predefined-parameters: |
1802 kill-phase-on: NEVER
1805 - name: 'apex-os-nosdn-calipso_rocky-noha-baremetal-master'
1806 node-parameters: false
1807 current-parameters: false
1808 predefined-parameters: |
1810 kill-phase-on: NEVER
1813 - name: 'apex-os-ovn-nofeature-ha-baremetal-master'
1814 node-parameters: false
1815 current-parameters: false
1816 predefined-parameters: |
1818 kill-phase-on: NEVER
1821 - name: 'apex-os-ovn-rocky-ha-baremetal-master'
1822 node-parameters: false
1823 current-parameters: false
1824 predefined-parameters: |
1826 kill-phase-on: NEVER
1832 name: apex-builder-euphrates
1835 name: Baremetal Deploy and Test Phase
1836 condition: SUCCESSFUL
1838 - name: 'apex-os-nosdn-nofeature-noha-baremetal-euphrates'
1839 node-parameters: false
1840 current-parameters: false
1841 predefined-parameters: |
1843 kill-phase-on: NEVER
1846 - name: 'apex-os-nosdn-nofeature-ha-baremetal-euphrates'
1847 node-parameters: false
1848 current-parameters: false
1849 predefined-parameters: |
1851 kill-phase-on: NEVER
1854 - name: 'apex-os-odl-nofeature-ha-baremetal-euphrates'
1855 node-parameters: false
1856 current-parameters: false
1857 predefined-parameters: |
1859 kill-phase-on: NEVER
1862 - name: 'apex-os-odl-nofeature-noha-baremetal-euphrates'
1863 node-parameters: false
1864 current-parameters: false
1865 predefined-parameters: |
1867 kill-phase-on: NEVER
1870 - name: 'apex-os-odl-bgpvpn-ha-baremetal-euphrates'
1871 node-parameters: false
1872 current-parameters: false
1873 predefined-parameters: |
1875 kill-phase-on: NEVER
1878 - name: 'apex-os-ovn-nofeature-noha-baremetal-euphrates'
1879 node-parameters: false
1880 current-parameters: false
1881 predefined-parameters: |
1883 kill-phase-on: NEVER
1886 - name: 'apex-os-nosdn-fdio-noha-baremetal-euphrates'
1887 node-parameters: false
1888 current-parameters: false
1889 predefined-parameters: |
1891 kill-phase-on: NEVER
1894 - name: 'apex-os-nosdn-fdio-ha-baremetal-euphrates'
1895 node-parameters: false
1896 current-parameters: false
1897 predefined-parameters: |
1899 kill-phase-on: NEVER
1902 - name: 'apex-os-nosdn-bar-ha-baremetal-euphrates'
1903 node-parameters: false
1904 current-parameters: false
1905 predefined-parameters: |
1907 kill-phase-on: NEVER
1910 - name: 'apex-os-nosdn-bar-noha-baremetal-euphrates'
1911 node-parameters: false
1912 current-parameters: false
1913 predefined-parameters: |
1915 kill-phase-on: NEVER
1918 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-euphrates'
1919 node-parameters: false
1920 current-parameters: false
1921 predefined-parameters: |
1923 kill-phase-on: NEVER
1926 - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-euphrates'
1927 node-parameters: false
1928 current-parameters: false
1929 predefined-parameters: |
1931 kill-phase-on: NEVER
1934 - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-euphrates'
1935 node-parameters: false
1936 current-parameters: false
1937 predefined-parameters: |
1939 kill-phase-on: NEVER
1942 - name: 'apex-os-nosdn-kvm_ovs_dpdk-noha-baremetal-euphrates'
1943 node-parameters: false
1944 current-parameters: false
1945 predefined-parameters: |
1947 kill-phase-on: NEVER
1950 - name: 'apex-os-nosdn-kvm_ovs_dpdk-ha-baremetal-euphrates'
1951 node-parameters: false
1952 current-parameters: false
1953 predefined-parameters: |
1955 kill-phase-on: NEVER
1958 - name: 'apex-os-odl-sfc-noha-baremetal-euphrates'
1959 node-parameters: false
1960 current-parameters: false
1961 predefined-parameters: |
1963 kill-phase-on: NEVER
1966 - name: 'apex-os-odl-sfc-ha-baremetal-euphrates'
1967 node-parameters: false
1968 current-parameters: false
1969 predefined-parameters: |
1971 kill-phase-on: NEVER
1975 name: 'apex-upload-artifact'
1978 !include-raw: ./apex-upload-artifact.sh
1981 name: 'apex-download-artifact'
1984 !include-raw: ./apex-download-artifact.sh
1990 !include-raw: ./apex-deploy.sh
1993 name: 'apex-fetch-logs'
1996 !include-raw: ./apex-fetch-logs.sh
1998 #######################
2000 # timed is in format: 'min hour daymonth month dayweek'
2001 ########################
2005 - timed: '0 0 1-31/2 * *'
2010 - timed: '0 4 2-30/2 * *'
2015 - timed: '0 0 2-30/2 * *'
2018 name: 'apex-euphrates'
2020 - timed: '0 0 2-30/2 * *'
2025 - timed: '0 3 1 1 7'
2028 name: 'master-master'
2030 - timed: '0 5 * * *'
2033 name: 'master-rocky'
2035 - timed: '0 5 * * *'
2038 name: 'master-queens'
2043 name: 'gambia-master'
2048 name: 'gambia-rocky'
2053 name: 'gambia-queens'
2055 - timed: '0 5 * * *'
2058 name: 'fraser-master'
2063 name: 'fraser-rocky'
2068 name: 'fraser-queens'
2073 name: 'euphrates-master'
2078 name: 'euphrates-rocky'
2083 name: 'euphrates-queens'
2088 name: 'danube-master'
2093 name: 'danube-rocky'
2098 name: 'danube-queens'