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-{snap_type}-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 # stream: branch with - in place of / (eg. stable-arno)
20 # branch: branch (eg. stable/arno)
25 build-slave: 'apex-build-master'
26 virtual-slave: 'apex-virtual-master'
27 baremetal-slave: 'apex-baremetal-master'
28 verify-scenario: 'os-nosdn-nofeature-noha'
29 scenario_stream: 'master'
33 branch: 'stable/hunter'
34 gs-pathname: '/hunter'
35 build-slave: 'apex-build-master'
36 virtual-slave: 'apex-virtual-master'
37 baremetal-slave: 'apex-baremetal-master'
38 verify-scenario: 'os-nosdn-nofeature-ha'
39 scenario_stream: 'hunter'
43 branch: 'stable/gambia'
44 gs-pathname: '/gambia'
45 build-slave: 'apex-build-master'
46 virtual-slave: 'apex-virtual-master'
47 baremetal-slave: 'apex-baremetal-master'
48 verify-scenario: 'os-nosdn-nofeature-ha'
49 scenario_stream: 'gambia'
53 branch: 'stable/fraser'
54 gs-pathname: '/fraser'
55 build-slave: 'apex-build-master'
56 virtual-slave: 'apex-virtual-master'
57 baremetal-slave: 'apex-baremetal-master'
58 verify-scenario: 'os-nosdn-nofeature-ha'
59 scenario_stream: 'fraser'
62 - euphrates: &euphrates
63 branch: 'stable/euphrates'
64 gs-pathname: '/euphrates'
65 build-slave: 'apex-build-master'
66 virtual-slave: 'apex-virtual-master'
67 baremetal-slave: 'apex-baremetal-master'
68 verify-scenario: 'os-odl-nofeature-ha'
69 scenario_stream: 'euphrates'
73 branch: 'stable/danube'
74 gs-pathname: '/danube'
75 build-slave: 'apex-build-danube'
76 virtual-slave: 'apex-virtual-danube'
77 baremetal-slave: 'apex-baremetal-danube'
78 verify-scenario: 'os-odl_l3-nofeature-ha'
79 scenario_stream: 'danube'
85 - 'os-nosdn-nofeature-noha':
87 - 'os-nosdn-nofeature-ha':
89 - 'os-nosdn-nofeature-ha-ipv6':
91 - 'os-nosdn-ovs-noha':
95 - 'os-nosdn-fdio-noha':
101 - 'os-nosdn-kvm-noha':
103 - 'os-odl_l2-fdio-noha':
105 - 'os-odl_l2-fdio-ha':
107 - 'os-odl_netvirt-fdio-noha':
109 - 'os-odl_l2-sfc-noha':
111 - 'os-odl_l3-nofeature-noha':
113 - 'os-odl_l3-nofeature-ha':
115 - 'os-odl_l3-ovs-noha':
117 - 'os-odl_l3-ovs-ha':
119 - 'os-odl-bgpvpn-ha':
121 - 'os-odl-gluon-noha':
123 - 'os-odl_l3-fdio-noha':
125 - 'os-odl_l3-fdio-ha':
127 - 'os-odl_l3-fdio_dvr-noha':
129 - 'os-odl_l3-fdio_dvr-ha':
131 - 'os-odl_l3-csit-noha':
133 - 'os-onos-nofeature-ha':
135 - 'os-ovn-nofeature-noha':
137 - 'os-nosdn-nofeature-noha':
139 - 'os-nosdn-nofeature-ha':
141 - 'os-nosdn-nofeature-noha':
143 - 'os-nosdn-nofeature-ha':
145 - 'os-nosdn-nofeature-ha-ipv6':
147 - 'os-odl-nofeature-noha':
149 - 'os-odl-nofeature-ha':
151 - 'k8s-nosdn-nofeature-noha':
153 - 'os-odl-bgpvpn-ha':
155 - 'os-odl-bgpvpn-noha':
161 - 'os-nosdn-calipso-noha':
163 - 'os-ovn-nofeature-ha':
165 - 'os-nosdn-nofeature-ha':
167 - 'os-odl-bgpvpn-ha':
169 - 'os-nosdn-nofeature-noha':
171 - 'os-nosdn-nofeature-ha':
173 - 'os-ovn-nofeature-ha':
175 - 'os-nosdn-nofeature-noha':
177 - 'os-nosdn-nofeature-ha':
179 - 'os-odl-nofeature-ha':
181 - 'os-odl-nofeature-noha':
183 - 'os-odl-bgpvpn-ha':
185 - 'os-ovn-nofeature-noha':
187 - 'os-nosdn-fdio-noha':
189 - 'os-nosdn-fdio-ha':
193 - 'os-nosdn-bar-noha':
195 - 'os-nosdn-nofeature-ha-ipv6':
197 - 'os-nosdn-ovs_dpdk-noha':
199 - 'os-nosdn-ovs_dpdk-ha':
201 - 'os-nosdn-kvm_ovs_dpdk-noha':
203 - 'os-nosdn-kvm_ovs_dpdk-ha':
216 os_scenario: 'nofeature'
217 odl_branch: 'stable/oxygen'
220 odl_branch: 'stable/oxygen'
222 os_scenario: 'nofeature'
223 odl_branch: 'stable/fluorine'
237 name: 'apex-fetch-logs-{stream}'
249 gs-pathname: '{gs-pathname}'
250 # yamllint enable rule:line-length
262 name: 'apex-runner-cperf-{stream}'
265 project-type: 'multijob'
272 gs-pathname: '{gs-pathname}'
278 default: https://gerrit.opnfv.org/gerrit/$PROJECT
279 description: "Used for overriding the GIT URL coming from parameters macro."
287 use-build-blocker: false
288 blocking-level: 'NODE'
297 - description-setter:
298 description: "Deployed on $NODE_NAME"
300 name: 'Baremetal Deploy'
303 - name: 'apex-deploy-baremetal-{stream}'
304 node-parameters: false
305 current-parameters: true
306 predefined-parameters: |
307 GERRIT_BRANCH=$GERRIT_BRANCH
310 DEPLOY_SCENARIO={verify-scenario}
311 kill-phase-on: FAILURE
316 condition: SUCCESSFUL
318 - name: 'cperf-apex-intel-pod2-daily-master'
319 node-parameters: true
320 current-parameters: false
321 predefined-parameters:
322 DEPLOY_SCENARIO={verify-scenario}
329 name: 'apex-deploy-{platform}-{stream}'
344 - '{project}-{platform}-{stream}-defaults'
349 gs-pathname: '{gs-pathname}'
351 name: DEPLOY_SCENARIO
352 default: '{verify-scenario}'
353 description: "Scenario to deploy with."
354 # yamllint disable rule:line-length
358 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
360 # yamllint enable rule:line-length
364 use-build-blocker: true
365 blocking-level: 'NODE'
379 - description-setter:
380 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
381 - 'apex-download-artifact'
386 # Virtual Deploy and Test
388 name: 'apex-virtual-{stream}'
390 project-type: 'multijob'
400 - '{project}-defaults'
401 - '{project}-virtual-{stream}-defaults'
402 - 'functest-suite-parameter'
407 gs-pathname: '{gs-pathname}'
409 name: DEPLOY_SCENARIO
410 default: '{verify-scenario}'
411 description: "Scenario to deploy with."
413 name: ARTIFACT_VERSION
415 description: "Used for overriding the ARTIFACT_VERSION"
420 use-build-blocker: true
421 blocking-level: 'NODE'
426 - 'apex-verify-gate-.*'
428 - 'apex-.*-promote.*'
435 - description-setter:
436 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
439 condition: SUCCESSFUL
441 - name: 'apex-deploy-virtual-{stream}'
442 current-parameters: false
443 predefined-parameters: |
444 ARTIFACT_VERSION=$ARTIFACT_VERSION
445 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
447 GERRIT_BRANCH=$GERRIT_BRANCH
448 GERRIT_REFSPEC=$GERRIT_REFSPEC
449 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
450 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
452 node-parameters: true
453 kill-phase-on: FAILURE
460 - name: 'functest-apex-virtual-suite-{stream}'
461 current-parameters: false
462 predefined-parameters: |
463 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
464 FUNCTEST_MODE=$FUNCTEST_MODE
465 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
466 GERRIT_BRANCH=$GERRIT_BRANCH
467 GERRIT_REFSPEC=$GERRIT_REFSPEC
468 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
469 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
470 node-parameters: true
475 name: apex-fetch-logs
477 - name: 'apex-fetch-logs-{stream}'
478 current-parameters: false
479 predefined-parameters: |
480 GERRIT_BRANCH=$GERRIT_BRANCH
481 GERRIT_REFSPEC=$GERRIT_REFSPEC
482 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
483 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
484 node-parameters: true
489 # Baremetal Deploy and Test
491 name: 'apex-{scenario}-baremetal-{scenario_stream}'
493 project-type: 'multijob'
501 - '{project}-defaults'
502 - '{project}-baremetal-{scenario_stream}-defaults'
507 gs-pathname: '{gs-pathname}'
509 name: DEPLOY_SCENARIO
510 default: '{scenario}'
511 description: "Scenario to deploy with."
516 use-build-blocker: true
517 blocking-level: 'NODE'
521 - 'apex-.*-promote.*'
523 - 'apex-.+-baremetal-.+'
530 - description-setter:
531 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
533 name: 'Baremetal Deploy'
534 condition: SUCCESSFUL
535 execution-type: SEQUENTIALLY
537 - name: 'apex-deploy-baremetal-{scenario_stream}'
538 node-parameters: true
539 current-parameters: true
540 predefined-parameters: |
542 GERRIT_BRANCH=$GERRIT_BRANCH
544 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
548 - name: 'apex-fetch-logs-{scenario_stream}'
549 current-parameters: true
550 predefined-parameters: |
551 GERRIT_BRANCH=$GERRIT_BRANCH
553 node-parameters: true
558 !include-raw-escape: ./apex-functest-scenario.sh
560 properties-file: functest_scenario
561 override-build-parameters: true
563 name: 'OPNFV Test Suite'
566 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
567 node-parameters: true
568 current-parameters: false
569 predefined-parameters: |
570 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
571 DOCKER_TAG=$DOCKER_TAG
576 name: apex-fetch-logs
578 - name: 'apex-fetch-logs-{scenario_stream}'
579 current-parameters: true
580 predefined-parameters: |
581 GERRIT_BRANCH=$GERRIT_BRANCH
583 node-parameters: true
590 !include-raw-escape: ./update-build-result.groovy
594 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
596 project-type: 'multijob'
601 - '{project}-defaults'
602 - '{project}-baremetal-{scenario_stream}-defaults'
607 gs-pathname: '{gs-pathname}'
609 name: DEPLOY_SCENARIO
610 default: '{scenario}'
611 description: "Scenario to deploy with."
615 description: Default docker tag to pass to functest
620 use-build-blocker: true
621 blocking-level: 'NODE'
626 - 'apex-testsuite-.+-baremetal-.+'
633 - description-setter:
634 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
639 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
640 node-parameters: true
641 current-parameters: false
642 predefined-parameters: |
643 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
644 DOCKER_TAG=$DOCKER_TAG
652 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
653 node-parameters: true
654 current-parameters: false
655 predefined-parameters:
656 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
661 name: Dovetail-default-mandatory
664 - name: 'dovetail-apex-baremetal-default-mandatory-{scenario_stream}'
665 node-parameters: true
666 current-parameters: false
667 predefined-parameters:
668 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
670 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
674 name: Dovetail-default-optional
677 - name: 'dovetail-apex-baremetal-default-optional-{scenario_stream}'
678 node-parameters: true
679 current-parameters: false
680 predefined-parameters:
681 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
683 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
687 name: Dovetail-proposed_tests
690 - name: 'dovetail-apex-baremetal-proposed_tests-optional-{scenario_stream}'
691 node-parameters: true
692 current-parameters: false
693 predefined-parameters:
694 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
696 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
703 - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
704 node-parameters: true
705 current-parameters: false
706 predefined-parameters:
707 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
708 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
712 # Build status is always success due conditional plugin prefetching
713 # build status before multijob phases execute
714 # - conditional-step:
715 # condition-kind: current-status
716 # condition-worst: SUCCESS
717 # condtion-best: SUCCESS
718 # on-evaluation-failure: mark-unstable
720 # - shell: 'echo "Tests Passed"'
723 name: 'apex-daily-{stream}'
725 # Job template for daily build
727 # Required Variables:
728 # stream: branch with - in place of / (eg. stable)
729 # branch: branch (eg. stable)
730 project-type: 'multijob'
732 disabled: '{obj:disable_daily}'
738 - '{project}-defaults'
739 - '{project}-baremetal-{stream}-defaults'
744 gs-pathname: '{gs-pathname}'
749 use-build-blocker: true
750 blocking-level: 'NODE'
760 condition: SUCCESSFUL
762 - name: 'apex-build-{stream}'
763 current-parameters: false
764 predefined-parameters: |
765 GERRIT_BRANCH=$GERRIT_BRANCH
767 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
768 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
769 node-parameters: true
770 kill-phase-on: FAILURE
774 name: 'Verify and upload ISO'
775 condition: SUCCESSFUL
777 - name: 'apex-verify-iso-{stream}'
778 current-parameters: false
779 predefined-parameters: |
780 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
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
789 - apex-builder-{stream}
791 # snapshot info fetch
793 name: 'apex-fetch-snap-info'
798 - '{project}-defaults'
802 !include-raw-escape: ./apex-fetch-snap-info.sh
806 name: 'apex-create-snapshot'
811 - '{project}-defaults'
815 !include-raw-escape: ./apex-snapshot-create.sh
819 name: 'apex-upload-snapshot'
824 - '{project}-defaults'
828 properties-content: ARTIFACT_TYPE=snapshot
829 - 'apex-upload-artifact'
833 name: 'apex-{snap_type}-promote-daily-{stream}-os-{os_version}-{topology}'
835 # Job template for promoting CSIT Snapshots
837 # Required Variables:
838 # stream: branch with - in place of / (eg. stable)
839 # branch: branch (eg. stable)
840 node: '{virtual-slave}'
841 project-type: 'multijob'
842 disabled: '{disable_promote}'
852 gs-pathname: '{gs-pathname}'
854 name: ARTIFACT_VERSION
856 description: "Used for overriding the ARTIFACT_VERSION"
860 description: "Used for overriding the PROMOTE"
863 default: 'artifacts.opnfv.org/apex/{os_version}/{topology}'
864 description: "User for overriding GS_URL from apex params"
867 default: '{os_version}'
868 description: OpenStack version short name
871 default: '{odl_branch}'
872 description: ODL branch being used
876 description: "Used to force promotion and skip CSIT"
879 default: '{snap_type}'
880 description: Type of snapshot to promote
883 use-build-blocker: true
884 blocking-level: 'NODE'
889 - 'apex-.*-promote.*'
897 - '{stream}-{snap_type}-{os_version}'
901 name: apex-virtual-deploy
902 condition: SUCCESSFUL
904 - name: 'apex-deploy-virtual-{stream}'
905 current-parameters: true
906 predefined-parameters: |
907 DEPLOY_SCENARIO=os-{sdn}-{os_scenario}-{topology}-{snap_type}
909 GERRIT_BRANCH=$GERRIT_BRANCH
910 GERRIT_REFSPEC=$GERRIT_REFSPEC
911 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
912 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
913 node-parameters: true
914 kill-phase-on: FAILURE
918 name: fetch snapshot info
919 condition: SUCCESSFUL
921 - name: 'apex-fetch-snap-info'
922 current-parameters: true
923 node-parameters: true
924 kill-phase-on: FAILURE
929 condition: SUCCESSFUL
930 execution-type: SEQUENTIALLY
932 - name: cperf-apex-csit-master
933 predefined-parameters: |
934 ODL_BRANCH=$ODL_BRANCH
935 RC_FILE_PATH=/tmp/snap/overcloudrc
936 NODE_FILE_PATH=/tmp/snap/node.yaml
937 SSH_KEY_PATH=/tmp/snap/id_rsa
938 ODL_CONTAINERIZED=true
939 OS_VERSION=$OS_VERSION
940 SKIP_CSIT=$FORCE_PROMOTE
942 node-parameters: true
945 enable-condition: "def m = '$SNAP_TYPE' ==~ /csit/"
946 - name: cperf-upload-logs-csit
947 predefined-parameters: |
948 ODL_BRANCH=$ODL_BRANCH
949 OS_VERSION=$OS_VERSION
951 node-parameters: true
952 kill-phase-on: FAILURE
954 enable-condition: "def m = '$SNAP_TYPE' ==~ /csit/"
955 - name: 'functest-apex-virtual-suite-{stream}'
956 current-parameters: false
957 predefined-parameters: |
958 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
959 DOCKER_TAG=$DOCKER_TAG
960 FUNCTEST_SUITE_NAME=tempest_smoke
961 FUNCTEST_MODE=testcase
962 GERRIT_BRANCH=$GERRIT_BRANCH
963 GERRIT_REFSPEC=$GERRIT_REFSPEC
964 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
965 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
966 node-parameters: true
968 enable-condition: "def m = '$SNAP_TYPE' ==~ /functest/"
971 - name: 'apex-fetch-logs-{stream}'
972 current-parameters: false
973 predefined-parameters: |
974 GERRIT_BRANCH=$GERRIT_BRANCH
975 GERRIT_REFSPEC=$GERRIT_REFSPEC
976 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
977 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
978 node-parameters: true
983 name: create snapshot
984 condition: SUCCESSFUL
986 - name: 'apex-create-snapshot'
987 current-parameters: true
988 node-parameters: true
989 kill-phase-on: FAILURE
993 name: upload snapshot
994 condition: SUCCESSFUL
996 - name: 'apex-upload-snapshot'
997 current-parameters: true
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
1179 ########################
1181 ########################
1183 name: apex-parameter
1188 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1190 name: ARTIFACT_VERSION
1192 description: "Artifact version type"
1194 name: BUILD_DIRECTORY
1195 default: $WORKSPACE/.build
1196 description: "Directory where the build artifact will be located upon the completion of the build."
1198 name: CACHE_DIRECTORY
1199 default: $HOME/opnfv/apex-cache{gs-pathname}
1200 description: "Directory where the cache to be used during the build is located."
1201 # yamllint disable rule:line-length
1204 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1205 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1206 # yamllint enable rule:line-length
1209 default: '{gs-pathname}'
1210 description: "Version directory where opnfv artifacts are stored in gs repository"
1213 default: $GS_BASE{gs-pathname}
1214 description: "URL to Google Storage."
1218 description: "Flag to know if we should promote/upload snapshot artifacts."
1220 ########################
1222 ########################
1226 name: apex-builder-danube
1229 name: Baremetal Deploy and Test Phase
1230 condition: SUCCESSFUL
1232 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
1233 node-parameters: false
1234 current-parameters: false
1235 predefined-parameters: |
1237 kill-phase-on: NEVER
1240 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
1241 node-parameters: false
1242 current-parameters: false
1243 predefined-parameters: |
1245 kill-phase-on: NEVER
1248 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
1249 node-parameters: false
1250 current-parameters: false
1251 predefined-parameters: |
1253 kill-phase-on: NEVER
1256 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
1257 node-parameters: false
1258 current-parameters: false
1259 predefined-parameters: |
1261 kill-phase-on: NEVER
1264 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
1265 node-parameters: false
1266 current-parameters: false
1267 predefined-parameters: |
1269 kill-phase-on: NEVER
1272 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
1273 node-parameters: false
1274 current-parameters: false
1275 predefined-parameters: |
1277 kill-phase-on: NEVER
1280 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
1281 node-parameters: false
1282 current-parameters: false
1283 predefined-parameters: |
1285 kill-phase-on: NEVER
1288 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
1289 node-parameters: false
1290 current-parameters: false
1291 predefined-parameters: |
1293 kill-phase-on: NEVER
1296 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
1297 node-parameters: false
1298 current-parameters: false
1299 predefined-parameters: |
1301 kill-phase-on: NEVER
1304 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
1305 node-parameters: false
1306 current-parameters: false
1307 predefined-parameters: |
1309 kill-phase-on: NEVER
1312 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
1313 node-parameters: false
1314 current-parameters: false
1315 predefined-parameters: |
1317 kill-phase-on: NEVER
1320 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
1321 node-parameters: false
1322 current-parameters: false
1323 predefined-parameters: |
1325 kill-phase-on: NEVER
1328 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
1329 node-parameters: false
1330 current-parameters: false
1331 predefined-parameters: |
1333 kill-phase-on: NEVER
1336 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
1337 node-parameters: false
1338 current-parameters: false
1339 predefined-parameters: |
1341 kill-phase-on: NEVER
1344 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
1345 node-parameters: false
1346 current-parameters: false
1347 predefined-parameters: |
1349 kill-phase-on: NEVER
1352 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
1353 node-parameters: false
1354 current-parameters: false
1355 predefined-parameters: |
1357 kill-phase-on: NEVER
1360 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
1361 node-parameters: false
1362 current-parameters: false
1363 predefined-parameters: |
1365 kill-phase-on: NEVER
1368 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
1369 node-parameters: false
1370 current-parameters: false
1371 predefined-parameters: |
1373 kill-phase-on: NEVER
1376 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1377 node-parameters: false
1378 current-parameters: false
1379 predefined-parameters: |
1381 kill-phase-on: NEVER
1384 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1385 node-parameters: false
1386 current-parameters: false
1387 predefined-parameters: |
1389 kill-phase-on: NEVER
1392 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1393 node-parameters: false
1394 current-parameters: false
1395 predefined-parameters: |
1397 kill-phase-on: NEVER
1400 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1401 node-parameters: false
1402 current-parameters: false
1403 predefined-parameters: |
1405 kill-phase-on: NEVER
1408 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1409 node-parameters: false
1410 current-parameters: false
1411 predefined-parameters: |
1413 kill-phase-on: NEVER
1416 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1417 node-parameters: false
1418 current-parameters: false
1419 predefined-parameters: |
1421 kill-phase-on: NEVER
1424 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1425 node-parameters: false
1426 current-parameters: false
1427 predefined-parameters: |
1429 kill-phase-on: NEVER
1432 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1433 node-parameters: false
1434 current-parameters: false
1435 predefined-parameters: |
1437 kill-phase-on: NEVER
1443 name: apex-builder-master
1446 name: Baremetal Deploy and Test Phase
1447 condition: SUCCESSFUL
1449 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1450 node-parameters: false
1451 current-parameters: false
1452 predefined-parameters: |
1454 kill-phase-on: NEVER
1457 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1458 node-parameters: false
1459 current-parameters: false
1460 predefined-parameters: |
1462 kill-phase-on: NEVER
1468 name: apex-builder-gambia
1471 name: Baremetal Deploy and Test Phase
1472 condition: SUCCESSFUL
1474 - name: 'apex-os-nosdn-nofeature-noha-baremetal-gambia'
1475 node-parameters: false
1476 current-parameters: false
1477 predefined-parameters: |
1479 kill-phase-on: NEVER
1482 - name: 'apex-os-nosdn-nofeature-ha-baremetal-gambia'
1483 node-parameters: false
1484 current-parameters: false
1485 predefined-parameters: |
1487 kill-phase-on: NEVER
1490 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-gambia'
1491 node-parameters: false
1492 current-parameters: false
1493 predefined-parameters: |
1495 kill-phase-on: NEVER
1498 - name: 'apex-os-odl-nofeature-noha-baremetal-gambia'
1499 node-parameters: false
1500 current-parameters: false
1501 predefined-parameters: |
1503 kill-phase-on: NEVER
1506 - name: 'apex-os-odl-nofeature-ha-baremetal-gambia'
1507 node-parameters: false
1508 current-parameters: false
1509 predefined-parameters: |
1511 kill-phase-on: NEVER
1514 - name: 'apex-k8s-nosdn-nofeature-noha-baremetal-gambia'
1515 node-parameters: false
1516 current-parameters: false
1517 predefined-parameters: |
1519 kill-phase-on: NEVER
1522 - name: 'apex-os-odl-bgpvpn-ha-baremetal-gambia'
1523 node-parameters: false
1524 current-parameters: false
1525 predefined-parameters: |
1527 kill-phase-on: NEVER
1530 - name: 'apex-os-odl-bgpvpn-noha-baremetal-gambia'
1531 node-parameters: false
1532 current-parameters: false
1533 predefined-parameters: |
1535 kill-phase-on: NEVER
1538 - name: 'apex-os-odl-sfc-ha-baremetal-gambia'
1539 node-parameters: false
1540 current-parameters: false
1541 predefined-parameters: |
1543 kill-phase-on: NEVER
1546 - name: 'apex-os-odl-sfc-noha-baremetal-gambia'
1547 node-parameters: false
1548 current-parameters: false
1549 predefined-parameters: |
1551 kill-phase-on: NEVER
1554 - name: 'apex-os-nosdn-calipso-noha-baremetal-gambia'
1555 node-parameters: false
1556 current-parameters: false
1557 predefined-parameters: |
1559 kill-phase-on: NEVER
1562 - name: 'apex-os-ovn-nofeature-ha-baremetal-gambia'
1563 node-parameters: false
1564 current-parameters: false
1565 predefined-parameters: |
1567 kill-phase-on: NEVER
1573 name: apex-builder-fraser
1576 name: Baremetal Deploy and Test Phase
1577 condition: SUCCESSFUL
1579 - name: 'apex-os-nosdn-nofeature-ha-baremetal-fraser'
1580 node-parameters: false
1581 current-parameters: false
1582 predefined-parameters: |
1584 kill-phase-on: NEVER
1587 - name: 'apex-os-odl-bgpvpn-ha-baremetal-fraser'
1588 node-parameters: false
1589 current-parameters: false
1590 predefined-parameters: |
1592 kill-phase-on: NEVER
1598 name: apex-builder-hunter
1601 name: Baremetal Deploy and Test Phase
1602 condition: SUCCESSFUL
1604 - name: 'apex-os-nosdn-nofeature-noha-baremetal-hunter'
1605 node-parameters: false
1606 current-parameters: false
1607 predefined-parameters: |
1609 kill-phase-on: NEVER
1612 - name: 'apex-os-nosdn-nofeature-ha-baremetal-hunter'
1613 node-parameters: false
1614 current-parameters: false
1615 predefined-parameters: |
1617 kill-phase-on: NEVER
1620 - name: 'apex-os-ovn-nofeature-ha-baremetal-hunter'
1621 node-parameters: false
1622 current-parameters: false
1623 predefined-parameters: |
1625 kill-phase-on: NEVER
1631 name: apex-builder-euphrates
1634 name: Baremetal Deploy and Test Phase
1635 condition: SUCCESSFUL
1637 - name: 'apex-os-nosdn-nofeature-noha-baremetal-euphrates'
1638 node-parameters: false
1639 current-parameters: false
1640 predefined-parameters: |
1642 kill-phase-on: NEVER
1645 - name: 'apex-os-nosdn-nofeature-ha-baremetal-euphrates'
1646 node-parameters: false
1647 current-parameters: false
1648 predefined-parameters: |
1650 kill-phase-on: NEVER
1653 - name: 'apex-os-odl-nofeature-ha-baremetal-euphrates'
1654 node-parameters: false
1655 current-parameters: false
1656 predefined-parameters: |
1658 kill-phase-on: NEVER
1661 - name: 'apex-os-odl-nofeature-noha-baremetal-euphrates'
1662 node-parameters: false
1663 current-parameters: false
1664 predefined-parameters: |
1666 kill-phase-on: NEVER
1669 - name: 'apex-os-odl-bgpvpn-ha-baremetal-euphrates'
1670 node-parameters: false
1671 current-parameters: false
1672 predefined-parameters: |
1674 kill-phase-on: NEVER
1677 - name: 'apex-os-ovn-nofeature-noha-baremetal-euphrates'
1678 node-parameters: false
1679 current-parameters: false
1680 predefined-parameters: |
1682 kill-phase-on: NEVER
1685 - name: 'apex-os-nosdn-fdio-noha-baremetal-euphrates'
1686 node-parameters: false
1687 current-parameters: false
1688 predefined-parameters: |
1690 kill-phase-on: NEVER
1693 - name: 'apex-os-nosdn-fdio-ha-baremetal-euphrates'
1694 node-parameters: false
1695 current-parameters: false
1696 predefined-parameters: |
1698 kill-phase-on: NEVER
1701 - name: 'apex-os-nosdn-bar-ha-baremetal-euphrates'
1702 node-parameters: false
1703 current-parameters: false
1704 predefined-parameters: |
1706 kill-phase-on: NEVER
1709 - name: 'apex-os-nosdn-bar-noha-baremetal-euphrates'
1710 node-parameters: false
1711 current-parameters: false
1712 predefined-parameters: |
1714 kill-phase-on: NEVER
1717 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-euphrates'
1718 node-parameters: false
1719 current-parameters: false
1720 predefined-parameters: |
1722 kill-phase-on: NEVER
1725 - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-euphrates'
1726 node-parameters: false
1727 current-parameters: false
1728 predefined-parameters: |
1730 kill-phase-on: NEVER
1733 - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-euphrates'
1734 node-parameters: false
1735 current-parameters: false
1736 predefined-parameters: |
1738 kill-phase-on: NEVER
1741 - name: 'apex-os-nosdn-kvm_ovs_dpdk-noha-baremetal-euphrates'
1742 node-parameters: false
1743 current-parameters: false
1744 predefined-parameters: |
1746 kill-phase-on: NEVER
1749 - name: 'apex-os-nosdn-kvm_ovs_dpdk-ha-baremetal-euphrates'
1750 node-parameters: false
1751 current-parameters: false
1752 predefined-parameters: |
1754 kill-phase-on: NEVER
1757 - name: 'apex-os-odl-sfc-noha-baremetal-euphrates'
1758 node-parameters: false
1759 current-parameters: false
1760 predefined-parameters: |
1762 kill-phase-on: NEVER
1765 - name: 'apex-os-odl-sfc-ha-baremetal-euphrates'
1766 node-parameters: false
1767 current-parameters: false
1768 predefined-parameters: |
1770 kill-phase-on: NEVER
1774 name: 'apex-upload-artifact'
1777 !include-raw: ./apex-upload-artifact.sh
1780 name: 'apex-download-artifact'
1783 !include-raw: ./apex-download-artifact.sh
1789 !include-raw: ./apex-deploy.sh
1792 name: 'apex-fetch-logs'
1795 !include-raw: ./apex-fetch-logs.sh
1797 #######################
1799 # timed is in format: 'min hour daymonth month dayweek'
1800 ########################
1804 - timed: '0 0 1-31/2 * *'
1809 - timed: '0 4 2-30/2 * *'
1814 - timed: '0 4 2-30/2 * *'
1819 - timed: '0 0 2-30/2 * *'
1822 name: 'apex-euphrates'
1824 - timed: '0 0 2-30/2 * *'
1829 - timed: '0 3 1 1 7'
1832 name: 'master-csit-master'
1834 - timed: '0 5 * * *'
1837 name: 'master-csit-rocky'
1839 - timed: '0 5 * * *'
1842 name: 'master-csit-queens'
1847 name: 'hunter-csit-master'
1852 name: 'hunter-csit-rocky'
1854 - timed: '0 5 * * *'
1857 name: 'hunter-csit-queens'
1862 name: 'gambia-csit-master'
1867 name: 'gambia-csit-rocky'
1872 name: 'gambia-csit-queens'
1874 - timed: '0 5 * * *'
1877 name: 'fraser-csit-master'
1882 name: 'fraser-csit-rocky'
1887 name: 'fraser-csit-queens'
1892 name: 'euphrates-csit-master'
1897 name: 'euphrates-csit-rocky'
1902 name: 'euphrates-csit-queens'
1907 name: 'danube-csit-master'
1912 name: 'danube-csit-rocky'
1917 name: 'danube-csit-queens'
1921 name: 'master-functest-master'
1923 - timed: '0 3 * * *'
1926 name: 'master-functest-rocky'
1928 - timed: '0 3 * * *'
1931 name: 'master-functest-queens'
1936 name: 'hunter-functest-master'
1941 name: 'hunter-functest-rocky'
1943 - timed: '0 3 * * *'
1946 name: 'hunter-functest-queens'
1951 name: 'gambia-functest-master'
1956 name: 'gambia-functest-rocky'
1961 name: 'gambia-functest-queens'
1963 - timed: '0 3 * * *'
1966 name: 'fraser-functest-master'
1971 name: 'fraser-functest-rocky'
1976 name: 'fraser-functest-queens'
1981 name: 'euphrates-functest-master'
1986 name: 'euphrates-functest-rocky'
1991 name: 'euphrates-functest-queens'
1996 name: 'danube-functest-master'
2001 name: 'danube-functest-rocky'
2006 name: 'danube-functest-queens'