blob: a1316526fa941709075a7d25eb022c912f83e884 [file] [log] [blame]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -07001parameters:
2 jenkins:
3 client:
4 view:
5 Validation:
6 enabled: true
7 type: ListView
8 include_regex: "validate.*"
Oleksii Zhurba348c8142019-07-17 12:58:35 -05009 CVP:
10 cvp:
11 enabled: true
12 type: ListView
13 include_regex: "cvp.*"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070014 job:
15 validate_openstack:
16 type: workflow-scm
17 name: validate-openstack
18 display_name: "Validate - Openstack"
19 discard:
20 build:
Jakub Josef1a828962018-01-23 12:33:34 +010021 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070022 artifact:
Jakub Josef1a828962018-01-23 12:33:34 +010023 keep_num: 50
Oleg Basov8c0bbeb2019-03-27 01:19:14 +010024 concurrent: true
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070025 scm:
26 type: git
27 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010028 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +040029 credentials: ${_param:jenkins_gerrit_credentials}
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070030 script: validate-cloud.groovy
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070031 param:
Oleg Basovf465e462019-03-05 23:54:47 +010032 JOB_TIMEOUT:
33 type: string
34 default: "3"
35 description: Job timeout in hours
Oleg Basovf465e462019-03-05 23:54:47 +010036 TEST_IMAGE:
37 type: string
Oleg Basov90042ad2019-04-07 12:31:22 +020038 default: "xrally/xrally-openstack:1.4.0"
Oleg Basov8c0bbeb2019-03-27 01:19:14 +010039 description: Rally docker image to use for running tests
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070040 SALT_MASTER_URL:
41 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070042 default: "${_param:jenkins_salt_api_url}"
43 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070044 SALT_MASTER_CREDENTIALS:
45 type: string
46 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070047 description: Credentials to the Salt API
Oleg Basovf465e462019-03-05 23:54:47 +010048 VALIDATE_PARAMS:
49 type: text
Oleg Basov8c0bbeb2019-03-27 01:19:14 +010050 description: YAML of parameters for Rally test
51 default: |
Oleg Basovf465e462019-03-05 23:54:47 +010052 ---
53 rally:
54 # Name of availability zone
55 AVAILABILITY_ZONE: 'nova'
56 # External(floating) network name
57 FLOATING_NETWORK: 'public'
58 # Rally base image for glance
59 RALLY_IMAGE: 'cirros'
60 # Flavor name for Rally scenarios
61 RALLY_FLAVOR: 'm1.tiny'
62 # Git repository with configuration files for Rally
Oleg Basov90042ad2019-04-07 12:31:22 +020063 RALLY_CONFIG_REPO: 'https://review.gerrithub.io/Mirantis/scale-scenarios'
Oleg Basovf465e462019-03-05 23:54:47 +010064 # Git branch which will be used during the checkout
65 RALLY_CONFIG_BRANCH: 'master'
66 # Git repository with Rally plugins
67 RALLY_PLUGINS_REPO: 'https://github.com/Mirantis/rally-plugins'
68 # Git branch which will be used during the checkout
69 RALLY_PLUGINS_BRANCH: 'master'
70 # Rally scenarios directory or file with scenarios
71 RALLY_SCENARIOS: 'rally-scenarios-light'
72 # Stacklight Rally scenarios directory or file with scenarios
73 RALLY_SL_SCENARIOS: 'rally-stacklight'
74 # Rally scenarios arguments file
75 RALLY_TASK_ARGS_FILE: 'job-params-light.yaml'
76 # Rally-compliant DB connection string for long-term results storing
77 RALLY_DB_CONN_STRING: ''
78 # List of tags for marking Rally tasks. Used as filter for Rally trends
79 RALLY_TAGS:
80 # - 'platform=openstack'
81 # - 'env=your_env_name'
82 # - 'cmp=2'
83 # Generate rally trends report. Requires an external DB
84 RALLY_TRENDS: 'false'
85 # If chosen K8S Rally plugin will be used to test K8S cluster
86 K8S_RALLY: 'false'
87 # If chosen then Stacklight Rally test will be executed
88 STACKLIGHT_RALLY: 'false'
Oleg Basovf465e462019-03-05 23:54:47 +010089 # Scenarios names/dirs to skip
90 SKIP_LIST: ''
Oleg Basov90042ad2019-04-07 12:31:22 +020091 # Run in parallel for each directory inside RALLY_SCENARIOS and RALLY_SL_SCENARIOS
92 PARALLEL_PERFORMANCE: 'false'
Oleg Basov54bde2f2019-05-27 16:43:26 +020093 # If you are running longevity scenarios with parallel performance enabled on a cicd node
94 # with less than 21GB, you may consider disabling generation of html reports. Each Rally
95 # process consumes ~ 4GB of memory when generating reports on top of week amount of data
96 GENERATE_REPORT: 'true'
Oleksii Zhurbad97ac812017-10-05 14:18:50 -050097 cvp-sanity:
98 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -060099 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500100 display_name: "CVP - Sanity checks"
101 discard:
102 build:
103 keep_num: 20
104 artifact:
105 keep_num: 20
106 concurrent: false
107 scm:
108 type: git
109 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100110 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400111 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500112 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500113 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500114 IMAGE:
115 type: string
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500116 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500117 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500118 SALT_MASTER_URL:
119 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600120 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500121 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500122 SALT_MASTER_CREDENTIALS:
123 type: string
124 default: "salt"
Hanna Arhipova718fbf62019-01-24 18:50:02 +0200125 EXTRA_PARAMS:
126 type: text
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500127 default: |
128 envs:
129 - tests_set=''
130 description: "YAML context with additional parameters, e.g. skipped_nodes=nal01.local.com,ntw01.local.com or tests_set='tests/test_mtu.py'"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600131 cvp-func:
132 type: workflow-scm
133 name: cvp-func
134 display_name: "CVP - Functional tests"
135 discard:
136 build:
137 keep_num: 20
138 artifact:
139 keep_num: 20
140 concurrent: false
141 scm:
142 type: git
143 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500144 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400145 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600146 script: cvp-func.groovy
147 param:
148 DEBUG_MODE:
149 type: boolean
150 default: 'false'
151 description: Enable if you need to keep container after the test and debug
152 SKIP_LIST_PATH:
153 type: string
154 default: "cvp-configuration/tempest/skip-list.yaml"
155 description: Path to skip list in container
156 SALT_MASTER_URL:
157 type: string
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500158 default: "http://${_param:salt_master_host}:${_param:salt_master_api_port}"
159 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600160 SALT_MASTER_CREDENTIALS:
161 type: string
162 default: "salt"
163 description: Credentials to the Salt API
164 TEST_IMAGE:
165 type: string
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500166 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600167 description: Docker image to use for running Rally/Tempest
168 TARGET_NODE:
169 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400170 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600171 description: Node where container with Tempest will be run
172 PROXY:
173 type: string
174 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500175 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600176 TEMPEST_TEST_PATTERN:
177 type: string
178 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500179 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600180 TEMPEST_ENDPOINT_TYPE:
181 type: choice
182 choices:
183 - internalURL
184 - adminURL
185 - publicURL
186 description: Openstack endpoint type to use during test run
187 TEMPEST_REPO:
188 type: string
189 default: "https://github.com/openstack/tempest"
190 description: URL to Tempest repo (local or remote) or path to tempest folder in container
191 TOOLS_REPO:
192 type: string
193 default: "https://github.com/Mirantis/cvp-configuration"
194 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600195 cvp-ha:
196 type: workflow-scm
197 name: cvp-ha
198 display_name: "CVP - HA tests"
199 discard:
200 build:
201 keep_num: 20
202 artifact:
203 keep_num: 20
204 concurrent: false
205 scm:
206 type: git
207 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500208 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400209 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600210 script: cvp-ha.groovy
211 param:
212 SALT_MASTER_URL:
213 type: string
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500214 default: "http://${_param:salt_master_host}:${_param:salt_master_api_port}"
215 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600216 SALT_MASTER_CREDENTIALS:
217 type: string
218 default: "salt"
219 description: Credentials to the Salt API
220 TEMPEST_TARGET_NODE:
221 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400222 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600223 description: Node where container with tempest will be run
224 TEST_IMAGE:
225 type: string
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500226 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600227 description: Docker image to use for running Rally/Tempest
228 TARGET_NODES:
229 type: string
230 default: "ctl*"
231 description: Nodes to test
232 DEBUG_MODE:
233 type: boolean
234 default: 'false'
235 description: If you need to debug (keep container after test), please enabled this
236 RETRY_CHECK_STATUS:
237 type: string
238 default: "200"
239 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
240 SKIP_LIST_PATH:
241 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500242 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600243 description: path to skip-list file inside container
244 PROXY:
245 type: string
246 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500247 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600248 TEMPEST_TEST_PATTERN:
249 type: string
250 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500251 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600252 MANUAL_CONFIRMATION:
253 type: boolean
254 default: 'false'
255 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
256 TEMPEST_REPO:
257 type: string
258 default: "https://github.com/openstack/tempest"
259 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
260 TOOLS_REPO:
261 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500262 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600263 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba35fd4f82019-03-26 16:26:43 -0500264 cvp-tempest:
265 type: workflow-scm
266 name: cvp-tempest
Oleksii Zhurba904c3a62019-05-30 15:56:05 -0500267 display_name: "CVP - Tempest (new)"
Oleksii Zhurba35fd4f82019-03-26 16:26:43 -0500268 discard:
269 build:
270 keep_num: 20
271 artifact:
272 keep_num: 20
273 concurrent: false
274 scm:
275 type: git
276 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
277 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400278 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba35fd4f82019-03-26 16:26:43 -0500279 script: cvp-tempest.groovy
280 param:
281 PREPARE_RESOURCES:
282 type: boolean
283 default: true
284 description: Prepare resources for Tempest
285 SALT_MASTER_URL:
286 type: string
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500287 default: "http://${_param:salt_master_host}:${_param:salt_master_api_port}"
288 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba35fd4f82019-03-26 16:26:43 -0500289 TEMPEST_TEST_PATTERN:
290 type: string
291 default: "set=smoke"
292 description: Use set=smoke, set=full or just test name (regex)
293 TEMPEST_ENDPOINT_TYPE:
294 type: choice
295 choices:
296 - internalURL
297 - adminURL
298 - publicURL
299 description: Openstack endpoint type to use during test run.
300 EXTRA_PARAMS:
301 type: text
302 default: |
303 ---
304 DEBUG_MODE: false
305 GENERATE_CONFIG: true
Oleksii Zhurba2eed0302019-07-17 12:55:27 -0500306 TEST_IMAGE: "${_param:docker_image_cvp_tempest}"
Oleksii Zhurba35fd4f82019-03-26 16:26:43 -0500307 report_prefix: "cvp_"
308 description: YAML context with additional parameters
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600309 cvp-perf:
310 type: workflow-scm
311 name: cvp-perf
312 display_name: "CVP - Performance tests"
313 discard:
314 build:
315 keep_num: 20
316 artifact:
317 keep_num: 20
318 concurrent: false
319 scm:
320 type: git
321 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500322 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400323 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600324 script: cvp-perf.groovy
325 param:
326 DEBUG_MODE:
327 type: boolean
328 default: 'false'
329 description: Enable if you need to keep container after the test and debug
330 RALLY_SCENARIO_FILE:
331 type: string
332 default: "cvp-configuration/rally/rally_scenarios.json"
333 description: Path to scenario file in container
334 TEST_IMAGE:
335 type: string
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500336 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600337 description: Docker image to use for running Rally/Tempest
338 SALT_MASTER_URL:
339 type: string
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500340 default: "http://${_param:salt_master_host}:${_param:salt_master_api_port}"
341 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600342 SALT_MASTER_CREDENTIALS:
343 type: string
344 default: "salt"
345 description: Credentials to the Salt API
346 TARGET_NODE:
347 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400348 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600349 description: Node where docker container with Rally will be run
350 TOOLS_REPO:
351 type: string
352 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500353 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600354 PROXY:
355 type: string
356 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500357 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600358 cvp-stacklight:
359 type: workflow-scm
360 name: cvp-stacklight
361 display_name: "CVP - Stacklight tests"
362 discard:
363 build:
364 keep_num: 20
365 artifact:
366 keep_num: 20
367 concurrent: false
368 scm:
369 type: git
370 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
371 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400372 credentials: ${_param:jenkins_gerrit_credentials}
Hanna Arhipova8285e612019-02-14 13:45:17 +0200373 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600374 param:
Hanna Arhipova8285e612019-02-14 13:45:17 +0200375 IMAGE:
376 type: string
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500377 default: "${_param:docker_image_cvp_sanity_checks}"
Hanna Arhipova8285e612019-02-14 13:45:17 +0200378 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600379 SALT_MASTER_URL:
380 type: string
381 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500382 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600383 SALT_MASTER_CREDENTIALS:
384 type: string
385 default: "salt"
Hanna Arhipova8285e612019-02-14 13:45:17 +0200386 EXTRA_PARAMS:
387 type: text
388 default: |
389 envs:
390 - SL_AUTOCONF=True
391 description: YAML context with additional parameters
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500392 cvp-spt:
393 type: workflow-scm
394 name: cvp-spt
395 display_name: "CVP - Simplified Performance Tests (SPT)"
396 discard:
397 build:
398 keep_num: 20
399 artifact:
400 keep_num: 20
401 concurrent: false
402 scm:
403 type: git
404 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
405 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400406 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500407 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500408 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500409 IMAGE:
410 type: string
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500411 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500412 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500413 SALT_MASTER_URL:
414 type: string
415 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurba348c8142019-07-17 12:58:35 -0500416 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500417 SALT_MASTER_CREDENTIALS:
418 type: string
419 default: "salt"
Hanna Arhipova718fbf62019-01-24 18:50:02 +0200420 EXTRA_PARAMS:
421 type: text
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500422 default: |
423 envs:
424 - tests_set=''
Hanna Arhipova5bccdcf2019-07-16 18:04:04 +0300425 - image_name=Ubuntu
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500426 - networks=10.101.0.0/24
427 description: 'YAML context with additional parameters. Additional params: HW_NODES, CMP_HOSTS, salt_timeout, skipped_nodes, nova_timeout, iperf_prep_string, IMAGE_SIZE_MB'
Oleg Basove8143de2019-01-29 01:36:06 +0100428 cvp-shaker:
429 type: workflow-scm
430 name: cvp-shaker
431 display_name: "CVP - Shaker network tests"
432 discard:
433 build:
434 keep_num: 20
435 artifact:
436 keep_num: 20
437 concurrent: false
438 scm:
439 type: git
440 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
441 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400442 credentials: ${_param:jenkins_gerrit_credentials}
Oleg Basove8143de2019-01-29 01:36:06 +0100443 script: cvp-shaker.groovy
444 param:
445 IMAGE:
446 type: string
Oleg Basov06938fe2019-04-01 20:41:24 +0200447 default: "${_param:docker_image_cvp_shaker_checks}"
Oleg Basove8143de2019-01-29 01:36:06 +0100448 description: Docker image to use for running Shaker.
449 SALT_MASTER_URL:
450 type: string
451 default: "${_param:jenkins_salt_api_url}"
452 description: Full Salt API address [e.g. https://10.10.10.2:6969].
453 SALT_MASTER_CREDENTIALS:
454 type: string
455 default: "salt"
456 description: Credentials to the Salt API.
457 SHAKER_PARAMS:
458 type: text
459 default: |
460 ---
461 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
462 SHAKER_SCENARIOS: 'scenarios/essential'
463 SKIP_LIST: ''
Oleg Basovc3602a72019-02-15 15:49:09 +0100464 MATRIX: ''
Oleg Basove8143de2019-01-29 01:36:06 +0100465 image_builder:
466 # - SHAKER_FLAVOR_DISK=4
467 # - SHAKER_FLAVOR_RAM=512
468 # - SHAKER_FLAVOR_VCPUS=1
469 # - SHAKER_IMAGE_BUILDER_MODE='dib'
470 shaker:
471 # - SHAKER_AGENT_JOIN_TIMEOUT=300
472 # - SHAKER_AGENT_LOSS_TIMEOUT=120
473 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
474 # - SCENARIO_COMPUTE_NODES=2
475 # - SHAKER_EXTERNAL_NET='public'
476 description: |
477 YAML context with parameters for running Shaker tests, where
478 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible
479 from tenant's VM network (usually equals to public address of cicd node)
480 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
481 (can be directory or specific file). Main categories are
482 scenarios/essential/l2
483 scenarios/essential/l3
484 scenarios/additional/cross_az
485 scenarios/additional/external
486 scenarios/additional/qos
Oleg Basovc3602a72019-02-15 15:49:09 +0100487 "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format.
488 To override a scenario duration one may provide "{time: 10}", or to override list of hosts:
489 "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are
490 tested. It is a required field for some of external-category scenarios when the host name with iperf3
491 server needs to be provided as a command-line parameter, e.g. "{host: 10.13.100.4}".
Oleg Basove8143de2019-01-29 01:36:06 +0100492 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
493 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
494 "image_builder" - shaker-image-builder env variables
495 SHAKER_FLAVOR_DISK=4
496 SHAKER_FLAVOR_RAM=512
497 SHAKER_FLAVOR_VCPUS=1
498 SHAKER_IMAGE_BUILDER_MODE='dib'
499 "shaker" - main shaker runner env variables
500 SHAKER_AGENT_JOIN_TIMEOUT=300
501 SHAKER_AGENT_LOSS_TIMEOUT=120
502 SCENARIO_AVAILABILITY_ZONE='nova,internal'
503 SCENARIO_COMPUTE_NODES=2
504 SHAKER_EXTERNAL_NET='public'
505 For the more detailed description of the last two categories please refer to the shaker documentation
506 https://pyshaker.readthedocs.io/en/latest/tools.html
Oleksii Zhurbaa31172e2019-04-23 12:23:11 -0500507 cvp-rebuild:
508 type: workflow-scm
509 name: cvp-rebuild
510 display_name: "CVP-rebuild job for images"
511 discard:
512 build:
513 keep_num: 20
514 artifact:
515 keep_num: 20
516 concurrent: false
517 scm:
518 type: git
519 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
520 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400521 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbaa31172e2019-04-23 12:23:11 -0500522 script: cvp-rebuild.groovy
523 param:
524 DESTINATION_IMAGE:
525 type: string
526 default: ""
527 description: "Specify address of local registry and name of the image e.g. _cid_vip_:5000/ci-tempest:v1"
528 SALT_MASTER_URL:
529 type: string
530 default: "${_param:jenkins_salt_api_url}"
531 description: Full Salt API address [e.g. https://10.10.10.2:6969]
532 SALT_MASTER_CREDENTIALS:
533 type: string
534 default: "salt"
535 REPO:
536 type: string
537 default: ""
538 description: Specify repo that will be used to rebuild image
539 BRANCH:
540 type: string
541 default: ""
542 description: Branch or version of REPO to checkout