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-pod8'
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 - 'compass-{scenario}-{pod}-daily-{stream}'
126 - 'compass-deploy-{pod}-daily-{stream}'
128 ########################
130 ########################
132 name: 'compass-{scenario}-{pod}-daily-{stream}'
134 disabled: '{obj:disabled}'
145 use-build-blocker: true
147 - 'compass-os-.*?-{pod}-daily-.*?'
148 - 'compass-os-.*?-baremetal-daily-.*?'
149 - 'compass-verify-[^-]*-[^-]*'
154 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
155 - fix-workspace-permissions
161 - compass-ci-parameter:
162 installer: '{installer}'
163 gs-pathname: '{gs-pathname}'
164 ppa-pathname: '{ppa-pathname}'
166 name: DEPLOY_SCENARIO
167 default: '{scenario}'
168 - '{slave-label}-defaults'
169 - '{installer}-defaults'
172 - '{auto-trigger-name}'
175 - description-setter:
176 description: "POD: $NODE_NAME"
178 - project: 'compass-deploy-{pod}-daily-{stream}'
179 current-parameters: true
180 predefined-parameters: |
181 DEPLOY_SCENARIO={scenario}
182 COMPASS_OS_VERSION={os-version}
183 COMPASS_OPENSTACK_VERSION={openstack-version}
187 - project: 'functest-compass-{pod}-daily-{stream}'
188 current-parameters: false
189 predefined-parameters:
190 DEPLOY_SCENARIO={scenario}
194 build-step-failure-threshold: 'never'
195 failure-threshold: 'never'
196 unstable-threshold: 'FAILURE'
198 - project: 'yardstick-compass-{pod}-daily-{stream}'
199 current-parameters: false
200 predefined-parameters:
201 DEPLOY_SCENARIO={scenario}
205 build-step-failure-threshold: 'never'
206 failure-threshold: 'never'
207 unstable-threshold: 'FAILURE'
208 # dovetail only master by now, not sync with A/B/C branches
209 # here the stream means the SUT stream, dovetail stream is defined in its own job
210 # only run on os-(nosdn|odl_l2|odl_l3)-nofeature-ha scenario
211 # run against SUT master/euphrates branch, dovetail docker image with latest tag(Monday, Tuesday)
212 # run against SUT master/euphrates branch, dovetail docker image with cvp.X.X.X tag(Thursday, Friday)
213 # run against SUT danube branch, dovetail docker image with cvp.X.X.X tag on huawei-pod7
217 - condition-kind: regex-match
218 regex: os-(nosdn|odl_l3)-nofeature-ha
220 - condition-kind: day-of-week
221 day-selector: select-days
228 - project: 'dovetail-compass-{pod}-proposed_tests-{stream}'
229 current-parameters: false
230 predefined-parameters: |
232 DEPLOY_SCENARIO={scenario}
236 build-step-failure-threshold: 'never'
237 failure-threshold: 'never'
238 unstable-threshold: 'FAILURE'
242 - condition-kind: regex-match
243 regex: os-(nosdn|odl_l3)-nofeature-ha
245 - condition-kind: day-of-week
246 day-selector: select-days
253 - project: 'dovetail-compass-{pod}-proposed_tests-{stream}'
254 current-parameters: false
255 predefined-parameters:
256 DEPLOY_SCENARIO={scenario}
260 build-step-failure-threshold: 'never'
261 failure-threshold: 'never'
262 unstable-threshold: 'FAILURE'
266 - condition-kind: regex-match
267 regex: os-nosdn-nofeature-ha
271 - project: 'bottlenecks-compass-posca_stress_ping-{pod}-daily-{stream}'
272 current-parameters: false
273 predefined-parameters:
274 DEPLOY_SCENARIO={scenario}
278 build-step-failure-threshold: 'never'
279 failure-threshold: 'never'
280 unstable-threshold: 'FAILURE'
283 name: 'compass-deploy-{pod}-daily-{stream}'
296 use-build-blocker: true
298 - 'compass-deploy-{pod}-daily-.*?'
299 - 'compass-verify-deploy-.*?'
304 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
308 - fix-workspace-permissions
314 - compass-ci-parameter:
315 installer: '{installer}'
316 gs-pathname: '{gs-pathname}'
317 ppa-pathname: '{ppa-pathname}'
318 - '{slave-label}-defaults'
319 - '{installer}-defaults'
325 - description-setter:
326 description: "POD: $NODE_NAME"
328 condition-kind: regex-match
333 !include-raw-escape: ./compass-build.sh
335 !include-raw-escape: ./compass-deploy.sh
337 condition-kind: regex-match
338 regex: (danube|euphrates)
342 !include-raw-escape: ./compass-download-artifact.sh
344 !include-raw-escape: ./compass-deploy.sh
346 ########################
348 ########################
350 name: compass-ci-parameter
353 name: BUILD_DIRECTORY
354 default: $WORKSPACE/build_output
355 description: "Directory where the build artifact will be located upon the completion of the build."
358 default: '$GS_BASE{gs-pathname}'
359 description: "URL to Google Storage."
361 name: CACHE_DIRECTORY
362 default: "$HOME/opnfv/cache/$PROJECT{gs-pathname}"
363 description: "Directory where the cache to be used during the build is located."
366 default: "http://artifacts.opnfv.org/compass4nfv/package{ppa-pathname}"
369 default: "$WORKSPACE/work/repo/"
371 ########################
373 ########################
375 # --------------------------
376 # ha-baremetal-centos-master
377 # --------------------------
379 name: 'compass-os-nosdn-nofeature-ha-baremetal-centos-master-trigger'
381 - timed: '0 19 * * *'
383 name: 'compass-os-nosdn-openo-ha-baremetal-centos-master-trigger'
387 name: 'compass-os-odl_l2-nofeature-ha-baremetal-centos-master-trigger'
391 name: 'compass-os-odl_l3-nofeature-ha-baremetal-centos-master-trigger'
393 - timed: '0 15 * * *'
395 name: 'compass-os-onos-nofeature-ha-baremetal-centos-master-trigger'
399 name: 'compass-os-ocl-nofeature-ha-baremetal-centos-master-trigger'
403 name: 'compass-os-onos-sfc-ha-baremetal-centos-master-trigger'
407 name: 'compass-os-odl_l2-moon-ha-baremetal-centos-master-trigger'
411 name: 'compass-os-nosdn-kvm-ha-baremetal-centos-master-trigger'
415 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-centos-master-trigger'
419 name: 'compass-os-odl-sfc-ha-baremetal-centos-master-trigger'
423 name: 'compass-k8-nosdn-nofeature-ha-baremetal-centos-master-trigger'
427 # ----------------------------
428 # noha-baremetal-centos-master
429 # ----------------------------
431 name: 'compass-os-nosdn-nofeature-noha-baremetal-centos-master-trigger'
435 name: 'compass-os-odl_l3-nofeature-noha-baremetal-centos-master-trigger'
439 name: 'compass-os-odl_l2-moon-noha-baremetal-centos-master-trigger'
443 name: 'compass-os-nosdn-kvm-noha-baremetal-centos-master-trigger'
447 name: 'compass-os-odl-sfc-noha-baremetal-centos-master-trigger'
451 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-centos-master-trigger'
455 # --------------------------
456 # ha-huawei-pod7-danube
457 # --------------------------
459 name: 'compass-os-nosdn-nofeature-ha-huawei-pod7-danube-trigger'
461 - timed: '' # '0 19 * * *'
463 name: 'compass-os-nosdn-openo-ha-huawei-pod7-danube-trigger'
467 name: 'compass-os-odl_l2-nofeature-ha-huawei-pod7-danube-trigger'
469 - timed: '' # '0 21 * * *'
471 name: 'compass-os-odl_l3-nofeature-ha-huawei-pod7-danube-trigger'
473 - timed: '' # '0 15 * * *'
475 name: 'compass-os-onos-nofeature-ha-huawei-pod7-danube-trigger'
479 name: 'compass-os-ocl-nofeature-ha-huawei-pod7-danube-trigger'
483 name: 'compass-os-onos-sfc-ha-huawei-pod7-danube-trigger'
487 name: 'compass-os-odl_l2-moon-ha-huawei-pod7-danube-trigger'
491 name: 'compass-os-nosdn-kvm-ha-huawei-pod7-danube-trigger'
495 name: 'compass-os-nosdn-ovs_dpdk-ha-huawei-pod7-danube-trigger'
499 name: 'compass-os-odl-sfc-ha-huawei-pod7-danube-trigger'
503 name: 'compass-k8-nosdn-nofeature-ha-huawei-pod7-danube-trigger'
507 # ----------------------------
508 # noha-huawei-pod7-danube
509 # ----------------------------
511 name: 'compass-os-nosdn-nofeature-noha-huawei-pod7-danube-trigger'
515 name: 'compass-os-odl_l3-nofeature-noha-huawei-pod7-danube-trigger'
519 name: 'compass-os-odl_l2-moon-noha-huawei-pod7-danube-trigger'
523 name: 'compass-os-nosdn-kvm-noha-huawei-pod7-danube-trigger'
527 name: 'compass-os-odl-sfc-noha-huawei-pod7-danube-trigger'
531 name: 'compass-os-nosdn-ovs_dpdk-noha-huawei-pod7-danube-trigger'
535 # -------------------
536 # ha-baremetal-master
537 # -------------------
539 name: 'compass-os-nosdn-nofeature-ha-baremetal-master-trigger'
541 - timed: '0 20 * * *'
543 name: 'compass-os-nosdn-openo-ha-baremetal-master-trigger'
547 name: 'compass-os-odl_l2-nofeature-ha-baremetal-master-trigger'
551 name: 'compass-os-odl_l3-nofeature-ha-baremetal-master-trigger'
553 - timed: '0 18 * * *'
555 name: 'compass-os-onos-nofeature-ha-baremetal-master-trigger'
559 name: 'compass-os-ocl-nofeature-ha-baremetal-master-trigger'
563 name: 'compass-os-onos-sfc-ha-baremetal-master-trigger'
567 name: 'compass-os-odl_l2-moon-ha-baremetal-master-trigger'
569 - timed: '0 12 * * *'
571 name: 'compass-os-nosdn-kvm-ha-baremetal-master-trigger'
573 - timed: '0 14 * * *'
575 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-master-trigger'
577 - timed: '0 16 * * *'
579 name: 'compass-k8-nosdn-nofeature-ha-baremetal-master-trigger'
583 name: 'compass-os-odl-sfc-ha-baremetal-master-trigger'
585 - timed: '0 10 * * *'
587 # ---------------------
588 # noha-baremetal-master
589 # ---------------------
591 name: 'compass-os-nosdn-kvm-noha-baremetal-master-trigger'
595 name: 'compass-os-nosdn-nofeature-noha-baremetal-master-trigger'
599 name: 'compass-os-odl_l3-nofeature-noha-baremetal-master-trigger'
603 name: 'compass-os-odl_l2-moon-noha-baremetal-master-trigger'
607 name: 'compass-os-odl-sfc-noha-baremetal-master-trigger'
611 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-master-trigger'
615 # -------------------
616 # ha-baremetal-euphrates
617 # -------------------
619 name: 'compass-os-nosdn-nofeature-ha-baremetal-euphrates-trigger'
623 name: 'compass-os-nosdn-openo-ha-baremetal-euphrates-trigger'
627 name: 'compass-os-odl_l2-nofeature-ha-baremetal-euphrates-trigger'
631 name: 'compass-os-odl_l3-nofeature-ha-baremetal-euphrates-trigger'
633 - timed: '0 21 * * *'
635 name: 'compass-os-onos-nofeature-ha-baremetal-euphrates-trigger'
639 name: 'compass-os-ocl-nofeature-ha-baremetal-euphrates-trigger'
643 name: 'compass-os-onos-sfc-ha-baremetal-euphrates-trigger'
647 name: 'compass-os-odl_l2-moon-ha-baremetal-euphrates-trigger'
651 name: 'compass-os-nosdn-kvm-ha-baremetal-euphrates-trigger'
653 - timed: '0 13 * * *'
655 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-euphrates-trigger'
659 name: 'compass-k8-nosdn-nofeature-ha-baremetal-euphrates-trigger'
663 name: 'compass-os-odl-sfc-ha-baremetal-euphrates-trigger'
665 - timed: '0 17 * * *'
667 # ---------------------
668 # noha-baremetal-euphrates
669 # ---------------------
671 name: 'compass-os-nosdn-kvm-noha-baremetal-euphrates-trigger'
675 name: 'compass-os-nosdn-nofeature-noha-baremetal-euphrates-trigger'
679 name: 'compass-os-odl_l3-nofeature-noha-baremetal-euphrates-trigger'
683 name: 'compass-os-odl_l2-moon-noha-baremetal-euphrates-trigger'
687 name: 'compass-os-odl-sfc-noha-baremetal-euphrates-trigger'
691 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-euphrates-trigger'
699 name: 'compass-os-nosdn-nofeature-ha-virtual-master-trigger'
701 - timed: '0 21 * * *'
703 name: 'compass-os-nosdn-openo-ha-virtual-master-trigger'
707 name: 'compass-os-odl_l2-nofeature-ha-virtual-master-trigger'
711 name: 'compass-os-odl_l3-nofeature-ha-virtual-master-trigger'
713 - timed: '0 19 * * *'
715 name: 'compass-os-onos-nofeature-ha-virtual-master-trigger'
719 name: 'compass-os-ocl-nofeature-ha-virtual-master-trigger'
723 name: 'compass-os-onos-sfc-ha-virtual-master-trigger'
727 name: 'compass-os-odl_l2-moon-ha-virtual-master-trigger'
729 - timed: '30 12 * * *'
731 name: 'compass-os-nosdn-kvm-ha-virtual-master-trigger'
733 - timed: '0 13 * * *'
735 name: 'compass-os-nosdn-ovs_dpdk-ha-virtual-master-trigger'
737 - timed: '0 17 * * *'
739 name: 'compass-k8-nosdn-nofeature-ha-virtual-master-trigger'
743 name: 'compass-os-odl-sfc-ha-virtual-master-trigger'
745 - timed: '0 16 * * *'
747 # -------------------
748 # noha-virtual-master
749 # -------------------
751 name: 'compass-os-nosdn-kvm-noha-virtual-master-trigger'
753 - timed: '30 13 * * *'
755 name: 'compass-os-nosdn-nofeature-noha-virtual-master-trigger'
757 - timed: '0 14 * * *'
759 name: 'compass-os-odl_l3-nofeature-noha-virtual-master-trigger'
761 - timed: '0 15 * * *'
763 name: 'compass-os-odl_l2-moon-noha-virtual-master-trigger'
765 - timed: '0 18 * * *'
767 name: 'compass-os-odl-sfc-noha-virtual-master-trigger'
769 - timed: '0 20 * * *'
771 name: 'compass-os-nosdn-ovs_dpdk-noha-virtual-master-trigger'
773 - timed: '0 11 * * *'
776 # ha-virtual-euphrates
779 name: 'compass-os-nosdn-nofeature-ha-virtual-euphrates-trigger'
781 - timed: '0 23 * * *'
783 name: 'compass-os-nosdn-openo-ha-virtual-euphrates-trigger'
787 name: 'compass-os-odl_l2-nofeature-ha-virtual-euphrates-trigger'
791 name: 'compass-os-odl_l3-nofeature-ha-virtual-euphrates-trigger'
793 - timed: '0 22 * * *'
795 name: 'compass-os-onos-nofeature-ha-virtual-euphrates-trigger'
799 name: 'compass-os-ocl-nofeature-ha-virtual-euphrates-trigger'
803 name: 'compass-os-onos-sfc-ha-virtual-euphrates-trigger'
807 name: 'compass-os-odl_l2-moon-ha-virtual-euphrates-trigger'
809 - timed: '0 20 * * *'
811 name: 'compass-os-nosdn-kvm-ha-virtual-euphrates-trigger'
813 - timed: '0 16 * * *'
815 name: 'compass-os-nosdn-ovs_dpdk-ha-virtual-euphrates-trigger'
817 - timed: '0 14 * * *'
819 name: 'compass-os-odl-sfc-ha-virtual-euphrates-trigger'
821 - timed: '0 18 * * *'
823 name: 'compass-k8-nosdn-nofeature-ha-virtual-euphrates-trigger'
827 # -------------------
828 # noha-virtual-euphrates
829 # -------------------
831 name: 'compass-os-nosdn-kvm-noha-virtual-euphrates-trigger'
833 - timed: '0 15 * * *'
835 name: 'compass-os-nosdn-nofeature-noha-virtual-euphrates-trigger'
837 - timed: '0 17 * * *'
839 name: 'compass-os-odl_l3-nofeature-noha-virtual-euphrates-trigger'
841 - timed: '0 23 * * *'
843 name: 'compass-os-odl_l2-moon-noha-virtual-euphrates-trigger'
845 - timed: '0 21 * * *'
847 name: 'compass-os-odl-sfc-noha-virtual-euphrates-trigger'
849 - timed: '0 19 * * *'
851 name: 'compass-os-nosdn-ovs_dpdk-noha-virtual-euphrates-trigger'
853 - timed: '0 12 * * *'