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}'
130 - 'compass-collect-logs-{pod}-daily-{stream}'
132 ########################
134 ########################
136 name: 'compass-{scenario}-{pod}-daily-{stream}'
138 disabled: '{obj:disabled}'
149 use-build-blocker: true
151 - 'compass-os-.*?-{pod}-daily-.*?'
152 - 'compass-k8-.*?-{pod}-daily-.*?'
153 - 'compass-os-.*?-baremetal-daily-.*?'
154 - 'compass-k8-.*?-baremetal-daily-.*?'
155 - 'compass-verify-[^-]*-[^-]*'
160 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
161 - fix-workspace-permissions
167 - compass-ci-parameter:
168 installer: '{installer}'
169 gs-pathname: '{gs-pathname}'
170 ppa-pathname: '{ppa-pathname}'
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 # here the stream means the SUT stream, dovetail stream is defined in its own job
212 # only run on os-(nosdn|odl_l3)-nofeature-ha scenario
213 # run with testsuite default, dovetail docker image with latest tag(Monday, Tuesday)
214 # run with testsuite proposed_tests, dovetail docker image with latest tag(Thursday, Friday)
218 - condition-kind: regex-match
219 regex: os-(nosdn|odl_l3)-nofeature-ha
221 - condition-kind: day-of-week
222 day-selector: select-days
229 - project: 'dovetail-compass-{pod}-default-{stream}'
230 current-parameters: false
231 predefined-parameters: |
233 DEPLOY_SCENARIO={scenario}
237 build-step-failure-threshold: 'never'
238 failure-threshold: 'never'
239 unstable-threshold: 'FAILURE'
243 - condition-kind: regex-match
244 regex: os-(nosdn|odl_l3)-nofeature-ha
246 - condition-kind: day-of-week
247 day-selector: select-days
254 - project: 'dovetail-compass-{pod}-proposed_tests-{stream}'
255 current-parameters: false
256 predefined-parameters:
257 DEPLOY_SCENARIO={scenario}
261 build-step-failure-threshold: 'never'
262 failure-threshold: 'never'
263 unstable-threshold: 'FAILURE'
267 - condition-kind: regex-match
268 regex: os-nosdn-nofeature-ha
272 - project: 'bottlenecks-compass-posca_stress_ping-{pod}-daily-{stream}'
273 current-parameters: false
274 predefined-parameters:
275 DEPLOY_SCENARIO={scenario}
279 build-step-failure-threshold: 'never'
280 failure-threshold: 'never'
281 unstable-threshold: 'FAILURE'
285 - condition-kind: regex-match
290 - project: 'compass-collect-logs-{pod}-daily-{stream}'
291 current-parameters: false
292 predefined-parameters:
293 DEPLOY_SCENARIO={scenario}
297 build-step-failure-threshold: 'never'
298 failure-threshold: 'never'
299 unstable-threshold: 'FAILURE'
303 name: 'compass-deploy-{pod}-daily-{stream}'
316 use-build-blocker: true
318 - 'compass-deploy-{pod}-daily-.*?'
319 - 'compass-verify-deploy-.*?'
324 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
328 - fix-workspace-permissions
334 - compass-ci-parameter:
335 installer: '{installer}'
336 gs-pathname: '{gs-pathname}'
337 ppa-pathname: '{ppa-pathname}'
338 - '{slave-label}-defaults'
339 - '{installer}-defaults'
345 - description-setter:
346 description: "POD: $NODE_NAME"
348 condition-kind: regex-match
353 !include-raw-escape: ./compass-build.sh
355 !include-raw-escape: ./compass-deploy.sh
357 condition-kind: regex-match
358 regex: (danube|euphrates)
362 !include-raw-escape: ./compass-download-artifact.sh
364 !include-raw-escape: ./compass-deploy.sh
367 name: 'compass-collect-logs-{pod}-daily-{stream}'
369 disabled: '{obj:disabled}'
380 - compass-ci-parameter:
381 installer: '{installer}'
382 gs-pathname: '{gs-pathname}'
383 ppa-pathname: '{ppa-pathname}'
384 - '{slave-label}-defaults'
385 - '{installer}-defaults'
392 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
393 - fix-workspace-permissions
396 - description-setter:
397 description: "Built on $NODE_NAME"
399 !include-raw-escape: ./compass-logs.sh
401 ########################
403 ########################
405 name: compass-ci-parameter
408 name: BUILD_DIRECTORY
409 default: $WORKSPACE/build_output
410 description: "Directory where the build artifact will be located upon the completion of the build."
413 default: '$GS_BASE{gs-pathname}'
414 description: "URL to Google Storage."
416 name: CACHE_DIRECTORY
417 default: "$HOME/opnfv/cache/$PROJECT{gs-pathname}"
418 description: "Directory where the cache to be used during the build is located."
421 default: "http://artifacts.opnfv.org/compass4nfv/package{ppa-pathname}"
424 default: "$WORKSPACE/work/repo/"
427 default: $WORKSPACE/log_output
428 description: "Directory where the logs will be located upon the completion of the collection."
430 name: DEPLOY_SCENARIO
431 default: 'os-nosdn-nofeature-ha'
432 description: "Scenario to deploy with."
434 name: COMPASS_OS_VERSION
437 name: COMPASS_OPENSTACK_VERSION
441 ########################
443 ########################
445 # --------------------------
446 # ha-baremetal-centos-master
447 # --------------------------
449 name: 'compass-os-nosdn-nofeature-ha-baremetal-centos-master-trigger'
451 - timed: '0 19 * * *'
453 name: 'compass-os-nosdn-openo-ha-baremetal-centos-master-trigger'
457 name: 'compass-os-odl_l2-nofeature-ha-baremetal-centos-master-trigger'
461 name: 'compass-os-odl_l3-nofeature-ha-baremetal-centos-master-trigger'
463 - timed: '0 15 * * *'
465 name: 'compass-os-onos-nofeature-ha-baremetal-centos-master-trigger'
469 name: 'compass-os-ocl-nofeature-ha-baremetal-centos-master-trigger'
473 name: 'compass-os-onos-sfc-ha-baremetal-centos-master-trigger'
477 name: 'compass-os-odl_l2-moon-ha-baremetal-centos-master-trigger'
481 name: 'compass-os-nosdn-kvm-ha-baremetal-centos-master-trigger'
485 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-centos-master-trigger'
489 name: 'compass-os-odl-sfc-ha-baremetal-centos-master-trigger'
493 name: 'compass-k8-nosdn-nofeature-ha-baremetal-centos-master-trigger'
497 name: 'compass-os-nosdn-bar-ha-baremetal-centos-master-trigger'
499 - timed: '' # '0 19 * * *'
501 # ----------------------------
502 # noha-baremetal-centos-master
503 # ----------------------------
505 name: 'compass-os-nosdn-nofeature-noha-baremetal-centos-master-trigger'
509 name: 'compass-os-odl_l3-nofeature-noha-baremetal-centos-master-trigger'
513 name: 'compass-os-odl_l2-moon-noha-baremetal-centos-master-trigger'
517 name: 'compass-os-nosdn-kvm-noha-baremetal-centos-master-trigger'
521 name: 'compass-os-odl-sfc-noha-baremetal-centos-master-trigger'
525 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-centos-master-trigger'
529 # --------------------------
530 # ha-huawei-pod7-danube
531 # --------------------------
533 name: 'compass-os-nosdn-nofeature-ha-huawei-pod7-danube-trigger'
535 - timed: '' # '0 19 * * *'
537 name: 'compass-os-nosdn-openo-ha-huawei-pod7-danube-trigger'
541 name: 'compass-os-odl_l2-nofeature-ha-huawei-pod7-danube-trigger'
543 - timed: '' # '0 21 * * *'
545 name: 'compass-os-odl_l3-nofeature-ha-huawei-pod7-danube-trigger'
547 - timed: '' # '0 15 * * *'
549 name: 'compass-os-onos-nofeature-ha-huawei-pod7-danube-trigger'
553 name: 'compass-os-ocl-nofeature-ha-huawei-pod7-danube-trigger'
557 name: 'compass-os-onos-sfc-ha-huawei-pod7-danube-trigger'
561 name: 'compass-os-odl_l2-moon-ha-huawei-pod7-danube-trigger'
565 name: 'compass-os-nosdn-kvm-ha-huawei-pod7-danube-trigger'
569 name: 'compass-os-nosdn-ovs_dpdk-ha-huawei-pod7-danube-trigger'
573 name: 'compass-os-odl-sfc-ha-huawei-pod7-danube-trigger'
577 name: 'compass-k8-nosdn-nofeature-ha-huawei-pod7-danube-trigger'
581 name: 'compass-os-nosdn-bar-ha-huawei-pod7-danube-trigger'
583 - timed: '' # '0 19 * * *'
585 # ----------------------------
586 # noha-huawei-pod7-danube
587 # ----------------------------
589 name: 'compass-os-nosdn-nofeature-noha-huawei-pod7-danube-trigger'
593 name: 'compass-os-odl_l3-nofeature-noha-huawei-pod7-danube-trigger'
597 name: 'compass-os-odl_l2-moon-noha-huawei-pod7-danube-trigger'
601 name: 'compass-os-nosdn-kvm-noha-huawei-pod7-danube-trigger'
605 name: 'compass-os-odl-sfc-noha-huawei-pod7-danube-trigger'
609 name: 'compass-os-nosdn-ovs_dpdk-noha-huawei-pod7-danube-trigger'
613 # -------------------
614 # ha-baremetal-master
615 # -------------------
617 name: 'compass-os-nosdn-nofeature-ha-baremetal-master-trigger'
619 - timed: '0 20 2-30/2 * *'
621 name: 'compass-os-nosdn-openo-ha-baremetal-master-trigger'
625 name: 'compass-os-odl_l2-nofeature-ha-baremetal-master-trigger'
629 name: 'compass-os-odl_l3-nofeature-ha-baremetal-master-trigger'
631 - timed: '0 18 1-29/2 * *'
633 name: 'compass-os-onos-nofeature-ha-baremetal-master-trigger'
637 name: 'compass-os-ocl-nofeature-ha-baremetal-master-trigger'
641 name: 'compass-os-onos-sfc-ha-baremetal-master-trigger'
645 name: 'compass-os-odl_l2-moon-ha-baremetal-master-trigger'
647 - timed: '0 12 2-30/2 * *'
649 name: 'compass-os-nosdn-kvm-ha-baremetal-master-trigger'
651 - timed: '0 14 1-29/2 * *'
653 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-master-trigger'
655 - timed: '0 16 2-30/2 * *'
657 name: 'compass-k8-nosdn-nofeature-ha-baremetal-master-trigger'
661 name: 'compass-os-odl-sfc-ha-baremetal-master-trigger'
663 - timed: '0 10 1-29/2 * *'
665 name: 'compass-os-nosdn-bar-ha-baremetal-master-trigger'
667 - timed: '0 2 2-30/2 * *'
669 # ---------------------
670 # noha-baremetal-master
671 # ---------------------
673 name: 'compass-os-nosdn-kvm-noha-baremetal-master-trigger'
677 name: 'compass-os-nosdn-nofeature-noha-baremetal-master-trigger'
681 name: 'compass-os-odl_l3-nofeature-noha-baremetal-master-trigger'
685 name: 'compass-os-odl_l2-moon-noha-baremetal-master-trigger'
689 name: 'compass-os-odl-sfc-noha-baremetal-master-trigger'
693 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-master-trigger'
697 # -------------------
698 # ha-baremetal-euphrates
699 # -------------------
701 name: 'compass-os-nosdn-nofeature-ha-baremetal-euphrates-trigger'
703 - timed: '0 1 1-29/2 * *'
705 name: 'compass-os-nosdn-openo-ha-baremetal-euphrates-trigger'
709 name: 'compass-os-odl_l2-nofeature-ha-baremetal-euphrates-trigger'
713 name: 'compass-os-odl_l3-nofeature-ha-baremetal-euphrates-trigger'
715 - timed: '0 21 2-30/2 * *'
717 name: 'compass-os-onos-nofeature-ha-baremetal-euphrates-trigger'
721 name: 'compass-os-ocl-nofeature-ha-baremetal-euphrates-trigger'
725 name: 'compass-os-onos-sfc-ha-baremetal-euphrates-trigger'
729 name: 'compass-os-odl_l2-moon-ha-baremetal-euphrates-trigger'
731 - timed: '0 5 1-29/2 * *'
733 name: 'compass-os-nosdn-kvm-ha-baremetal-euphrates-trigger'
735 - timed: '0 13 2-30/2 * *'
737 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-euphrates-trigger'
739 - timed: '0 9 1-29/2 * *'
741 name: 'compass-k8-nosdn-nofeature-ha-baremetal-euphrates-trigger'
745 name: 'compass-os-odl-sfc-ha-baremetal-euphrates-trigger'
747 - timed: '0 17 2-30/2 * *'
749 name: 'compass-os-nosdn-bar-ha-baremetal-euphrates-trigger'
751 - timed: '0 21 1-29/2 * *'
753 # ---------------------
754 # noha-baremetal-euphrates
755 # ---------------------
757 name: 'compass-os-nosdn-kvm-noha-baremetal-euphrates-trigger'
761 name: 'compass-os-nosdn-nofeature-noha-baremetal-euphrates-trigger'
765 name: 'compass-os-odl_l3-nofeature-noha-baremetal-euphrates-trigger'
769 name: 'compass-os-odl_l2-moon-noha-baremetal-euphrates-trigger'
773 name: 'compass-os-odl-sfc-noha-baremetal-euphrates-trigger'
777 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-euphrates-trigger'
785 name: 'compass-os-nosdn-nofeature-ha-virtual-master-trigger'
787 - timed: '0 21 * * *'
789 name: 'compass-os-nosdn-openo-ha-virtual-master-trigger'
793 name: 'compass-os-odl_l2-nofeature-ha-virtual-master-trigger'
797 name: 'compass-os-odl_l3-nofeature-ha-virtual-master-trigger'
799 - timed: '0 19 2-30/2 * *'
801 name: 'compass-os-onos-nofeature-ha-virtual-master-trigger'
805 name: 'compass-os-ocl-nofeature-ha-virtual-master-trigger'
809 name: 'compass-os-onos-sfc-ha-virtual-master-trigger'
813 name: 'compass-os-odl_l2-moon-ha-virtual-master-trigger'
815 - timed: '30 12 1-29/2 * *'
817 name: 'compass-os-nosdn-kvm-ha-virtual-master-trigger'
819 - timed: '0 13 1-29/2 * *'
821 name: 'compass-os-nosdn-ovs_dpdk-ha-virtual-master-trigger'
823 - timed: '0 17 2-30/2 * *'
825 name: 'compass-k8-nosdn-nofeature-ha-virtual-master-trigger'
829 name: 'compass-os-odl-sfc-ha-virtual-master-trigger'
831 - timed: '0 16 2-30/2 * *'
833 name: 'compass-os-nosdn-bar-ha-virtual-master-trigger'
835 - timed: '0 17 1-29/2 * *'
837 # -------------------
838 # noha-virtual-master
839 # -------------------
841 name: 'compass-os-nosdn-kvm-noha-virtual-master-trigger'
843 - timed: '30 13 1-29/2 * *'
845 name: 'compass-os-nosdn-nofeature-noha-virtual-master-trigger'
847 - timed: '0 14 2-30/2 * *'
849 name: 'compass-os-odl_l3-nofeature-noha-virtual-master-trigger'
851 - timed: '0 15 1-29/2 * *'
853 name: 'compass-os-odl_l2-moon-noha-virtual-master-trigger'
855 - timed: '0 18 2-30/2 * *'
857 name: 'compass-os-odl-sfc-noha-virtual-master-trigger'
859 - timed: '0 20 1-29/2 * *'
861 name: 'compass-os-nosdn-ovs_dpdk-noha-virtual-master-trigger'
863 - timed: '0 11 2-30/2 * *'
866 # ha-virtual-euphrates
869 name: 'compass-os-nosdn-nofeature-ha-virtual-euphrates-trigger'
871 - timed: '0 23 1-29/2 * *'
873 name: 'compass-os-nosdn-openo-ha-virtual-euphrates-trigger'
877 name: 'compass-os-odl_l2-nofeature-ha-virtual-euphrates-trigger'
881 name: 'compass-os-odl_l3-nofeature-ha-virtual-euphrates-trigger'
883 - timed: '0 22 2-30/2 * *'
885 name: 'compass-os-onos-nofeature-ha-virtual-euphrates-trigger'
889 name: 'compass-os-ocl-nofeature-ha-virtual-euphrates-trigger'
893 name: 'compass-os-onos-sfc-ha-virtual-euphrates-trigger'
897 name: 'compass-os-odl_l2-moon-ha-virtual-euphrates-trigger'
899 - timed: '0 20 1-29/2 * *'
901 name: 'compass-os-nosdn-kvm-ha-virtual-euphrates-trigger'
903 - timed: '0 16 2-30/2 * *'
905 name: 'compass-os-nosdn-ovs_dpdk-ha-virtual-euphrates-trigger'
907 - timed: '0 14 1-29/2 * *'
909 name: 'compass-os-odl-sfc-ha-virtual-euphrates-trigger'
911 - timed: '0 18 2-30/2 * *'
913 name: 'compass-k8-nosdn-nofeature-ha-virtual-euphrates-trigger'
915 - timed: '5 1 2-30/2 * *'
917 name: 'compass-os-nosdn-bar-ha-virtual-euphrates-trigger'
919 - timed: '0 19 1-29/2 * *'
921 # -------------------
922 # noha-virtual-euphrates
923 # -------------------
925 name: 'compass-os-nosdn-kvm-noha-virtual-euphrates-trigger'
927 - timed: '0 15 1-29/2 * *'
929 name: 'compass-os-nosdn-nofeature-noha-virtual-euphrates-trigger'
931 - timed: '0 17 2-30/2 * *'
933 name: 'compass-os-odl_l3-nofeature-noha-virtual-euphrates-trigger'
935 - timed: '0 23 1-29/2 * *'
937 name: 'compass-os-odl_l2-moon-noha-virtual-euphrates-trigger'
939 - timed: '0 21 2-30/2 * *'
941 name: 'compass-os-odl-sfc-noha-virtual-euphrates-trigger'
943 - timed: '0 19 1-29/2 * *'
945 name: 'compass-os-nosdn-ovs_dpdk-noha-virtual-euphrates-trigger'
947 - timed: '0 12 2-30/2 * *'