2 ####################################
3 # job configuration for bottlenecks
4 ####################################
6 name: bottlenecks-ci-jobs
10 # -------------------------------
12 # -------------------------------
16 # This is used for common project file storage
18 # This is used for different test suite dependent packages storage
19 gs-packagepath: '/{suite}'
20 # docker tag used for version control
24 branch: 'stable/{stream}'
25 gs-pathname: '/{stream}'
26 gs-packagepath: '/{stream}/{suite}'
28 # -------------------------------
29 # POD, INSTALLER, AND BRANCH MAPPING
30 # -------------------------------
31 # Installers using labels
33 # This section should only contain the installers
34 # that have been switched using labels for slaves
35 # -------------------------------
39 slave-label: compass-baremetal-master
41 auto-trigger-name: 'daily-trigger-disabled'
44 slave-label: compass-virtual-master
46 auto-trigger-name: 'daily-trigger-disabled'
49 slave-label: compass-baremetal-branch
51 auto-trigger-name: 'daily-trigger-disabled'
54 slave-label: compass-virtual-branch
56 auto-trigger-name: 'daily-trigger-disabled'
59 # -------------------------------
61 # -------------------------------
63 # slave-label: '{pod}'
65 # auto-trigger-name: 'daily-trigger-disabled'
68 # slave-label: '{pod}'
70 # auto-trigger-name: 'daily-trigger-disabled'
72 # -------------------------------------------
74 - 'posca_stress_traffic'
78 - 'bottlenecks-{installer}-{suite}-{pod}-daily-{stream}'
80 ################################
82 ################################
84 name: 'bottlenecks-{installer}-{suite}-{pod}-daily-{stream}'
88 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
92 - fix-workspace-permissions
95 - '{auto-trigger-name}'
101 - '{slave-label}-defaults'
102 - '{installer}-defaults'
103 - 'bottlenecks-params-{slave-label}'
106 default: "/home/opnfv/bottlenecks"
107 description: "Directory where the repository is cloned"
109 name: DEPLOY_SCENARIO
110 default: 'os-odl_l2-nofeature-ha'
112 name: GERRIT_REFSPEC_DEBUG
114 description: "Gerrit refspec for debug."
118 description: "test suite name."
121 default: '{docker-tag}'
122 description: "docker image tag used for version control"
128 - 'bottlenecks-env-cleanup'
129 - 'bottlenecks-run-suite'
130 - 'bottlenecks-workspace-cleanup'
134 recipients: gabriel.yuyang@huawei.com, liyin11@huawei.com
135 - email-jenkins-admins-on-failure
137 ########################
139 ########################
141 name: bottlenecks-env-cleanup
144 !include-raw: ./bottlenecks-cleanup.sh
147 name: bottlenecks-run-suite
150 !include-raw: ./bottlenecks-run-suite.sh
153 name: bottlenecks-workspace-cleanup
161 # delete everything that is in $WORKSPACE
162 sudo rm -rf $WORKSPACE
169 name: 'bottlenecks-params-compass-baremetal-master'
172 name: BOTTLENECKS_DB_TARGET
173 default: 'http://testresults.opnfv.org/test/api/v1/results'
174 description: 'Arguments to use in order to choose the backend DB'
177 name: 'bottlenecks-params-compass-virtual-master'
180 name: BOTTLENECKS_DB_TARGET
181 default: 'http://testresults.opnfv.org/test/api/v1/results'
182 description: 'Arguments to use in order to choose the backend DB'
185 name: 'bottlenecks-params-compass-baremetal-branch'
188 name: BOTTLENECKS_DB_TARGET
189 default: 'http://testresults.opnfv.org/test/api/v1/results'
190 description: 'Arguments to use in order to choose the backend DB'
193 name: 'bottlenecks-params-compass-virtual-branch'
196 name: BOTTLENECKS_DB_TARGET
197 default: 'http://testresults.opnfv.org/test/api/v1/results'
198 description: 'Arguments to use in order to choose the backend DB'