14 ppa-pathname: '/{stream}'
16 openstack-version: pike
19 branch: 'stable/{stream}'
21 gs-pathname: '/{stream}'
22 ppa-pathname: '/{stream}'
23 openstack-version: ocata
26 branch: 'stable/{stream}'
27 gs-pathname: '/{stream}'
28 ppa-pathname: '/{stream}'
30 openstack-version: newton
31 # -------------------------------
32 # POD, INSTALLER, AND BRANCH MAPPING
33 # -------------------------------
35 # -------------------------------
38 slave-label: compass-baremetal-master
42 slave-label: compass-virtual-master
46 slave-label: compass-baremetal-branch
50 slave-label: compass-virtual-branch
53 # -------------------------------
55 # -------------------------------
57 slave-label: 'intel-pod17'
60 # -------------------------------
62 # -------------------------------
64 slave-label: 'huawei-pod7'
69 - 'os-nosdn-nofeature-ha':
71 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
72 - 'os-odl_l2-nofeature-ha':
74 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
75 - 'os-odl_l3-nofeature-ha':
77 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
78 - 'os-onos-nofeature-ha':
80 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
81 - 'os-ocl-nofeature-ha':
83 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
86 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
87 - 'os-odl_l2-moon-ha':
89 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
92 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
93 - 'os-nosdn-openo-ha':
95 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
98 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
99 - 'os-nosdn-ovs_dpdk-ha':
101 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
102 - 'k8-nosdn-nofeature-ha':
104 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
105 - 'os-nosdn-nofeature-noha':
107 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
108 - 'os-odl_l3-nofeature-noha':
110 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
111 - 'os-odl_l2-moon-noha':
113 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
114 - 'os-nosdn-kvm-noha':
116 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
119 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
120 - 'os-nosdn-ovs_dpdk-noha':
122 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
125 auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
128 - 'compass-{scenario}-{pod}-daily-{stream}'
129 - 'compass-deploy-{pod}-daily-{stream}'
131 ########################
133 ########################
135 name: 'compass-{scenario}-{pod}-daily-{stream}'
137 disabled: '{obj:disabled}'
148 use-build-blocker: true
150 - 'compass-os-.*?-{pod}-daily-.*?'
151 - 'compass-os-.*?-baremetal-daily-.*?'
152 - 'compass-verify-[^-]*-[^-]*'
157 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
158 - fix-workspace-permissions
164 - compass-ci-parameter:
165 installer: '{installer}'
166 gs-pathname: '{gs-pathname}'
167 ppa-pathname: '{ppa-pathname}'
169 name: DEPLOY_SCENARIO
170 default: '{scenario}'
171 - '{slave-label}-defaults'
172 - '{installer}-defaults'
175 - '{auto-trigger-name}'
178 - description-setter:
179 description: "POD: $NODE_NAME"
181 - project: 'compass-deploy-{pod}-daily-{stream}'
182 current-parameters: true
183 predefined-parameters: |
184 DEPLOY_SCENARIO={scenario}
185 COMPASS_OS_VERSION={os-version}
186 COMPASS_OPENSTACK_VERSION={openstack-version}
190 - project: 'functest-compass-{pod}-daily-{stream}'
191 current-parameters: false
192 predefined-parameters:
193 DEPLOY_SCENARIO={scenario}
197 build-step-failure-threshold: 'never'
198 failure-threshold: 'never'
199 unstable-threshold: 'FAILURE'
201 - project: 'yardstick-compass-{pod}-daily-{stream}'
202 current-parameters: false
203 predefined-parameters:
204 DEPLOY_SCENARIO={scenario}
208 build-step-failure-threshold: 'never'
209 failure-threshold: 'never'
210 unstable-threshold: 'FAILURE'
211 # dovetail only master by now, not sync with A/B/C branches
212 # here the stream means the SUT stream, dovetail stream is defined in its own job
213 # only run on os-(nosdn|odl_l2|odl_l3)-nofeature-ha scenario
214 # run against SUT master/euphrates branch, dovetail docker image with latest tag(Monday, Tuesday)
215 # run against SUT master/euphrates branch, dovetail docker image with cvp.X.X.X tag(Thursday, Friday)
216 # run against SUT danube branch, dovetail docker image with cvp.X.X.X tag on huawei-pod7
220 - condition-kind: regex-match
221 regex: os-(nosdn|odl_l3)-nofeature-ha
223 - condition-kind: day-of-week
224 day-selector: select-days
231 - project: 'dovetail-compass-{pod}-proposed_tests-{stream}'
232 current-parameters: false
233 predefined-parameters: |
235 DEPLOY_SCENARIO={scenario}
239 build-step-failure-threshold: 'never'
240 failure-threshold: 'never'
241 unstable-threshold: 'FAILURE'
245 - condition-kind: regex-match
246 regex: os-(nosdn|odl_l3)-nofeature-ha
248 - condition-kind: day-of-week
249 day-selector: select-days
256 - project: 'dovetail-compass-{pod}-proposed_tests-{stream}'
257 current-parameters: false
258 predefined-parameters:
259 DEPLOY_SCENARIO={scenario}
263 build-step-failure-threshold: 'never'
264 failure-threshold: 'never'
265 unstable-threshold: 'FAILURE'
269 - condition-kind: regex-match
270 regex: os-nosdn-nofeature-ha
274 - project: 'bottlenecks-compass-posca_stress_ping-{pod}-daily-{stream}'
275 current-parameters: false
276 predefined-parameters:
277 DEPLOY_SCENARIO={scenario}
281 build-step-failure-threshold: 'never'
282 failure-threshold: 'never'
283 unstable-threshold: 'FAILURE'
286 name: 'compass-deploy-{pod}-daily-{stream}'
299 use-build-blocker: true
301 - 'compass-deploy-{pod}-daily-.*?'
302 - 'compass-verify-deploy-.*?'
307 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
311 - fix-workspace-permissions
317 - compass-ci-parameter:
318 installer: '{installer}'
319 gs-pathname: '{gs-pathname}'
320 ppa-pathname: '{ppa-pathname}'
321 - '{slave-label}-defaults'
322 - '{installer}-defaults'
328 - description-setter:
329 description: "POD: $NODE_NAME"
331 condition-kind: regex-match
336 !include-raw-escape: ./compass-build.sh
338 !include-raw-escape: ./compass-deploy.sh
340 condition-kind: regex-match
341 regex: (danube|euphrates)
345 !include-raw-escape: ./compass-download-artifact.sh
347 !include-raw-escape: ./compass-deploy.sh
349 ########################
351 ########################
353 name: compass-ci-parameter
356 name: BUILD_DIRECTORY
357 default: $WORKSPACE/build_output
358 description: "Directory where the build artifact will be located upon the completion of the build."
361 default: '$GS_BASE{gs-pathname}'
362 description: "URL to Google Storage."
364 name: CACHE_DIRECTORY
365 default: "$HOME/opnfv/cache/$PROJECT{gs-pathname}"
366 description: "Directory where the cache to be used during the build is located."
369 default: "http://artifacts.opnfv.org/compass4nfv/package{ppa-pathname}"
372 default: "$WORKSPACE/work/repo/"
374 ########################
376 ########################
378 # --------------------------
379 # ha-baremetal-centos-master
380 # --------------------------
382 name: 'compass-os-nosdn-nofeature-ha-baremetal-centos-master-trigger'
384 - timed: '0 19 * * *'
386 name: 'compass-os-nosdn-openo-ha-baremetal-centos-master-trigger'
390 name: 'compass-os-odl_l2-nofeature-ha-baremetal-centos-master-trigger'
394 name: 'compass-os-odl_l3-nofeature-ha-baremetal-centos-master-trigger'
396 - timed: '0 15 * * *'
398 name: 'compass-os-onos-nofeature-ha-baremetal-centos-master-trigger'
402 name: 'compass-os-ocl-nofeature-ha-baremetal-centos-master-trigger'
406 name: 'compass-os-onos-sfc-ha-baremetal-centos-master-trigger'
410 name: 'compass-os-odl_l2-moon-ha-baremetal-centos-master-trigger'
414 name: 'compass-os-nosdn-kvm-ha-baremetal-centos-master-trigger'
418 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-centos-master-trigger'
422 name: 'compass-os-odl-sfc-ha-baremetal-centos-master-trigger'
426 name: 'compass-k8-nosdn-nofeature-ha-baremetal-centos-master-trigger'
430 name: 'compass-os-nosdn-bar-ha-baremetal-centos-master-trigger'
432 - timed: '' # '0 19 * * *'
434 # ----------------------------
435 # noha-baremetal-centos-master
436 # ----------------------------
438 name: 'compass-os-nosdn-nofeature-noha-baremetal-centos-master-trigger'
442 name: 'compass-os-odl_l3-nofeature-noha-baremetal-centos-master-trigger'
446 name: 'compass-os-odl_l2-moon-noha-baremetal-centos-master-trigger'
450 name: 'compass-os-nosdn-kvm-noha-baremetal-centos-master-trigger'
454 name: 'compass-os-odl-sfc-noha-baremetal-centos-master-trigger'
458 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-centos-master-trigger'
462 # --------------------------
463 # ha-huawei-pod7-danube
464 # --------------------------
466 name: 'compass-os-nosdn-nofeature-ha-huawei-pod7-danube-trigger'
468 - timed: '' # '0 19 * * *'
470 name: 'compass-os-nosdn-openo-ha-huawei-pod7-danube-trigger'
474 name: 'compass-os-odl_l2-nofeature-ha-huawei-pod7-danube-trigger'
476 - timed: '' # '0 21 * * *'
478 name: 'compass-os-odl_l3-nofeature-ha-huawei-pod7-danube-trigger'
480 - timed: '' # '0 15 * * *'
482 name: 'compass-os-onos-nofeature-ha-huawei-pod7-danube-trigger'
486 name: 'compass-os-ocl-nofeature-ha-huawei-pod7-danube-trigger'
490 name: 'compass-os-onos-sfc-ha-huawei-pod7-danube-trigger'
494 name: 'compass-os-odl_l2-moon-ha-huawei-pod7-danube-trigger'
498 name: 'compass-os-nosdn-kvm-ha-huawei-pod7-danube-trigger'
502 name: 'compass-os-nosdn-ovs_dpdk-ha-huawei-pod7-danube-trigger'
506 name: 'compass-os-odl-sfc-ha-huawei-pod7-danube-trigger'
510 name: 'compass-k8-nosdn-nofeature-ha-huawei-pod7-danube-trigger'
514 name: 'compass-os-nosdn-bar-ha-huawei-pod7-danube-trigger'
516 - timed: '' # '0 19 * * *'
518 # ----------------------------
519 # noha-huawei-pod7-danube
520 # ----------------------------
522 name: 'compass-os-nosdn-nofeature-noha-huawei-pod7-danube-trigger'
526 name: 'compass-os-odl_l3-nofeature-noha-huawei-pod7-danube-trigger'
530 name: 'compass-os-odl_l2-moon-noha-huawei-pod7-danube-trigger'
534 name: 'compass-os-nosdn-kvm-noha-huawei-pod7-danube-trigger'
538 name: 'compass-os-odl-sfc-noha-huawei-pod7-danube-trigger'
542 name: 'compass-os-nosdn-ovs_dpdk-noha-huawei-pod7-danube-trigger'
546 # -------------------
547 # ha-baremetal-master
548 # -------------------
550 name: 'compass-os-nosdn-nofeature-ha-baremetal-master-trigger'
552 - timed: '0 20 2-30/2 * *'
554 name: 'compass-os-nosdn-openo-ha-baremetal-master-trigger'
558 name: 'compass-os-odl_l2-nofeature-ha-baremetal-master-trigger'
562 name: 'compass-os-odl_l3-nofeature-ha-baremetal-master-trigger'
564 - timed: '0 18 1-29/2 * *'
566 name: 'compass-os-onos-nofeature-ha-baremetal-master-trigger'
570 name: 'compass-os-ocl-nofeature-ha-baremetal-master-trigger'
574 name: 'compass-os-onos-sfc-ha-baremetal-master-trigger'
578 name: 'compass-os-odl_l2-moon-ha-baremetal-master-trigger'
580 - timed: '0 12 2-30/2 * *'
582 name: 'compass-os-nosdn-kvm-ha-baremetal-master-trigger'
584 - timed: '0 14 1-29/2 * *'
586 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-master-trigger'
588 - timed: '0 16 2-30/2 * *'
590 name: 'compass-k8-nosdn-nofeature-ha-baremetal-master-trigger'
594 name: 'compass-os-odl-sfc-ha-baremetal-master-trigger'
596 - timed: '0 10 1-29/2 * *'
598 name: 'compass-os-nosdn-bar-ha-baremetal-master-trigger'
600 - timed: '0 2 2-30/2 * *'
602 # ---------------------
603 # noha-baremetal-master
604 # ---------------------
606 name: 'compass-os-nosdn-kvm-noha-baremetal-master-trigger'
610 name: 'compass-os-nosdn-nofeature-noha-baremetal-master-trigger'
614 name: 'compass-os-odl_l3-nofeature-noha-baremetal-master-trigger'
618 name: 'compass-os-odl_l2-moon-noha-baremetal-master-trigger'
622 name: 'compass-os-odl-sfc-noha-baremetal-master-trigger'
626 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-master-trigger'
630 # -------------------
631 # ha-baremetal-euphrates
632 # -------------------
634 name: 'compass-os-nosdn-nofeature-ha-baremetal-euphrates-trigger'
636 - timed: '0 1 1-29/2 * *'
638 name: 'compass-os-nosdn-openo-ha-baremetal-euphrates-trigger'
642 name: 'compass-os-odl_l2-nofeature-ha-baremetal-euphrates-trigger'
646 name: 'compass-os-odl_l3-nofeature-ha-baremetal-euphrates-trigger'
648 - timed: '0 21 2-30/2 * *'
650 name: 'compass-os-onos-nofeature-ha-baremetal-euphrates-trigger'
654 name: 'compass-os-ocl-nofeature-ha-baremetal-euphrates-trigger'
658 name: 'compass-os-onos-sfc-ha-baremetal-euphrates-trigger'
662 name: 'compass-os-odl_l2-moon-ha-baremetal-euphrates-trigger'
664 - timed: '0 5 1-29/2 * *'
666 name: 'compass-os-nosdn-kvm-ha-baremetal-euphrates-trigger'
668 - timed: '0 13 2-30/2 * *'
670 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-euphrates-trigger'
672 - timed: '0 9 1-29/2 * *'
674 name: 'compass-k8-nosdn-nofeature-ha-baremetal-euphrates-trigger'
678 name: 'compass-os-odl-sfc-ha-baremetal-euphrates-trigger'
680 - timed: '0 17 2-30/2 * *'
682 name: 'compass-os-nosdn-bar-ha-baremetal-euphrates-trigger'
684 - timed: '0 21 1-29/2 * *'
686 # ---------------------
687 # noha-baremetal-euphrates
688 # ---------------------
690 name: 'compass-os-nosdn-kvm-noha-baremetal-euphrates-trigger'
694 name: 'compass-os-nosdn-nofeature-noha-baremetal-euphrates-trigger'
698 name: 'compass-os-odl_l3-nofeature-noha-baremetal-euphrates-trigger'
702 name: 'compass-os-odl_l2-moon-noha-baremetal-euphrates-trigger'
706 name: 'compass-os-odl-sfc-noha-baremetal-euphrates-trigger'
710 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-euphrates-trigger'
718 name: 'compass-os-nosdn-nofeature-ha-virtual-master-trigger'
720 - timed: '0 21 * * *'
722 name: 'compass-os-nosdn-openo-ha-virtual-master-trigger'
726 name: 'compass-os-odl_l2-nofeature-ha-virtual-master-trigger'
730 name: 'compass-os-odl_l3-nofeature-ha-virtual-master-trigger'
732 - timed: '0 19 2-30/2 * *'
734 name: 'compass-os-onos-nofeature-ha-virtual-master-trigger'
738 name: 'compass-os-ocl-nofeature-ha-virtual-master-trigger'
742 name: 'compass-os-onos-sfc-ha-virtual-master-trigger'
746 name: 'compass-os-odl_l2-moon-ha-virtual-master-trigger'
748 - timed: '30 12 1-29/2 * *'
750 name: 'compass-os-nosdn-kvm-ha-virtual-master-trigger'
752 - timed: '0 13 1-29/2 * *'
754 name: 'compass-os-nosdn-ovs_dpdk-ha-virtual-master-trigger'
756 - timed: '0 17 2-30/2 * *'
758 name: 'compass-k8-nosdn-nofeature-ha-virtual-master-trigger'
762 name: 'compass-os-odl-sfc-ha-virtual-master-trigger'
764 - timed: '0 16 2-30/2 * *'
766 name: 'compass-os-nosdn-bar-ha-virtual-master-trigger'
768 - timed: '0 17 1-29/2 * *'
770 # -------------------
771 # noha-virtual-master
772 # -------------------
774 name: 'compass-os-nosdn-kvm-noha-virtual-master-trigger'
776 - timed: '30 13 1-29/2 * *'
778 name: 'compass-os-nosdn-nofeature-noha-virtual-master-trigger'
780 - timed: '0 14 2-30/2 * *'
782 name: 'compass-os-odl_l3-nofeature-noha-virtual-master-trigger'
784 - timed: '0 15 1-29/2 * *'
786 name: 'compass-os-odl_l2-moon-noha-virtual-master-trigger'
788 - timed: '0 18 2-30/2 * *'
790 name: 'compass-os-odl-sfc-noha-virtual-master-trigger'
792 - timed: '0 20 1-29/2 * *'
794 name: 'compass-os-nosdn-ovs_dpdk-noha-virtual-master-trigger'
796 - timed: '0 11 2-30/2 * *'
799 # ha-virtual-euphrates
802 name: 'compass-os-nosdn-nofeature-ha-virtual-euphrates-trigger'
804 - timed: '0 23 1-29/2 * *'
806 name: 'compass-os-nosdn-openo-ha-virtual-euphrates-trigger'
810 name: 'compass-os-odl_l2-nofeature-ha-virtual-euphrates-trigger'
814 name: 'compass-os-odl_l3-nofeature-ha-virtual-euphrates-trigger'
816 - timed: '0 22 2-30/2 * *'
818 name: 'compass-os-onos-nofeature-ha-virtual-euphrates-trigger'
822 name: 'compass-os-ocl-nofeature-ha-virtual-euphrates-trigger'
826 name: 'compass-os-onos-sfc-ha-virtual-euphrates-trigger'
830 name: 'compass-os-odl_l2-moon-ha-virtual-euphrates-trigger'
832 - timed: '0 20 1-29/2 * *'
834 name: 'compass-os-nosdn-kvm-ha-virtual-euphrates-trigger'
836 - timed: '0 16 2-30/2 * *'
838 name: 'compass-os-nosdn-ovs_dpdk-ha-virtual-euphrates-trigger'
840 - timed: '0 14 1-29/2 * *'
842 name: 'compass-os-odl-sfc-ha-virtual-euphrates-trigger'
844 - timed: '0 18 2-30/2 * *'
846 name: 'compass-k8-nosdn-nofeature-ha-virtual-euphrates-trigger'
848 - timed: '5 1 2-30/2 * *'
850 name: 'compass-os-nosdn-bar-ha-virtual-euphrates-trigger'
852 - timed: '0 19 1-29/2 * *'
854 # -------------------
855 # noha-virtual-euphrates
856 # -------------------
858 name: 'compass-os-nosdn-kvm-noha-virtual-euphrates-trigger'
860 - timed: '0 15 1-29/2 * *'
862 name: 'compass-os-nosdn-nofeature-noha-virtual-euphrates-trigger'
864 - timed: '0 17 2-30/2 * *'
866 name: 'compass-os-odl_l3-nofeature-noha-virtual-euphrates-trigger'
868 - timed: '0 23 1-29/2 * *'
870 name: 'compass-os-odl_l2-moon-noha-virtual-euphrates-trigger'
872 - timed: '0 21 2-30/2 * *'
874 name: 'compass-os-odl-sfc-noha-virtual-euphrates-trigger'
876 - timed: '0 19 1-29/2 * *'
878 name: 'compass-os-nosdn-ovs_dpdk-noha-virtual-euphrates-trigger'
880 - timed: '0 12 2-30/2 * *'