blob: ad3ab9e388076c401318ac8015014440a3f095d2 [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.*"
9 job:
10 validate_openstack:
11 type: workflow-scm
12 name: validate-openstack
13 display_name: "Validate - Openstack"
14 discard:
15 build:
Jakub Josef1a828962018-01-23 12:33:34 +010016 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070017 artifact:
Jakub Josef1a828962018-01-23 12:33:34 +010018 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070019 concurrent: false
20 scm:
21 type: git
22 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010023 branch: "${_param:jenkins_pipelines_branch}"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070024 credentials: "gerrit"
25 script: validate-cloud.groovy
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070026 param:
27 SALT_MASTER_URL:
28 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070029 default: "${_param:jenkins_salt_api_url}"
30 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070031 SALT_MASTER_CREDENTIALS:
32 type: string
33 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070034 description: Credentials to the Salt API
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070035 TEST_IMAGE:
36 type: string
azvyagintsev16ca7ce2018-08-21 17:20:33 +030037 default: "${_param:mcp_docker_registry}/mirantis/oss/qa-tools"
Tetiana Korchakd644b352017-08-25 10:30:57 -070038 description: Docker image to setup testing environment
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070039 TARGET_NODE:
40 type: string
41 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070042 description: Target node where this job will be executed from
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070043 RUN_RALLY_TESTS:
44 type: boolean
45 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070046 description: If chosen then Rally tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070047 RUN_TEMPEST_TESTS:
48 type: boolean
49 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070050 description: If chosen then Tempest tests will be executed
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070051 RUN_K8S_TESTS:
52 type: boolean
53 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070054 description: If chosen then K8S tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070055 TEMPEST_TEST_SET:
56 type: choice
57 choices:
58 - smoke
59 - full
Tetiana Korchakd644b352017-08-25 10:30:57 -070060 description: Set of Tempest tests to run
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -080061 TEMPEST_CONFIG_REPO:
62 type: string
63 default: ""
64 description: Git repository with configuration files for Tempest
65 TEMPEST_CONFIG_BRANCH:
66 type: string
67 default: ""
68 description: Git branch which will be used during the checkout
69 TEMPEST_REPO:
70 type: string
71 default: ""
72 description: Git repository with Tempest
73 TEMPEST_VERSION:
74 type: string
75 default: ""
76 description: Version of Tempest (tag, branch or commit)
Tetiana Korchakd644b352017-08-25 10:30:57 -070077 TEST_K8S_NODE:
78 type: string
79 default: ""
80 description: Kubernetes node to run tests from
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070081 TEST_K8S_API_SERVER:
82 type: string
83 default: "http://127.0.0.1:8080"
Tetiana Korchakd644b352017-08-25 10:30:57 -070084 description: API server parameter for K8S tests
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070085 TEST_K8S_CONFORMANCE_IMAGE:
86 type: string
vrovachev7e709802017-09-15 20:04:26 +040087 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Tetiana Korchakd644b352017-08-25 10:30:57 -070088 description: Docker image to run K8S tests
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070089 RUN_SPT_TESTS:
90 type: boolean
91 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070092 description: If chosen then SPT tests will be executed
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070093 SPT_SSH_USER:
94 type: string
95 default: "root"
Tetiana Korchakd644b352017-08-25 10:30:57 -070096 description: Username that is used to ssh between cluster nodes
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -070097 FLOATING_NETWORK:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070098 type: string
99 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700100 description: External(floating) network name (used in both SPT and Rally)
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700101 SPT_IMAGE:
102 type: string
103 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700104 description: Image that is used for network-VM-to-VM-iperf-tests tests
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700105 SPT_IMAGE_USER:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700106 type: string
107 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700108 description: Username that is used to ssh to SPT_IMAGE
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700109 SPT_FLAVOR:
110 type: string
111 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700112 description: Flavor name for SPT_IMAGE (make sure you have required flavor created)
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700113 RALLY_IMAGE:
114 type: string
115 default: "cirros"
116 RALLY_FLAVOR:
117 type: string
118 default: "m1.tiny"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700119 description: Flavor name for Rally scenarios
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -0800120 RALLY_CONFIG_REPO:
121 type: string
122 default: ""
123 description: Git repository with configuration files for Rally
124 RALLY_CONFIG_BRANCH:
125 type: string
126 default: ""
127 description: Git branch which will be used during the checkout
Sergey Galkin42639302017-12-01 16:27:30 +0400128 RALLY_SCENARIOS:
129 type: string
130 default: ""
131 description: Rally scenarios directory or file with scenarios
Oleg Basov894f8c12018-09-04 21:44:12 +0200132 RALLY_SL_SCENARIOS:
133 type: string
134 default: ""
135 description: Stacklight Rally scenarios directory or file with scenarios
Sergey Galkin42639302017-12-01 16:27:30 +0400136 RALLY_TASK_ARGS_FILE:
137 type: string
138 default: ""
139 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700140 AVAILABILITY_ZONE:
141 type: string
142 default: "nova"
143 description: Name of availability zone
144 GENERATE_REPORT:
145 type: boolean
146 default: 'true'
147 description: If chosen then at the end of the test run HTML report will be generated
148 ACCUMULATE_RESULTS:
149 type: boolean
150 default: 'true'
151 description: If chosen then previous build results will be used in the current build
mkraynovdc3b3ee2018-07-25 15:58:29 +0400152 RALLY_PLUGINS_REPO:
153 type: string
154 default: ""
155 description: Git repository with Rally plugins
156 RALLY_PLUGINS_BRANCH:
157 type: string
158 default: ""
159 description: Git branch which will be used during the checkout
160 K8S_RALLY:
161 type: boolean
162 default: 'false'
163 description: If chosen then K8S Rally test will be executed
Oleg Basov894f8c12018-09-04 21:44:12 +0200164 STACKLIGHT_RALLY:
165 type: boolean
166 default: 'false'
167 description: If chosen then Stacklight Rally test will be executed
mkraynovdc3b3ee2018-07-25 15:58:29 +0400168 JOB_TIMEOUT:
169 type: string
170 default: "3"
171 description: Job timeout in hours
172 REPORT_DIR:
173 type: string
174 default: ""
175 description: Path for reports outside docker image
mkraynov3fcda252018-08-07 18:35:18 +0400176 SKIP_LIST:
177 type: string
178 description: "Skip list for Rally test"
179 default: ""
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500180 cvp-sanity:
181 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600182 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500183 display_name: "CVP - Sanity checks"
184 discard:
185 build:
186 keep_num: 20
187 artifact:
188 keep_num: 20
189 concurrent: false
190 scm:
191 type: git
192 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100193 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500194 credentials: "gerrit"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500195 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500196 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500197 IMAGE:
198 type: string
azvyagintsev33afffc2019-02-22 14:20:20 +0200199 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500200 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500201 SALT_MASTER_URL:
202 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600203 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500204 description: Full Salt API address [e.g. https://10.10.10.2:6969]
205 SALT_MASTER_CREDENTIALS:
206 type: string
207 default: "salt"
Hanna Arhipova718fbf62019-01-24 18:50:02 +0200208 EXTRA_PARAMS:
209 type: text
210 default: "---"
211 description: YAML context with additional parameters
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600212 cvp-func:
213 type: workflow-scm
214 name: cvp-func
215 display_name: "CVP - Functional tests"
216 discard:
217 build:
218 keep_num: 20
219 artifact:
220 keep_num: 20
221 concurrent: false
222 scm:
223 type: git
224 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500225 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600226 credentials: "gerrit"
227 script: cvp-func.groovy
228 param:
229 DEBUG_MODE:
230 type: boolean
231 default: 'false'
232 description: Enable if you need to keep container after the test and debug
233 SKIP_LIST_PATH:
234 type: string
235 default: "cvp-configuration/tempest/skip-list.yaml"
236 description: Path to skip list in container
237 SALT_MASTER_URL:
238 type: string
239 default: "${_param:jenkins_salt_api_url}"
240 description: Full Salt API address [e.g. https://10.10.10.2:6969]
241 SALT_MASTER_CREDENTIALS:
242 type: string
243 default: "salt"
244 description: Credentials to the Salt API
245 TEST_IMAGE:
246 type: string
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500247 default: "xrally/xrally-openstack:0.10.1"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600248 description: Docker image to use for running Rally/Tempest
249 TARGET_NODE:
250 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400251 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600252 description: Node where container with Tempest will be run
253 PROXY:
254 type: string
255 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500256 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600257 TEMPEST_TEST_PATTERN:
258 type: string
259 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500260 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600261 TEMPEST_ENDPOINT_TYPE:
262 type: choice
263 choices:
264 - internalURL
265 - adminURL
266 - publicURL
267 description: Openstack endpoint type to use during test run
268 TEMPEST_REPO:
269 type: string
270 default: "https://github.com/openstack/tempest"
271 description: URL to Tempest repo (local or remote) or path to tempest folder in container
272 TOOLS_REPO:
273 type: string
274 default: "https://github.com/Mirantis/cvp-configuration"
275 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600276 cvp-ha:
277 type: workflow-scm
278 name: cvp-ha
279 display_name: "CVP - HA tests"
280 discard:
281 build:
282 keep_num: 20
283 artifact:
284 keep_num: 20
285 concurrent: false
286 scm:
287 type: git
288 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500289 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600290 credentials: "gerrit"
291 script: cvp-ha.groovy
292 param:
293 SALT_MASTER_URL:
294 type: string
295 default: "${_param:jenkins_salt_api_url}"
296 description: Full Salt API address [e.g. https://10.10.10.2:6969]
297 SALT_MASTER_CREDENTIALS:
298 type: string
299 default: "salt"
300 description: Credentials to the Salt API
301 TEMPEST_TARGET_NODE:
302 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400303 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600304 description: Node where container with tempest will be run
305 TEST_IMAGE:
306 type: string
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500307 default: "xrally/xrally-openstack:0.10.1"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600308 description: Docker image to use for running Rally/Tempest
309 TARGET_NODES:
310 type: string
311 default: "ctl*"
312 description: Nodes to test
313 DEBUG_MODE:
314 type: boolean
315 default: 'false'
316 description: If you need to debug (keep container after test), please enabled this
317 RETRY_CHECK_STATUS:
318 type: string
319 default: "200"
320 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
321 SKIP_LIST_PATH:
322 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500323 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600324 description: path to skip-list file inside container
325 PROXY:
326 type: string
327 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500328 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600329 TEMPEST_TEST_PATTERN:
330 type: string
331 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500332 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600333 MANUAL_CONFIRMATION:
334 type: boolean
335 default: 'false'
336 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
337 TEMPEST_REPO:
338 type: string
339 default: "https://github.com/openstack/tempest"
340 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
341 TOOLS_REPO:
342 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500343 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600344 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600345 cvp-perf:
346 type: workflow-scm
347 name: cvp-perf
348 display_name: "CVP - Performance tests"
349 discard:
350 build:
351 keep_num: 20
352 artifact:
353 keep_num: 20
354 concurrent: false
355 scm:
356 type: git
357 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500358 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600359 credentials: "gerrit"
360 script: cvp-perf.groovy
361 param:
362 DEBUG_MODE:
363 type: boolean
364 default: 'false'
365 description: Enable if you need to keep container after the test and debug
366 RALLY_SCENARIO_FILE:
367 type: string
368 default: "cvp-configuration/rally/rally_scenarios.json"
369 description: Path to scenario file in container
370 TEST_IMAGE:
371 type: string
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500372 default: "xrally/xrally-openstack:0.10.1"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600373 description: Docker image to use for running Rally/Tempest
374 SALT_MASTER_URL:
375 type: string
376 default: "${_param:jenkins_salt_api_url}"
377 description: Full Salt API address [e.g. https://10.10.10.2:6969]
378 SALT_MASTER_CREDENTIALS:
379 type: string
380 default: "salt"
381 description: Credentials to the Salt API
382 TARGET_NODE:
383 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400384 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600385 description: Node where docker container with Rally will be run
386 TOOLS_REPO:
387 type: string
388 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500389 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600390 PROXY:
391 type: string
392 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500393 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600394 cvp-stacklight:
395 type: workflow-scm
396 name: cvp-stacklight
397 display_name: "CVP - Stacklight tests"
398 discard:
399 build:
400 keep_num: 20
401 artifact:
402 keep_num: 20
403 concurrent: false
404 scm:
405 type: git
406 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
407 branch: "${_param:jenkins_pipelines_branch}"
408 credentials: "gerrit"
Hanna Arhipova8285e612019-02-14 13:45:17 +0200409 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600410 param:
Hanna Arhipova8285e612019-02-14 13:45:17 +0200411 IMAGE:
412 type: string
413 default: ${_param:docker_image_cvp_sanity_checks}
414 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600415 SALT_MASTER_URL:
416 type: string
417 default: "${_param:jenkins_salt_api_url}"
418 description: Full Salt API address [e.g. https://10.10.10.2:6969]
419 SALT_MASTER_CREDENTIALS:
420 type: string
421 default: "salt"
Hanna Arhipova8285e612019-02-14 13:45:17 +0200422 EXTRA_PARAMS:
423 type: text
424 default: |
425 envs:
426 - SL_AUTOCONF=True
427 description: YAML context with additional parameters
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500428 cvp-spt:
429 type: workflow-scm
430 name: cvp-spt
431 display_name: "CVP - Simplified Performance Tests (SPT)"
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}"
442 credentials: "gerrit"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500443 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500444 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500445 IMAGE:
446 type: string
azvyagintsev33afffc2019-02-22 14:20:20 +0200447 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500448 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500449 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"
Hanna Arhipova718fbf62019-01-24 18:50:02 +0200456 EXTRA_PARAMS:
457 type: text
458 default: "---"
459 description: YAML context with additional parameters
Oleg Basove8143de2019-01-29 01:36:06 +0100460 cvp-shaker:
461 type: workflow-scm
462 name: cvp-shaker
463 display_name: "CVP - Shaker network tests"
464 discard:
465 build:
466 keep_num: 20
467 artifact:
468 keep_num: 20
469 concurrent: false
470 scm:
471 type: git
472 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
473 branch: "${_param:jenkins_pipelines_branch}"
474 credentials: "gerrit"
475 script: cvp-shaker.groovy
476 param:
477 IMAGE:
478 type: string
479 default: "${_param:mcp_docker_registry}/mirantis/cvp/cvp-shaker:${_param:mcp_version}"
480 description: Docker image to use for running Shaker.
481 SALT_MASTER_URL:
482 type: string
483 default: "${_param:jenkins_salt_api_url}"
484 description: Full Salt API address [e.g. https://10.10.10.2:6969].
485 SALT_MASTER_CREDENTIALS:
486 type: string
487 default: "salt"
488 description: Credentials to the Salt API.
489 SHAKER_PARAMS:
490 type: text
491 default: |
492 ---
493 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
494 SHAKER_SCENARIOS: 'scenarios/essential'
495 SKIP_LIST: ''
Oleg Basovc3602a72019-02-15 15:49:09 +0100496 MATRIX: ''
Oleg Basove8143de2019-01-29 01:36:06 +0100497 image_builder:
498 # - SHAKER_FLAVOR_DISK=4
499 # - SHAKER_FLAVOR_RAM=512
500 # - SHAKER_FLAVOR_VCPUS=1
501 # - SHAKER_IMAGE_BUILDER_MODE='dib'
502 shaker:
503 # - SHAKER_AGENT_JOIN_TIMEOUT=300
504 # - SHAKER_AGENT_LOSS_TIMEOUT=120
505 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
506 # - SCENARIO_COMPUTE_NODES=2
507 # - SHAKER_EXTERNAL_NET='public'
508 description: |
509 YAML context with parameters for running Shaker tests, where
510 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible
511 from tenant's VM network (usually equals to public address of cicd node)
512 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
513 (can be directory or specific file). Main categories are
514 scenarios/essential/l2
515 scenarios/essential/l3
516 scenarios/additional/cross_az
517 scenarios/additional/external
518 scenarios/additional/qos
Oleg Basovc3602a72019-02-15 15:49:09 +0100519 "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format.
520 To override a scenario duration one may provide "{time: 10}", or to override list of hosts:
521 "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are
522 tested. It is a required field for some of external-category scenarios when the host name with iperf3
523 server needs to be provided as a command-line parameter, e.g. "{host: 10.13.100.4}".
Oleg Basove8143de2019-01-29 01:36:06 +0100524 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
525 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
526 "image_builder" - shaker-image-builder env variables
527 SHAKER_FLAVOR_DISK=4
528 SHAKER_FLAVOR_RAM=512
529 SHAKER_FLAVOR_VCPUS=1
530 SHAKER_IMAGE_BUILDER_MODE='dib'
531 "shaker" - main shaker runner env variables
532 SHAKER_AGENT_JOIN_TIMEOUT=300
533 SHAKER_AGENT_LOSS_TIMEOUT=120
534 SCENARIO_AVAILABILITY_ZONE='nova,internal'
535 SCENARIO_COMPUTE_NODES=2
536 SHAKER_EXTERNAL_NET='public'
537 For the more detailed description of the last two categories please refer to the shaker documentation
538 https://pyshaker.readthedocs.io/en/latest/tools.html