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'
76 - 'posca_factor_multistack_storage'
77 - 'posca_factor_multistack_storage_parallel'
78 - 'posca_feature_moon_resources'
79 - 'posca_feature_moon_tenants'
80 - 'posca_feature_vnf_scale_out'
81 - 'posca_factor_soak_throughputs'
84 - 'bottlenecks-{installer}-{suite}-{pod}-daily-{stream}'
86 ################################
88 ################################
90 name: 'bottlenecks-{installer}-{suite}-{pod}-daily-{stream}'
94 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
98 - fix-workspace-permissions
101 - '{auto-trigger-name}'
107 - '{slave-label}-defaults'
108 - '{installer}-defaults'
109 - 'bottlenecks-params-{slave-label}'
112 default: "/home/opnfv/bottlenecks"
113 description: "Directory where the repository is cloned"
115 name: DEPLOY_SCENARIO
116 default: 'os-odl_l2-nofeature-ha'
118 name: GERRIT_REFSPEC_DEBUG
120 description: "Gerrit refspec for debug."
124 description: "test suite name."
127 default: '{docker-tag}'
128 description: "docker image tag used for version control"
134 - 'bottlenecks-env-cleanup'
135 - 'bottlenecks-run-suite'
136 - 'bottlenecks-workspace-cleanup'
140 recipients: gabriel.yuyang@huawei.com, liyin11@huawei.com
141 - email-jenkins-admins-on-failure
143 ########################
145 ########################
147 name: bottlenecks-env-cleanup
150 !include-raw: ./bottlenecks-cleanup.sh
153 name: bottlenecks-run-suite
156 !include-raw: ./bottlenecks-run-suite.sh
159 name: bottlenecks-workspace-cleanup
167 # delete everything that is in $WORKSPACE
168 sudo rm -rf $WORKSPACE
175 name: 'bottlenecks-params-compass-baremetal-master'
178 name: BOTTLENECKS_DB_TARGET
179 default: 'http://testresults.opnfv.org/test/api/v1/results'
180 description: 'Arguments to use in order to choose the backend DB'
183 name: 'bottlenecks-params-compass-virtual-master'
186 name: BOTTLENECKS_DB_TARGET
187 default: 'http://testresults.opnfv.org/test/api/v1/results'
188 description: 'Arguments to use in order to choose the backend DB'
191 name: 'bottlenecks-params-compass-baremetal-branch'
194 name: BOTTLENECKS_DB_TARGET
195 default: 'http://testresults.opnfv.org/test/api/v1/results'
196 description: 'Arguments to use in order to choose the backend DB'
199 name: 'bottlenecks-params-compass-virtual-branch'
202 name: BOTTLENECKS_DB_TARGET
203 default: 'http://testresults.opnfv.org/test/api/v1/results'
204 description: 'Arguments to use in order to choose the backend DB'