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-os-.*?-baremetal-daily-.*?'
153 - 'compass-verify-[^-]*-[^-]*'
158 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
159 - fix-workspace-permissions
165 - compass-ci-parameter:
166 installer: '{installer}'
167 gs-pathname: '{gs-pathname}'
168 ppa-pathname: '{ppa-pathname}'
170 name: DEPLOY_SCENARIO
171 default: '{scenario}'
172 - '{slave-label}-defaults'
173 - '{installer}-defaults'
176 - '{auto-trigger-name}'
179 - description-setter:
180 description: "POD: $NODE_NAME"
182 - project: 'compass-deploy-{pod}-daily-{stream}'
183 current-parameters: true
184 predefined-parameters: |
185 DEPLOY_SCENARIO={scenario}
186 COMPASS_OS_VERSION={os-version}
187 COMPASS_OPENSTACK_VERSION={openstack-version}
191 - project: 'functest-compass-{pod}-daily-{stream}'
192 current-parameters: false
193 predefined-parameters:
194 DEPLOY_SCENARIO={scenario}
198 build-step-failure-threshold: 'never'
199 failure-threshold: 'never'
200 unstable-threshold: 'FAILURE'
202 - project: 'yardstick-compass-{pod}-daily-{stream}'
203 current-parameters: false
204 predefined-parameters:
205 DEPLOY_SCENARIO={scenario}
209 build-step-failure-threshold: 'never'
210 failure-threshold: 'never'
211 unstable-threshold: 'FAILURE'
212 # here the stream means the SUT stream, dovetail stream is defined in its own job
213 # only run on os-(nosdn|odl_l3)-nofeature-ha scenario
214 # run with testsuite default, dovetail docker image with latest tag(Monday, Tuesday)
215 # run with testsuite proposed_tests, dovetail docker image with latest tag(Thursday, Friday)
219 - condition-kind: regex-match
220 regex: os-(nosdn|odl_l3)-nofeature-ha
222 - condition-kind: day-of-week
223 day-selector: select-days
230 - project: 'dovetail-compass-{pod}-default-{stream}'
231 current-parameters: false
232 predefined-parameters: |
234 DEPLOY_SCENARIO={scenario}
238 build-step-failure-threshold: 'never'
239 failure-threshold: 'never'
240 unstable-threshold: 'FAILURE'
244 - condition-kind: regex-match
245 regex: os-(nosdn|odl_l3)-nofeature-ha
247 - condition-kind: day-of-week
248 day-selector: select-days
255 - project: 'dovetail-compass-{pod}-proposed_tests-{stream}'
256 current-parameters: false
257 predefined-parameters:
258 DEPLOY_SCENARIO={scenario}
262 build-step-failure-threshold: 'never'
263 failure-threshold: 'never'
264 unstable-threshold: 'FAILURE'
268 - condition-kind: regex-match
269 regex: os-nosdn-nofeature-ha
273 - project: 'bottlenecks-compass-posca_stress_ping-{pod}-daily-{stream}'
274 current-parameters: false
275 predefined-parameters:
276 DEPLOY_SCENARIO={scenario}
280 build-step-failure-threshold: 'never'
281 failure-threshold: 'never'
282 unstable-threshold: 'FAILURE'
286 - condition-kind: regex-match
291 - project: 'compass-collect-logs-{pod}-daily-{stream}'
292 current-parameters: false
293 predefined-parameters:
294 DEPLOY_SCENARIO={scenario}
298 build-step-failure-threshold: 'never'
299 failure-threshold: 'never'
300 unstable-threshold: 'FAILURE'
304 name: 'compass-deploy-{pod}-daily-{stream}'
317 use-build-blocker: true
319 - 'compass-deploy-{pod}-daily-.*?'
320 - 'compass-verify-deploy-.*?'
325 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
329 - fix-workspace-permissions
335 - compass-ci-parameter:
336 installer: '{installer}'
337 gs-pathname: '{gs-pathname}'
338 ppa-pathname: '{ppa-pathname}'
339 - '{slave-label}-defaults'
340 - '{installer}-defaults'
346 - description-setter:
347 description: "POD: $NODE_NAME"
349 condition-kind: regex-match
354 !include-raw-escape: ./compass-build.sh
356 !include-raw-escape: ./compass-deploy.sh
358 condition-kind: regex-match
359 regex: (danube|euphrates)
363 !include-raw-escape: ./compass-download-artifact.sh
365 !include-raw-escape: ./compass-deploy.sh
368 name: 'compass-collect-logs-{pod}-daily-{stream}'
370 disabled: '{obj:disabled}'
381 - compass-ci-parameter:
382 installer: '{installer}'
383 gs-pathname: '{gs-pathname}'
384 ppa-pathname: '{ppa-pathname}'
385 - '{slave-label}-defaults'
386 - '{installer}-defaults'
393 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
394 - fix-workspace-permissions
397 - description-setter:
398 description: "Built on $NODE_NAME"
400 !include-raw-escape: ./compass-logs.sh
402 ########################
404 ########################
406 name: compass-ci-parameter
409 name: BUILD_DIRECTORY
410 default: $WORKSPACE/build_output
411 description: "Directory where the build artifact will be located upon the completion of the build."
414 default: '$GS_BASE{gs-pathname}'
415 description: "URL to Google Storage."
417 name: CACHE_DIRECTORY
418 default: "$HOME/opnfv/cache/$PROJECT{gs-pathname}"
419 description: "Directory where the cache to be used during the build is located."
422 default: "http://artifacts.opnfv.org/compass4nfv/package{ppa-pathname}"
425 default: "$WORKSPACE/work/repo/"
428 default: $WORKSPACE/log_output
429 description: "Directory where the logs will be located upon the completion of the collection."
431 ########################
433 ########################
435 # --------------------------
436 # ha-baremetal-centos-master
437 # --------------------------
439 name: 'compass-os-nosdn-nofeature-ha-baremetal-centos-master-trigger'
441 - timed: '0 19 * * *'
443 name: 'compass-os-nosdn-openo-ha-baremetal-centos-master-trigger'
447 name: 'compass-os-odl_l2-nofeature-ha-baremetal-centos-master-trigger'
451 name: 'compass-os-odl_l3-nofeature-ha-baremetal-centos-master-trigger'
453 - timed: '0 15 * * *'
455 name: 'compass-os-onos-nofeature-ha-baremetal-centos-master-trigger'
459 name: 'compass-os-ocl-nofeature-ha-baremetal-centos-master-trigger'
463 name: 'compass-os-onos-sfc-ha-baremetal-centos-master-trigger'
467 name: 'compass-os-odl_l2-moon-ha-baremetal-centos-master-trigger'
471 name: 'compass-os-nosdn-kvm-ha-baremetal-centos-master-trigger'
475 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-centos-master-trigger'
479 name: 'compass-os-odl-sfc-ha-baremetal-centos-master-trigger'
483 name: 'compass-k8-nosdn-nofeature-ha-baremetal-centos-master-trigger'
487 name: 'compass-os-nosdn-bar-ha-baremetal-centos-master-trigger'
489 - timed: '' # '0 19 * * *'
491 # ----------------------------
492 # noha-baremetal-centos-master
493 # ----------------------------
495 name: 'compass-os-nosdn-nofeature-noha-baremetal-centos-master-trigger'
499 name: 'compass-os-odl_l3-nofeature-noha-baremetal-centos-master-trigger'
503 name: 'compass-os-odl_l2-moon-noha-baremetal-centos-master-trigger'
507 name: 'compass-os-nosdn-kvm-noha-baremetal-centos-master-trigger'
511 name: 'compass-os-odl-sfc-noha-baremetal-centos-master-trigger'
515 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-centos-master-trigger'
519 # --------------------------
520 # ha-huawei-pod7-danube
521 # --------------------------
523 name: 'compass-os-nosdn-nofeature-ha-huawei-pod7-danube-trigger'
525 - timed: '' # '0 19 * * *'
527 name: 'compass-os-nosdn-openo-ha-huawei-pod7-danube-trigger'
531 name: 'compass-os-odl_l2-nofeature-ha-huawei-pod7-danube-trigger'
533 - timed: '' # '0 21 * * *'
535 name: 'compass-os-odl_l3-nofeature-ha-huawei-pod7-danube-trigger'
537 - timed: '' # '0 15 * * *'
539 name: 'compass-os-onos-nofeature-ha-huawei-pod7-danube-trigger'
543 name: 'compass-os-ocl-nofeature-ha-huawei-pod7-danube-trigger'
547 name: 'compass-os-onos-sfc-ha-huawei-pod7-danube-trigger'
551 name: 'compass-os-odl_l2-moon-ha-huawei-pod7-danube-trigger'
555 name: 'compass-os-nosdn-kvm-ha-huawei-pod7-danube-trigger'
559 name: 'compass-os-nosdn-ovs_dpdk-ha-huawei-pod7-danube-trigger'
563 name: 'compass-os-odl-sfc-ha-huawei-pod7-danube-trigger'
567 name: 'compass-k8-nosdn-nofeature-ha-huawei-pod7-danube-trigger'
571 name: 'compass-os-nosdn-bar-ha-huawei-pod7-danube-trigger'
573 - timed: '' # '0 19 * * *'
575 # ----------------------------
576 # noha-huawei-pod7-danube
577 # ----------------------------
579 name: 'compass-os-nosdn-nofeature-noha-huawei-pod7-danube-trigger'
583 name: 'compass-os-odl_l3-nofeature-noha-huawei-pod7-danube-trigger'
587 name: 'compass-os-odl_l2-moon-noha-huawei-pod7-danube-trigger'
591 name: 'compass-os-nosdn-kvm-noha-huawei-pod7-danube-trigger'
595 name: 'compass-os-odl-sfc-noha-huawei-pod7-danube-trigger'
599 name: 'compass-os-nosdn-ovs_dpdk-noha-huawei-pod7-danube-trigger'
603 # -------------------
604 # ha-baremetal-master
605 # -------------------
607 name: 'compass-os-nosdn-nofeature-ha-baremetal-master-trigger'
609 - timed: '0 20 2-30/2 * *'
611 name: 'compass-os-nosdn-openo-ha-baremetal-master-trigger'
615 name: 'compass-os-odl_l2-nofeature-ha-baremetal-master-trigger'
619 name: 'compass-os-odl_l3-nofeature-ha-baremetal-master-trigger'
621 - timed: '0 18 1-29/2 * *'
623 name: 'compass-os-onos-nofeature-ha-baremetal-master-trigger'
627 name: 'compass-os-ocl-nofeature-ha-baremetal-master-trigger'
631 name: 'compass-os-onos-sfc-ha-baremetal-master-trigger'
635 name: 'compass-os-odl_l2-moon-ha-baremetal-master-trigger'
637 - timed: '0 12 2-30/2 * *'
639 name: 'compass-os-nosdn-kvm-ha-baremetal-master-trigger'
641 - timed: '0 14 1-29/2 * *'
643 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-master-trigger'
645 - timed: '0 16 2-30/2 * *'
647 name: 'compass-k8-nosdn-nofeature-ha-baremetal-master-trigger'
651 name: 'compass-os-odl-sfc-ha-baremetal-master-trigger'
653 - timed: '0 10 1-29/2 * *'
655 name: 'compass-os-nosdn-bar-ha-baremetal-master-trigger'
657 - timed: '0 2 2-30/2 * *'
659 # ---------------------
660 # noha-baremetal-master
661 # ---------------------
663 name: 'compass-os-nosdn-kvm-noha-baremetal-master-trigger'
667 name: 'compass-os-nosdn-nofeature-noha-baremetal-master-trigger'
671 name: 'compass-os-odl_l3-nofeature-noha-baremetal-master-trigger'
675 name: 'compass-os-odl_l2-moon-noha-baremetal-master-trigger'
679 name: 'compass-os-odl-sfc-noha-baremetal-master-trigger'
683 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-master-trigger'
687 # -------------------
688 # ha-baremetal-euphrates
689 # -------------------
691 name: 'compass-os-nosdn-nofeature-ha-baremetal-euphrates-trigger'
693 - timed: '0 1 1-29/2 * *'
695 name: 'compass-os-nosdn-openo-ha-baremetal-euphrates-trigger'
699 name: 'compass-os-odl_l2-nofeature-ha-baremetal-euphrates-trigger'
703 name: 'compass-os-odl_l3-nofeature-ha-baremetal-euphrates-trigger'
705 - timed: '0 21 2-30/2 * *'
707 name: 'compass-os-onos-nofeature-ha-baremetal-euphrates-trigger'
711 name: 'compass-os-ocl-nofeature-ha-baremetal-euphrates-trigger'
715 name: 'compass-os-onos-sfc-ha-baremetal-euphrates-trigger'
719 name: 'compass-os-odl_l2-moon-ha-baremetal-euphrates-trigger'
721 - timed: '0 5 1-29/2 * *'
723 name: 'compass-os-nosdn-kvm-ha-baremetal-euphrates-trigger'
725 - timed: '0 13 2-30/2 * *'
727 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-euphrates-trigger'
729 - timed: '0 9 1-29/2 * *'
731 name: 'compass-k8-nosdn-nofeature-ha-baremetal-euphrates-trigger'
735 name: 'compass-os-odl-sfc-ha-baremetal-euphrates-trigger'
737 - timed: '0 17 2-30/2 * *'
739 name: 'compass-os-nosdn-bar-ha-baremetal-euphrates-trigger'
741 - timed: '0 21 1-29/2 * *'
743 # ---------------------
744 # noha-baremetal-euphrates
745 # ---------------------
747 name: 'compass-os-nosdn-kvm-noha-baremetal-euphrates-trigger'
751 name: 'compass-os-nosdn-nofeature-noha-baremetal-euphrates-trigger'
755 name: 'compass-os-odl_l3-nofeature-noha-baremetal-euphrates-trigger'
759 name: 'compass-os-odl_l2-moon-noha-baremetal-euphrates-trigger'
763 name: 'compass-os-odl-sfc-noha-baremetal-euphrates-trigger'
767 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-euphrates-trigger'
775 name: 'compass-os-nosdn-nofeature-ha-virtual-master-trigger'
777 - timed: '0 21 * * *'
779 name: 'compass-os-nosdn-openo-ha-virtual-master-trigger'
783 name: 'compass-os-odl_l2-nofeature-ha-virtual-master-trigger'
787 name: 'compass-os-odl_l3-nofeature-ha-virtual-master-trigger'
789 - timed: '0 19 2-30/2 * *'
791 name: 'compass-os-onos-nofeature-ha-virtual-master-trigger'
795 name: 'compass-os-ocl-nofeature-ha-virtual-master-trigger'
799 name: 'compass-os-onos-sfc-ha-virtual-master-trigger'
803 name: 'compass-os-odl_l2-moon-ha-virtual-master-trigger'
805 - timed: '30 12 1-29/2 * *'
807 name: 'compass-os-nosdn-kvm-ha-virtual-master-trigger'
809 - timed: '0 13 1-29/2 * *'
811 name: 'compass-os-nosdn-ovs_dpdk-ha-virtual-master-trigger'
813 - timed: '0 17 2-30/2 * *'
815 name: 'compass-k8-nosdn-nofeature-ha-virtual-master-trigger'
819 name: 'compass-os-odl-sfc-ha-virtual-master-trigger'
821 - timed: '0 16 2-30/2 * *'
823 name: 'compass-os-nosdn-bar-ha-virtual-master-trigger'
825 - timed: '0 17 1-29/2 * *'
827 # -------------------
828 # noha-virtual-master
829 # -------------------
831 name: 'compass-os-nosdn-kvm-noha-virtual-master-trigger'
833 - timed: '30 13 1-29/2 * *'
835 name: 'compass-os-nosdn-nofeature-noha-virtual-master-trigger'
837 - timed: '0 14 2-30/2 * *'
839 name: 'compass-os-odl_l3-nofeature-noha-virtual-master-trigger'
841 - timed: '0 15 1-29/2 * *'
843 name: 'compass-os-odl_l2-moon-noha-virtual-master-trigger'
845 - timed: '0 18 2-30/2 * *'
847 name: 'compass-os-odl-sfc-noha-virtual-master-trigger'
849 - timed: '0 20 1-29/2 * *'
851 name: 'compass-os-nosdn-ovs_dpdk-noha-virtual-master-trigger'
853 - timed: '0 11 2-30/2 * *'
856 # ha-virtual-euphrates
859 name: 'compass-os-nosdn-nofeature-ha-virtual-euphrates-trigger'
861 - timed: '0 23 1-29/2 * *'
863 name: 'compass-os-nosdn-openo-ha-virtual-euphrates-trigger'
867 name: 'compass-os-odl_l2-nofeature-ha-virtual-euphrates-trigger'
871 name: 'compass-os-odl_l3-nofeature-ha-virtual-euphrates-trigger'
873 - timed: '0 22 2-30/2 * *'
875 name: 'compass-os-onos-nofeature-ha-virtual-euphrates-trigger'
879 name: 'compass-os-ocl-nofeature-ha-virtual-euphrates-trigger'
883 name: 'compass-os-onos-sfc-ha-virtual-euphrates-trigger'
887 name: 'compass-os-odl_l2-moon-ha-virtual-euphrates-trigger'
889 - timed: '0 20 1-29/2 * *'
891 name: 'compass-os-nosdn-kvm-ha-virtual-euphrates-trigger'
893 - timed: '0 16 2-30/2 * *'
895 name: 'compass-os-nosdn-ovs_dpdk-ha-virtual-euphrates-trigger'
897 - timed: '0 14 1-29/2 * *'
899 name: 'compass-os-odl-sfc-ha-virtual-euphrates-trigger'
901 - timed: '0 18 2-30/2 * *'
903 name: 'compass-k8-nosdn-nofeature-ha-virtual-euphrates-trigger'
905 - timed: '5 1 2-30/2 * *'
907 name: 'compass-os-nosdn-bar-ha-virtual-euphrates-trigger'
909 - timed: '0 19 1-29/2 * *'
911 # -------------------
912 # noha-virtual-euphrates
913 # -------------------
915 name: 'compass-os-nosdn-kvm-noha-virtual-euphrates-trigger'
917 - timed: '0 15 1-29/2 * *'
919 name: 'compass-os-nosdn-nofeature-noha-virtual-euphrates-trigger'
921 - timed: '0 17 2-30/2 * *'
923 name: 'compass-os-odl_l3-nofeature-noha-virtual-euphrates-trigger'
925 - timed: '0 23 1-29/2 * *'
927 name: 'compass-os-odl_l2-moon-noha-virtual-euphrates-trigger'
929 - timed: '0 21 2-30/2 * *'
931 name: 'compass-os-odl-sfc-noha-virtual-euphrates-trigger'
933 - timed: '0 19 1-29/2 * *'
935 name: 'compass-os-nosdn-ovs_dpdk-noha-virtual-euphrates-trigger'
937 - timed: '0 12 2-30/2 * *'