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 # dovetail only master by now, not sync with A/B/C branches
213 # here the stream means the SUT stream, dovetail stream is defined in its own job
214 # only run on os-(nosdn|odl_l2|odl_l3)-nofeature-ha scenario
215 # run against SUT master/euphrates branch, dovetail docker image with latest tag(Monday, Tuesday)
216 # run against SUT master/euphrates branch, dovetail docker image with cvp.X.X.X tag(Thursday, Friday)
217 # run against SUT danube branch, dovetail docker image with cvp.X.X.X tag on huawei-pod7
221 - condition-kind: regex-match
222 regex: os-(nosdn|odl_l3)-nofeature-ha
224 - condition-kind: day-of-week
225 day-selector: select-days
232 - project: 'dovetail-compass-{pod}-proposed_tests-{stream}'
233 current-parameters: false
234 predefined-parameters: |
236 DEPLOY_SCENARIO={scenario}
240 build-step-failure-threshold: 'never'
241 failure-threshold: 'never'
242 unstable-threshold: 'FAILURE'
246 - condition-kind: regex-match
247 regex: os-(nosdn|odl_l3)-nofeature-ha
249 - condition-kind: day-of-week
250 day-selector: select-days
257 - project: 'dovetail-compass-{pod}-proposed_tests-{stream}'
258 current-parameters: false
259 predefined-parameters:
260 DEPLOY_SCENARIO={scenario}
264 build-step-failure-threshold: 'never'
265 failure-threshold: 'never'
266 unstable-threshold: 'FAILURE'
270 - condition-kind: regex-match
271 regex: os-nosdn-nofeature-ha
275 - project: 'bottlenecks-compass-posca_stress_ping-{pod}-daily-{stream}'
276 current-parameters: false
277 predefined-parameters:
278 DEPLOY_SCENARIO={scenario}
282 build-step-failure-threshold: 'never'
283 failure-threshold: 'never'
284 unstable-threshold: 'FAILURE'
288 - condition-kind: regex-match
293 - project: 'compass-collect-logs-{pod}-daily-{stream}'
294 current-parameters: false
295 predefined-parameters:
296 DEPLOY_SCENARIO={scenario}
300 build-step-failure-threshold: 'never'
301 failure-threshold: 'never'
302 unstable-threshold: 'FAILURE'
306 name: 'compass-deploy-{pod}-daily-{stream}'
319 use-build-blocker: true
321 - 'compass-deploy-{pod}-daily-.*?'
322 - 'compass-verify-deploy-.*?'
327 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
331 - fix-workspace-permissions
337 - compass-ci-parameter:
338 installer: '{installer}'
339 gs-pathname: '{gs-pathname}'
340 ppa-pathname: '{ppa-pathname}'
341 - '{slave-label}-defaults'
342 - '{installer}-defaults'
348 - description-setter:
349 description: "POD: $NODE_NAME"
351 condition-kind: regex-match
356 !include-raw-escape: ./compass-build.sh
358 !include-raw-escape: ./compass-deploy.sh
360 condition-kind: regex-match
361 regex: (danube|euphrates)
365 !include-raw-escape: ./compass-download-artifact.sh
367 !include-raw-escape: ./compass-deploy.sh
370 name: 'compass-collect-logs-{pod}-daily-{stream}'
372 disabled: '{obj:disabled}'
383 - compass-ci-parameter:
384 installer: '{installer}'
385 gs-pathname: '{gs-pathname}'
386 ppa-pathname: '{ppa-pathname}'
387 - '{slave-label}-defaults'
388 - '{installer}-defaults'
395 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
396 - fix-workspace-permissions
399 - description-setter:
400 description: "Built on $NODE_NAME"
402 !include-raw-escape: ./compass-logs.sh
404 ########################
406 ########################
408 name: compass-ci-parameter
411 name: BUILD_DIRECTORY
412 default: $WORKSPACE/build_output
413 description: "Directory where the build artifact will be located upon the completion of the build."
416 default: '$GS_BASE{gs-pathname}'
417 description: "URL to Google Storage."
419 name: CACHE_DIRECTORY
420 default: "$HOME/opnfv/cache/$PROJECT{gs-pathname}"
421 description: "Directory where the cache to be used during the build is located."
424 default: "http://artifacts.opnfv.org/compass4nfv/package{ppa-pathname}"
427 default: "$WORKSPACE/work/repo/"
430 default: $WORKSPACE/log_output
431 description: "Directory where the logs will be located upon the completion of the collection."
433 ########################
435 ########################
437 # --------------------------
438 # ha-baremetal-centos-master
439 # --------------------------
441 name: 'compass-os-nosdn-nofeature-ha-baremetal-centos-master-trigger'
443 - timed: '0 19 * * *'
445 name: 'compass-os-nosdn-openo-ha-baremetal-centos-master-trigger'
449 name: 'compass-os-odl_l2-nofeature-ha-baremetal-centos-master-trigger'
453 name: 'compass-os-odl_l3-nofeature-ha-baremetal-centos-master-trigger'
455 - timed: '0 15 * * *'
457 name: 'compass-os-onos-nofeature-ha-baremetal-centos-master-trigger'
461 name: 'compass-os-ocl-nofeature-ha-baremetal-centos-master-trigger'
465 name: 'compass-os-onos-sfc-ha-baremetal-centos-master-trigger'
469 name: 'compass-os-odl_l2-moon-ha-baremetal-centos-master-trigger'
473 name: 'compass-os-nosdn-kvm-ha-baremetal-centos-master-trigger'
477 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-centos-master-trigger'
481 name: 'compass-os-odl-sfc-ha-baremetal-centos-master-trigger'
485 name: 'compass-k8-nosdn-nofeature-ha-baremetal-centos-master-trigger'
489 name: 'compass-os-nosdn-bar-ha-baremetal-centos-master-trigger'
491 - timed: '' # '0 19 * * *'
493 # ----------------------------
494 # noha-baremetal-centos-master
495 # ----------------------------
497 name: 'compass-os-nosdn-nofeature-noha-baremetal-centos-master-trigger'
501 name: 'compass-os-odl_l3-nofeature-noha-baremetal-centos-master-trigger'
505 name: 'compass-os-odl_l2-moon-noha-baremetal-centos-master-trigger'
509 name: 'compass-os-nosdn-kvm-noha-baremetal-centos-master-trigger'
513 name: 'compass-os-odl-sfc-noha-baremetal-centos-master-trigger'
517 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-centos-master-trigger'
521 # --------------------------
522 # ha-huawei-pod7-danube
523 # --------------------------
525 name: 'compass-os-nosdn-nofeature-ha-huawei-pod7-danube-trigger'
527 - timed: '' # '0 19 * * *'
529 name: 'compass-os-nosdn-openo-ha-huawei-pod7-danube-trigger'
533 name: 'compass-os-odl_l2-nofeature-ha-huawei-pod7-danube-trigger'
535 - timed: '' # '0 21 * * *'
537 name: 'compass-os-odl_l3-nofeature-ha-huawei-pod7-danube-trigger'
539 - timed: '' # '0 15 * * *'
541 name: 'compass-os-onos-nofeature-ha-huawei-pod7-danube-trigger'
545 name: 'compass-os-ocl-nofeature-ha-huawei-pod7-danube-trigger'
549 name: 'compass-os-onos-sfc-ha-huawei-pod7-danube-trigger'
553 name: 'compass-os-odl_l2-moon-ha-huawei-pod7-danube-trigger'
557 name: 'compass-os-nosdn-kvm-ha-huawei-pod7-danube-trigger'
561 name: 'compass-os-nosdn-ovs_dpdk-ha-huawei-pod7-danube-trigger'
565 name: 'compass-os-odl-sfc-ha-huawei-pod7-danube-trigger'
569 name: 'compass-k8-nosdn-nofeature-ha-huawei-pod7-danube-trigger'
573 name: 'compass-os-nosdn-bar-ha-huawei-pod7-danube-trigger'
575 - timed: '' # '0 19 * * *'
577 # ----------------------------
578 # noha-huawei-pod7-danube
579 # ----------------------------
581 name: 'compass-os-nosdn-nofeature-noha-huawei-pod7-danube-trigger'
585 name: 'compass-os-odl_l3-nofeature-noha-huawei-pod7-danube-trigger'
589 name: 'compass-os-odl_l2-moon-noha-huawei-pod7-danube-trigger'
593 name: 'compass-os-nosdn-kvm-noha-huawei-pod7-danube-trigger'
597 name: 'compass-os-odl-sfc-noha-huawei-pod7-danube-trigger'
601 name: 'compass-os-nosdn-ovs_dpdk-noha-huawei-pod7-danube-trigger'
605 # -------------------
606 # ha-baremetal-master
607 # -------------------
609 name: 'compass-os-nosdn-nofeature-ha-baremetal-master-trigger'
611 - timed: '0 20 2-30/2 * *'
613 name: 'compass-os-nosdn-openo-ha-baremetal-master-trigger'
617 name: 'compass-os-odl_l2-nofeature-ha-baremetal-master-trigger'
621 name: 'compass-os-odl_l3-nofeature-ha-baremetal-master-trigger'
623 - timed: '0 18 1-29/2 * *'
625 name: 'compass-os-onos-nofeature-ha-baremetal-master-trigger'
629 name: 'compass-os-ocl-nofeature-ha-baremetal-master-trigger'
633 name: 'compass-os-onos-sfc-ha-baremetal-master-trigger'
637 name: 'compass-os-odl_l2-moon-ha-baremetal-master-trigger'
639 - timed: '0 12 2-30/2 * *'
641 name: 'compass-os-nosdn-kvm-ha-baremetal-master-trigger'
643 - timed: '0 14 1-29/2 * *'
645 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-master-trigger'
647 - timed: '0 16 2-30/2 * *'
649 name: 'compass-k8-nosdn-nofeature-ha-baremetal-master-trigger'
653 name: 'compass-os-odl-sfc-ha-baremetal-master-trigger'
655 - timed: '0 10 1-29/2 * *'
657 name: 'compass-os-nosdn-bar-ha-baremetal-master-trigger'
659 - timed: '0 2 2-30/2 * *'
661 # ---------------------
662 # noha-baremetal-master
663 # ---------------------
665 name: 'compass-os-nosdn-kvm-noha-baremetal-master-trigger'
669 name: 'compass-os-nosdn-nofeature-noha-baremetal-master-trigger'
673 name: 'compass-os-odl_l3-nofeature-noha-baremetal-master-trigger'
677 name: 'compass-os-odl_l2-moon-noha-baremetal-master-trigger'
681 name: 'compass-os-odl-sfc-noha-baremetal-master-trigger'
685 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-master-trigger'
689 # -------------------
690 # ha-baremetal-euphrates
691 # -------------------
693 name: 'compass-os-nosdn-nofeature-ha-baremetal-euphrates-trigger'
695 - timed: '0 1 1-29/2 * *'
697 name: 'compass-os-nosdn-openo-ha-baremetal-euphrates-trigger'
701 name: 'compass-os-odl_l2-nofeature-ha-baremetal-euphrates-trigger'
705 name: 'compass-os-odl_l3-nofeature-ha-baremetal-euphrates-trigger'
707 - timed: '0 21 2-30/2 * *'
709 name: 'compass-os-onos-nofeature-ha-baremetal-euphrates-trigger'
713 name: 'compass-os-ocl-nofeature-ha-baremetal-euphrates-trigger'
717 name: 'compass-os-onos-sfc-ha-baremetal-euphrates-trigger'
721 name: 'compass-os-odl_l2-moon-ha-baremetal-euphrates-trigger'
723 - timed: '0 5 1-29/2 * *'
725 name: 'compass-os-nosdn-kvm-ha-baremetal-euphrates-trigger'
727 - timed: '0 13 2-30/2 * *'
729 name: 'compass-os-nosdn-ovs_dpdk-ha-baremetal-euphrates-trigger'
731 - timed: '0 9 1-29/2 * *'
733 name: 'compass-k8-nosdn-nofeature-ha-baremetal-euphrates-trigger'
737 name: 'compass-os-odl-sfc-ha-baremetal-euphrates-trigger'
739 - timed: '0 17 2-30/2 * *'
741 name: 'compass-os-nosdn-bar-ha-baremetal-euphrates-trigger'
743 - timed: '0 21 1-29/2 * *'
745 # ---------------------
746 # noha-baremetal-euphrates
747 # ---------------------
749 name: 'compass-os-nosdn-kvm-noha-baremetal-euphrates-trigger'
753 name: 'compass-os-nosdn-nofeature-noha-baremetal-euphrates-trigger'
757 name: 'compass-os-odl_l3-nofeature-noha-baremetal-euphrates-trigger'
761 name: 'compass-os-odl_l2-moon-noha-baremetal-euphrates-trigger'
765 name: 'compass-os-odl-sfc-noha-baremetal-euphrates-trigger'
769 name: 'compass-os-nosdn-ovs_dpdk-noha-baremetal-euphrates-trigger'
777 name: 'compass-os-nosdn-nofeature-ha-virtual-master-trigger'
779 - timed: '0 21 * * *'
781 name: 'compass-os-nosdn-openo-ha-virtual-master-trigger'
785 name: 'compass-os-odl_l2-nofeature-ha-virtual-master-trigger'
789 name: 'compass-os-odl_l3-nofeature-ha-virtual-master-trigger'
791 - timed: '0 19 2-30/2 * *'
793 name: 'compass-os-onos-nofeature-ha-virtual-master-trigger'
797 name: 'compass-os-ocl-nofeature-ha-virtual-master-trigger'
801 name: 'compass-os-onos-sfc-ha-virtual-master-trigger'
805 name: 'compass-os-odl_l2-moon-ha-virtual-master-trigger'
807 - timed: '30 12 1-29/2 * *'
809 name: 'compass-os-nosdn-kvm-ha-virtual-master-trigger'
811 - timed: '0 13 1-29/2 * *'
813 name: 'compass-os-nosdn-ovs_dpdk-ha-virtual-master-trigger'
815 - timed: '0 17 2-30/2 * *'
817 name: 'compass-k8-nosdn-nofeature-ha-virtual-master-trigger'
821 name: 'compass-os-odl-sfc-ha-virtual-master-trigger'
823 - timed: '0 16 2-30/2 * *'
825 name: 'compass-os-nosdn-bar-ha-virtual-master-trigger'
827 - timed: '0 17 1-29/2 * *'
829 # -------------------
830 # noha-virtual-master
831 # -------------------
833 name: 'compass-os-nosdn-kvm-noha-virtual-master-trigger'
835 - timed: '30 13 1-29/2 * *'
837 name: 'compass-os-nosdn-nofeature-noha-virtual-master-trigger'
839 - timed: '0 14 2-30/2 * *'
841 name: 'compass-os-odl_l3-nofeature-noha-virtual-master-trigger'
843 - timed: '0 15 1-29/2 * *'
845 name: 'compass-os-odl_l2-moon-noha-virtual-master-trigger'
847 - timed: '0 18 2-30/2 * *'
849 name: 'compass-os-odl-sfc-noha-virtual-master-trigger'
851 - timed: '0 20 1-29/2 * *'
853 name: 'compass-os-nosdn-ovs_dpdk-noha-virtual-master-trigger'
855 - timed: '0 11 2-30/2 * *'
858 # ha-virtual-euphrates
861 name: 'compass-os-nosdn-nofeature-ha-virtual-euphrates-trigger'
863 - timed: '0 23 1-29/2 * *'
865 name: 'compass-os-nosdn-openo-ha-virtual-euphrates-trigger'
869 name: 'compass-os-odl_l2-nofeature-ha-virtual-euphrates-trigger'
873 name: 'compass-os-odl_l3-nofeature-ha-virtual-euphrates-trigger'
875 - timed: '0 22 2-30/2 * *'
877 name: 'compass-os-onos-nofeature-ha-virtual-euphrates-trigger'
881 name: 'compass-os-ocl-nofeature-ha-virtual-euphrates-trigger'
885 name: 'compass-os-onos-sfc-ha-virtual-euphrates-trigger'
889 name: 'compass-os-odl_l2-moon-ha-virtual-euphrates-trigger'
891 - timed: '0 20 1-29/2 * *'
893 name: 'compass-os-nosdn-kvm-ha-virtual-euphrates-trigger'
895 - timed: '0 16 2-30/2 * *'
897 name: 'compass-os-nosdn-ovs_dpdk-ha-virtual-euphrates-trigger'
899 - timed: '0 14 1-29/2 * *'
901 name: 'compass-os-odl-sfc-ha-virtual-euphrates-trigger'
903 - timed: '0 18 2-30/2 * *'
905 name: 'compass-k8-nosdn-nofeature-ha-virtual-euphrates-trigger'
907 - timed: '5 1 2-30/2 * *'
909 name: 'compass-os-nosdn-bar-ha-virtual-euphrates-trigger'
911 - timed: '0 19 1-29/2 * *'
913 # -------------------
914 # noha-virtual-euphrates
915 # -------------------
917 name: 'compass-os-nosdn-kvm-noha-virtual-euphrates-trigger'
919 - timed: '0 15 1-29/2 * *'
921 name: 'compass-os-nosdn-nofeature-noha-virtual-euphrates-trigger'
923 - timed: '0 17 2-30/2 * *'
925 name: 'compass-os-odl_l3-nofeature-noha-virtual-euphrates-trigger'
927 - timed: '0 23 1-29/2 * *'
929 name: 'compass-os-odl_l2-moon-noha-virtual-euphrates-trigger'
931 - timed: '0 21 2-30/2 * *'
933 name: 'compass-os-odl-sfc-noha-virtual-euphrates-trigger'
935 - timed: '0 19 1-29/2 * *'
937 name: 'compass-os-nosdn-ovs_dpdk-noha-virtual-euphrates-trigger'
939 - timed: '0 12 2-30/2 * *'