blob: e4e628ab45a95b8521aadc4cf66a5e2eb32cbd19 [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
azvyagintsev19266472019-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"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500208 EXTRA_PARAMS:
209 type: text
210 default: |
211 envs:
212 - tests_set=''
213 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 -0600214 cvp-func:
215 type: workflow-scm
216 name: cvp-func
217 display_name: "CVP - Functional tests"
218 discard:
219 build:
220 keep_num: 20
221 artifact:
222 keep_num: 20
223 concurrent: false
224 scm:
225 type: git
226 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500227 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600228 credentials: "gerrit"
229 script: cvp-func.groovy
230 param:
231 DEBUG_MODE:
232 type: boolean
233 default: 'false'
234 description: Enable if you need to keep container after the test and debug
235 SKIP_LIST_PATH:
236 type: string
237 default: "cvp-configuration/tempest/skip-list.yaml"
238 description: Path to skip list in container
239 SALT_MASTER_URL:
240 type: string
241 default: "${_param:jenkins_salt_api_url}"
242 description: Full Salt API address [e.g. https://10.10.10.2:6969]
243 SALT_MASTER_CREDENTIALS:
244 type: string
245 default: "salt"
246 description: Credentials to the Salt API
247 TEST_IMAGE:
248 type: string
Oleksii Zhurba94204192019-04-15 20:12:33 -0500249 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600250 description: Docker image to use for running Rally/Tempest
251 TARGET_NODE:
252 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400253 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600254 description: Node where container with Tempest will be run
255 PROXY:
256 type: string
257 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500258 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600259 TEMPEST_TEST_PATTERN:
260 type: string
261 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500262 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600263 TEMPEST_ENDPOINT_TYPE:
264 type: choice
265 choices:
266 - internalURL
267 - adminURL
268 - publicURL
269 description: Openstack endpoint type to use during test run
270 TEMPEST_REPO:
271 type: string
272 default: "https://github.com/openstack/tempest"
273 description: URL to Tempest repo (local or remote) or path to tempest folder in container
274 TOOLS_REPO:
275 type: string
Oleksii Zhurba9f5446b2019-05-24 13:37:41 -0500276 default: "https://github.com/Mirantis/cvp-configuration -b 2019.2.0"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600277 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600278 cvp-ha:
279 type: workflow-scm
280 name: cvp-ha
281 display_name: "CVP - HA tests"
282 discard:
283 build:
284 keep_num: 20
285 artifact:
286 keep_num: 20
287 concurrent: false
288 scm:
289 type: git
290 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500291 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600292 credentials: "gerrit"
293 script: cvp-ha.groovy
294 param:
295 SALT_MASTER_URL:
296 type: string
297 default: "${_param:jenkins_salt_api_url}"
298 description: Full Salt API address [e.g. https://10.10.10.2:6969]
299 SALT_MASTER_CREDENTIALS:
300 type: string
301 default: "salt"
302 description: Credentials to the Salt API
303 TEMPEST_TARGET_NODE:
304 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400305 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600306 description: Node where container with tempest will be run
307 TEST_IMAGE:
308 type: string
Oleksii Zhurba94204192019-04-15 20:12:33 -0500309 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600310 description: Docker image to use for running Rally/Tempest
311 TARGET_NODES:
312 type: string
313 default: "ctl*"
314 description: Nodes to test
315 DEBUG_MODE:
316 type: boolean
317 default: 'false'
318 description: If you need to debug (keep container after test), please enabled this
319 RETRY_CHECK_STATUS:
320 type: string
321 default: "200"
322 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
323 SKIP_LIST_PATH:
324 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500325 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600326 description: path to skip-list file inside container
327 PROXY:
328 type: string
329 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500330 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600331 TEMPEST_TEST_PATTERN:
332 type: string
333 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500334 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600335 MANUAL_CONFIRMATION:
336 type: boolean
337 default: 'false'
338 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
339 TEMPEST_REPO:
340 type: string
341 default: "https://github.com/openstack/tempest"
342 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
343 TOOLS_REPO:
344 type: string
Oleksii Zhurba9f5446b2019-05-24 13:37:41 -0500345 default: "https://github.com/Mirantis/cvp-configuration -b 2019.2.0"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600346 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500347 cvp-tempest:
348 type: workflow-scm
349 name: cvp-tempest
350 display_name: "CVP-Tempest (technical preview)"
351 discard:
352 build:
353 keep_num: 20
354 artifact:
355 keep_num: 20
356 concurrent: false
357 scm:
358 type: git
359 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
360 branch: "${_param:jenkins_pipelines_branch}"
361 credentials: "gerrit"
362 script: cvp-tempest.groovy
363 param:
364 PREPARE_RESOURCES:
365 type: boolean
366 default: true
367 description: Prepare resources for Tempest
368 SALT_MASTER_URL:
369 type: string
370 default: "${_param:jenkins_salt_api_url}"
371 description: SALT_MASTER_URL
372 TEMPEST_TEST_PATTERN:
373 type: string
374 default: "set=smoke"
375 description: Use set=smoke, set=full or just test name (regex)
376 TEMPEST_ENDPOINT_TYPE:
377 type: choice
378 choices:
379 - internalURL
380 - adminURL
381 - publicURL
382 description: Openstack endpoint type to use during test run.
383 EXTRA_PARAMS:
384 type: text
385 default: |
386 ---
387 DEBUG_MODE: false
388 GENERATE_CONFIG: true
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500389 TEST_IMAGE: "docker-prod-virtual.docker.mirantis.net/mirantis/cicd/ci-tempest:${_param:openstack_version}"
390 report_prefix: "cvp_"
391 description: YAML context with additional parameters
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600392 cvp-perf:
393 type: workflow-scm
394 name: cvp-perf
395 display_name: "CVP - Performance tests"
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"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500405 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600406 credentials: "gerrit"
407 script: cvp-perf.groovy
408 param:
409 DEBUG_MODE:
410 type: boolean
411 default: 'false'
412 description: Enable if you need to keep container after the test and debug
413 RALLY_SCENARIO_FILE:
414 type: string
415 default: "cvp-configuration/rally/rally_scenarios.json"
416 description: Path to scenario file in container
417 TEST_IMAGE:
418 type: string
Oleksii Zhurba94204192019-04-15 20:12:33 -0500419 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600420 description: Docker image to use for running Rally/Tempest
421 SALT_MASTER_URL:
422 type: string
423 default: "${_param:jenkins_salt_api_url}"
424 description: Full Salt API address [e.g. https://10.10.10.2:6969]
425 SALT_MASTER_CREDENTIALS:
426 type: string
427 default: "salt"
428 description: Credentials to the Salt API
429 TARGET_NODE:
430 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400431 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600432 description: Node where docker container with Rally will be run
433 TOOLS_REPO:
434 type: string
Oleksii Zhurba9f5446b2019-05-24 13:37:41 -0500435 default: "https://github.com/Mirantis/cvp-configuration -b 2019.2.0"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500436 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600437 PROXY:
438 type: string
439 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500440 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600441 cvp-stacklight:
442 type: workflow-scm
443 name: cvp-stacklight
444 display_name: "CVP - Stacklight tests"
445 discard:
446 build:
447 keep_num: 20
448 artifact:
449 keep_num: 20
450 concurrent: false
451 scm:
452 type: git
453 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
454 branch: "${_param:jenkins_pipelines_branch}"
455 credentials: "gerrit"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500456 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600457 param:
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500458 IMAGE:
459 type: string
460 default: ${_param:docker_image_cvp_sanity_checks}
461 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600462 SALT_MASTER_URL:
463 type: string
464 default: "${_param:jenkins_salt_api_url}"
465 description: Full Salt API address [e.g. https://10.10.10.2:6969]
466 SALT_MASTER_CREDENTIALS:
467 type: string
468 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500469 EXTRA_PARAMS:
470 type: text
471 default: |
472 envs:
473 - SL_AUTOCONF=True
474 description: YAML context with additional parameters
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500475 cvp-spt:
476 type: workflow-scm
477 name: cvp-spt
478 display_name: "CVP - Simplified Performance Tests (SPT)"
479 discard:
480 build:
481 keep_num: 20
482 artifact:
483 keep_num: 20
484 concurrent: false
485 scm:
486 type: git
487 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
488 branch: "${_param:jenkins_pipelines_branch}"
489 credentials: "gerrit"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500490 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500491 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500492 IMAGE:
493 type: string
azvyagintsev19266472019-02-22 14:20:20 +0200494 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500495 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500496 SALT_MASTER_URL:
497 type: string
498 default: "${_param:jenkins_salt_api_url}"
499 description: Full Salt API address [e.g. https://10.10.10.2:6969]
500 SALT_MASTER_CREDENTIALS:
501 type: string
502 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500503 EXTRA_PARAMS:
504 type: text
505 default: |
506 envs:
507 - tests_set=''
508 - image_name='Ubuntu'
509 - networks=10.101.0.0/24
510 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 Basov0a090cb2019-01-29 01:36:06 +0100511 cvp-shaker:
512 type: workflow-scm
513 name: cvp-shaker
514 display_name: "CVP - Shaker network tests"
515 discard:
516 build:
517 keep_num: 20
518 artifact:
519 keep_num: 20
520 concurrent: false
521 scm:
522 type: git
523 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
524 branch: "${_param:jenkins_pipelines_branch}"
525 credentials: "gerrit"
526 script: cvp-shaker.groovy
527 param:
528 IMAGE:
529 type: string
530 default: "${_param:docker_image_cvp_shaker_checks}"
531 description: Docker image to use for running Shaker.
532 SALT_MASTER_URL:
533 type: string
534 default: "${_param:jenkins_salt_api_url}"
535 description: Full Salt API address [e.g. https://10.10.10.2:6969].
536 SALT_MASTER_CREDENTIALS:
537 type: string
538 default: "salt"
539 description: Credentials to the Salt API.
540 SHAKER_PARAMS:
541 type: text
542 default: |
543 ---
544 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
545 SHAKER_SCENARIOS: 'scenarios/essential'
546 SKIP_LIST: ''
547 image_builder:
548 # - SHAKER_FLAVOR_DISK=4
549 # - SHAKER_FLAVOR_RAM=512
550 # - SHAKER_FLAVOR_VCPUS=1
551 # - SHAKER_IMAGE_BUILDER_MODE='dib'
552 shaker:
553 # - SHAKER_AGENT_JOIN_TIMEOUT=300
554 # - SHAKER_AGENT_LOSS_TIMEOUT=120
555 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
556 # - SCENARIO_COMPUTE_NODES=2
557 # - SHAKER_EXTERNAL_NET='public'
558 description: |
559 YAML context with parameters for running Shaker tests, where
560 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible
561 from tenant's VM network (usually equals to public address of cicd node)
562 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
563 (can be directory or specific file). Main categories are
564 scenarios/essential/l2
565 scenarios/essential/l3
566 scenarios/additional/cross_az
567 scenarios/additional/external
568 scenarios/additional/qos
569 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
570 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
571 "image_builder" - shaker-image-builder env variables
572 SHAKER_FLAVOR_DISK=4
573 SHAKER_FLAVOR_RAM=512
574 SHAKER_FLAVOR_VCPUS=1
575 SHAKER_IMAGE_BUILDER_MODE='dib'
576 "shaker" - main shaker runner env variables
577 SHAKER_AGENT_JOIN_TIMEOUT=300
578 SHAKER_AGENT_LOSS_TIMEOUT=120
579 SCENARIO_AVAILABILITY_ZONE='nova,internal'
580 SCENARIO_COMPUTE_NODES=2
581 SHAKER_EXTERNAL_NET='public'
582 For the more detailed description of the last two categories please refer to the shaker documentation
583 https://pyshaker.readthedocs.io/en/latest/tools.html