blob: 90e135f61bd68378a91677fbf9ea50e8236f3f08 [file] [log] [blame]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -07001parameters:
Sam Stoelinga1539f3c2017-09-25 17:05:40 -07002 _param:
3 jenkins_salt_api_url: "http://${_param:salt_master_host}:6969"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -07004 jenkins:
5 client:
6 view:
7 Validation:
8 enabled: true
9 type: ListView
10 include_regex: "validate.*"
11 job:
12 validate_openstack:
13 type: workflow-scm
14 name: validate-openstack
15 display_name: "Validate - Openstack"
16 discard:
17 build:
Jakub Josef1a828962018-01-23 12:33:34 +010018 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070019 artifact:
Jakub Josef1a828962018-01-23 12:33:34 +010020 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070021 concurrent: false
22 scm:
23 type: git
24 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010025 branch: "${_param:jenkins_pipelines_branch}"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070026 credentials: "gerrit"
27 script: validate-cloud.groovy
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070028 param:
29 SALT_MASTER_URL:
30 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070031 default: "${_param:jenkins_salt_api_url}"
32 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070033 SALT_MASTER_CREDENTIALS:
34 type: string
35 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070036 description: Credentials to the Salt API
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070037 TEST_IMAGE:
38 type: string
azvyagintsev16ca7ce2018-08-21 17:20:33 +030039 default: "${_param:mcp_docker_registry}/mirantis/oss/qa-tools"
Tetiana Korchakd644b352017-08-25 10:30:57 -070040 description: Docker image to setup testing environment
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070041 TARGET_NODE:
42 type: string
43 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070044 description: Target node where this job will be executed from
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070045 RUN_RALLY_TESTS:
46 type: boolean
47 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070048 description: If chosen then Rally tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070049 RUN_TEMPEST_TESTS:
50 type: boolean
51 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070052 description: If chosen then Tempest tests will be executed
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070053 RUN_K8S_TESTS:
54 type: boolean
55 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070056 description: If chosen then K8S tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070057 TEMPEST_TEST_SET:
58 type: choice
59 choices:
60 - smoke
61 - full
Tetiana Korchakd644b352017-08-25 10:30:57 -070062 description: Set of Tempest tests to run
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -080063 TEMPEST_CONFIG_REPO:
64 type: string
65 default: ""
66 description: Git repository with configuration files for Tempest
67 TEMPEST_CONFIG_BRANCH:
68 type: string
69 default: ""
70 description: Git branch which will be used during the checkout
71 TEMPEST_REPO:
72 type: string
73 default: ""
74 description: Git repository with Tempest
75 TEMPEST_VERSION:
76 type: string
77 default: ""
78 description: Version of Tempest (tag, branch or commit)
Tetiana Korchakd644b352017-08-25 10:30:57 -070079 TEST_K8S_NODE:
80 type: string
81 default: ""
82 description: Kubernetes node to run tests from
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070083 TEST_K8S_API_SERVER:
84 type: string
85 default: "http://127.0.0.1:8080"
Tetiana Korchakd644b352017-08-25 10:30:57 -070086 description: API server parameter for K8S tests
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070087 TEST_K8S_CONFORMANCE_IMAGE:
88 type: string
vrovachev7e709802017-09-15 20:04:26 +040089 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Tetiana Korchakd644b352017-08-25 10:30:57 -070090 description: Docker image to run K8S tests
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070091 RUN_SPT_TESTS:
92 type: boolean
93 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070094 description: If chosen then SPT tests will be executed
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070095 SPT_SSH_USER:
96 type: string
97 default: "root"
Tetiana Korchakd644b352017-08-25 10:30:57 -070098 description: Username that is used to ssh between cluster nodes
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -070099 FLOATING_NETWORK:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700100 type: string
101 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700102 description: External(floating) network name (used in both SPT and Rally)
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700103 SPT_IMAGE:
104 type: string
105 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700106 description: Image that is used for network-VM-to-VM-iperf-tests tests
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700107 SPT_IMAGE_USER:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700108 type: string
109 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700110 description: Username that is used to ssh to SPT_IMAGE
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700111 SPT_FLAVOR:
112 type: string
113 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700114 description: Flavor name for SPT_IMAGE (make sure you have required flavor created)
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700115 RALLY_IMAGE:
116 type: string
117 default: "cirros"
118 RALLY_FLAVOR:
119 type: string
120 default: "m1.tiny"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700121 description: Flavor name for Rally scenarios
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -0800122 RALLY_CONFIG_REPO:
123 type: string
124 default: ""
125 description: Git repository with configuration files for Rally
126 RALLY_CONFIG_BRANCH:
127 type: string
128 default: ""
129 description: Git branch which will be used during the checkout
Sergey Galkin42639302017-12-01 16:27:30 +0400130 RALLY_SCENARIOS:
131 type: string
132 default: ""
133 description: Rally scenarios directory or file with scenarios
Oleg Basov894f8c12018-09-04 21:44:12 +0200134 RALLY_SL_SCENARIOS:
135 type: string
136 default: ""
137 description: Stacklight Rally scenarios directory or file with scenarios
Sergey Galkin42639302017-12-01 16:27:30 +0400138 RALLY_TASK_ARGS_FILE:
139 type: string
140 default: ""
141 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700142 AVAILABILITY_ZONE:
143 type: string
144 default: "nova"
145 description: Name of availability zone
146 GENERATE_REPORT:
147 type: boolean
148 default: 'true'
149 description: If chosen then at the end of the test run HTML report will be generated
150 ACCUMULATE_RESULTS:
151 type: boolean
152 default: 'true'
153 description: If chosen then previous build results will be used in the current build
mkraynovdc3b3ee2018-07-25 15:58:29 +0400154 RALLY_PLUGINS_REPO:
155 type: string
156 default: ""
157 description: Git repository with Rally plugins
158 RALLY_PLUGINS_BRANCH:
159 type: string
160 default: ""
161 description: Git branch which will be used during the checkout
162 K8S_RALLY:
163 type: boolean
164 default: 'false'
165 description: If chosen then K8S Rally test will be executed
Oleg Basov894f8c12018-09-04 21:44:12 +0200166 STACKLIGHT_RALLY:
167 type: boolean
168 default: 'false'
169 description: If chosen then Stacklight Rally test will be executed
mkraynovdc3b3ee2018-07-25 15:58:29 +0400170 JOB_TIMEOUT:
171 type: string
172 default: "3"
173 description: Job timeout in hours
174 REPORT_DIR:
175 type: string
176 default: ""
177 description: Path for reports outside docker image
mkraynov3fcda252018-08-07 18:35:18 +0400178 SKIP_LIST:
179 type: string
180 description: "Skip list for Rally test"
181 default: ""
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500182 cvp-sanity:
183 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600184 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500185 display_name: "CVP - Sanity checks"
186 discard:
187 build:
188 keep_num: 20
189 artifact:
190 keep_num: 20
191 concurrent: false
192 scm:
193 type: git
194 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100195 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500196 credentials: "gerrit"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500197 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500198 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500199 IMAGE:
200 type: string
azvyagintsev19266472019-02-22 14:20:20 +0200201 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500202 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500203 SALT_MASTER_URL:
204 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600205 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500206 description: Full Salt API address [e.g. https://10.10.10.2:6969]
207 SALT_MASTER_CREDENTIALS:
208 type: string
209 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500210 EXTRA_PARAMS:
211 type: text
212 default: |
213 envs:
214 - tests_set=''
215 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 -0600216 cvp-func:
217 type: workflow-scm
218 name: cvp-func
219 display_name: "CVP - Functional tests"
220 discard:
221 build:
222 keep_num: 20
223 artifact:
224 keep_num: 20
225 concurrent: false
226 scm:
227 type: git
228 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500229 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600230 credentials: "gerrit"
231 script: cvp-func.groovy
232 param:
233 DEBUG_MODE:
234 type: boolean
235 default: 'false'
236 description: Enable if you need to keep container after the test and debug
237 SKIP_LIST_PATH:
238 type: string
239 default: "cvp-configuration/tempest/skip-list.yaml"
240 description: Path to skip list in container
241 SALT_MASTER_URL:
242 type: string
243 default: "${_param:jenkins_salt_api_url}"
244 description: Full Salt API address [e.g. https://10.10.10.2:6969]
245 SALT_MASTER_CREDENTIALS:
246 type: string
247 default: "salt"
248 description: Credentials to the Salt API
249 TEST_IMAGE:
250 type: string
Oleksii Zhurba94204192019-04-15 20:12:33 -0500251 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600252 description: Docker image to use for running Rally/Tempest
253 TARGET_NODE:
254 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400255 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600256 description: Node where container with Tempest will be run
257 PROXY:
258 type: string
259 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500260 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600261 TEMPEST_TEST_PATTERN:
262 type: string
263 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500264 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600265 TEMPEST_ENDPOINT_TYPE:
266 type: choice
267 choices:
268 - internalURL
269 - adminURL
270 - publicURL
271 description: Openstack endpoint type to use during test run
272 TEMPEST_REPO:
273 type: string
274 default: "https://github.com/openstack/tempest"
275 description: URL to Tempest repo (local or remote) or path to tempest folder in container
276 TOOLS_REPO:
277 type: string
278 default: "https://github.com/Mirantis/cvp-configuration"
279 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600280 cvp-ha:
281 type: workflow-scm
282 name: cvp-ha
283 display_name: "CVP - HA tests"
284 discard:
285 build:
286 keep_num: 20
287 artifact:
288 keep_num: 20
289 concurrent: false
290 scm:
291 type: git
292 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500293 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600294 credentials: "gerrit"
295 script: cvp-ha.groovy
296 param:
297 SALT_MASTER_URL:
298 type: string
299 default: "${_param:jenkins_salt_api_url}"
300 description: Full Salt API address [e.g. https://10.10.10.2:6969]
301 SALT_MASTER_CREDENTIALS:
302 type: string
303 default: "salt"
304 description: Credentials to the Salt API
305 TEMPEST_TARGET_NODE:
306 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400307 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600308 description: Node where container with tempest will be run
309 TEST_IMAGE:
310 type: string
Oleksii Zhurba94204192019-04-15 20:12:33 -0500311 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600312 description: Docker image to use for running Rally/Tempest
313 TARGET_NODES:
314 type: string
315 default: "ctl*"
316 description: Nodes to test
317 DEBUG_MODE:
318 type: boolean
319 default: 'false'
320 description: If you need to debug (keep container after test), please enabled this
321 RETRY_CHECK_STATUS:
322 type: string
323 default: "200"
324 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
325 SKIP_LIST_PATH:
326 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500327 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600328 description: path to skip-list file inside container
329 PROXY:
330 type: string
331 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500332 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600333 TEMPEST_TEST_PATTERN:
334 type: string
335 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500336 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600337 MANUAL_CONFIRMATION:
338 type: boolean
339 default: 'false'
340 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
341 TEMPEST_REPO:
342 type: string
343 default: "https://github.com/openstack/tempest"
344 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
345 TOOLS_REPO:
346 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500347 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600348 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500349 cvp-tempest:
350 type: workflow-scm
351 name: cvp-tempest
352 display_name: "CVP-Tempest (technical preview)"
353 discard:
354 build:
355 keep_num: 20
356 artifact:
357 keep_num: 20
358 concurrent: false
359 scm:
360 type: git
361 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
362 branch: "${_param:jenkins_pipelines_branch}"
363 credentials: "gerrit"
364 script: cvp-tempest.groovy
365 param:
366 PREPARE_RESOURCES:
367 type: boolean
368 default: true
369 description: Prepare resources for Tempest
370 SALT_MASTER_URL:
371 type: string
372 default: "${_param:jenkins_salt_api_url}"
373 description: SALT_MASTER_URL
374 TEMPEST_TEST_PATTERN:
375 type: string
376 default: "set=smoke"
377 description: Use set=smoke, set=full or just test name (regex)
378 TEMPEST_ENDPOINT_TYPE:
379 type: choice
380 choices:
381 - internalURL
382 - adminURL
383 - publicURL
384 description: Openstack endpoint type to use during test run.
385 EXTRA_PARAMS:
386 type: text
387 default: |
388 ---
389 DEBUG_MODE: false
390 GENERATE_CONFIG: true
391 TARGET_NODE: "I@gerrit:client"
392 SKIP_LIST_PATH: ""
393 TEST_IMAGE: "docker-prod-virtual.docker.mirantis.net/mirantis/cicd/ci-tempest:${_param:openstack_version}"
394 report_prefix: "cvp_"
395 description: YAML context with additional parameters
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600396 cvp-perf:
397 type: workflow-scm
398 name: cvp-perf
399 display_name: "CVP - Performance tests"
400 discard:
401 build:
402 keep_num: 20
403 artifact:
404 keep_num: 20
405 concurrent: false
406 scm:
407 type: git
408 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500409 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600410 credentials: "gerrit"
411 script: cvp-perf.groovy
412 param:
413 DEBUG_MODE:
414 type: boolean
415 default: 'false'
416 description: Enable if you need to keep container after the test and debug
417 RALLY_SCENARIO_FILE:
418 type: string
419 default: "cvp-configuration/rally/rally_scenarios.json"
420 description: Path to scenario file in container
421 TEST_IMAGE:
422 type: string
Oleksii Zhurba94204192019-04-15 20:12:33 -0500423 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600424 description: Docker image to use for running Rally/Tempest
425 SALT_MASTER_URL:
426 type: string
427 default: "${_param:jenkins_salt_api_url}"
428 description: Full Salt API address [e.g. https://10.10.10.2:6969]
429 SALT_MASTER_CREDENTIALS:
430 type: string
431 default: "salt"
432 description: Credentials to the Salt API
433 TARGET_NODE:
434 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400435 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600436 description: Node where docker container with Rally will be run
437 TOOLS_REPO:
438 type: string
439 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500440 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600441 PROXY:
442 type: string
443 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500444 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600445 cvp-stacklight:
446 type: workflow-scm
447 name: cvp-stacklight
448 display_name: "CVP - Stacklight tests"
449 discard:
450 build:
451 keep_num: 20
452 artifact:
453 keep_num: 20
454 concurrent: false
455 scm:
456 type: git
457 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
458 branch: "${_param:jenkins_pipelines_branch}"
459 credentials: "gerrit"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500460 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600461 param:
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500462 IMAGE:
463 type: string
464 default: ${_param:docker_image_cvp_sanity_checks}
465 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600466 SALT_MASTER_URL:
467 type: string
468 default: "${_param:jenkins_salt_api_url}"
469 description: Full Salt API address [e.g. https://10.10.10.2:6969]
470 SALT_MASTER_CREDENTIALS:
471 type: string
472 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500473 EXTRA_PARAMS:
474 type: text
475 default: |
476 envs:
477 - SL_AUTOCONF=True
478 description: YAML context with additional parameters
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500479 cvp-spt:
480 type: workflow-scm
481 name: cvp-spt
482 display_name: "CVP - Simplified Performance Tests (SPT)"
483 discard:
484 build:
485 keep_num: 20
486 artifact:
487 keep_num: 20
488 concurrent: false
489 scm:
490 type: git
491 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
492 branch: "${_param:jenkins_pipelines_branch}"
493 credentials: "gerrit"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500494 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500495 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500496 IMAGE:
497 type: string
azvyagintsev19266472019-02-22 14:20:20 +0200498 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500499 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500500 SALT_MASTER_URL:
501 type: string
502 default: "${_param:jenkins_salt_api_url}"
503 description: Full Salt API address [e.g. https://10.10.10.2:6969]
504 SALT_MASTER_CREDENTIALS:
505 type: string
506 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500507 EXTRA_PARAMS:
508 type: text
509 default: |
510 envs:
511 - tests_set=''
512 - image_name='Ubuntu'
513 - networks=10.101.0.0/24
514 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 +0100515 cvp-shaker:
516 type: workflow-scm
517 name: cvp-shaker
518 display_name: "CVP - Shaker network tests"
519 discard:
520 build:
521 keep_num: 20
522 artifact:
523 keep_num: 20
524 concurrent: false
525 scm:
526 type: git
527 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
528 branch: "${_param:jenkins_pipelines_branch}"
529 credentials: "gerrit"
530 script: cvp-shaker.groovy
531 param:
532 IMAGE:
533 type: string
534 default: "${_param:docker_image_cvp_shaker_checks}"
535 description: Docker image to use for running Shaker.
536 SALT_MASTER_URL:
537 type: string
538 default: "${_param:jenkins_salt_api_url}"
539 description: Full Salt API address [e.g. https://10.10.10.2:6969].
540 SALT_MASTER_CREDENTIALS:
541 type: string
542 default: "salt"
543 description: Credentials to the Salt API.
544 SHAKER_PARAMS:
545 type: text
546 default: |
547 ---
548 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
549 SHAKER_SCENARIOS: 'scenarios/essential'
550 SKIP_LIST: ''
551 image_builder:
552 # - SHAKER_FLAVOR_DISK=4
553 # - SHAKER_FLAVOR_RAM=512
554 # - SHAKER_FLAVOR_VCPUS=1
555 # - SHAKER_IMAGE_BUILDER_MODE='dib'
556 shaker:
557 # - SHAKER_AGENT_JOIN_TIMEOUT=300
558 # - SHAKER_AGENT_LOSS_TIMEOUT=120
559 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
560 # - SCENARIO_COMPUTE_NODES=2
561 # - SHAKER_EXTERNAL_NET='public'
562 description: |
563 YAML context with parameters for running Shaker tests, where
564 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible
565 from tenant's VM network (usually equals to public address of cicd node)
566 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
567 (can be directory or specific file). Main categories are
568 scenarios/essential/l2
569 scenarios/essential/l3
570 scenarios/additional/cross_az
571 scenarios/additional/external
572 scenarios/additional/qos
573 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
574 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
575 "image_builder" - shaker-image-builder env variables
576 SHAKER_FLAVOR_DISK=4
577 SHAKER_FLAVOR_RAM=512
578 SHAKER_FLAVOR_VCPUS=1
579 SHAKER_IMAGE_BUILDER_MODE='dib'
580 "shaker" - main shaker runner env variables
581 SHAKER_AGENT_JOIN_TIMEOUT=300
582 SHAKER_AGENT_LOSS_TIMEOUT=120
583 SCENARIO_AVAILABILITY_ZONE='nova,internal'
584 SCENARIO_COMPUTE_NODES=2
585 SHAKER_EXTERNAL_NET='public'
586 For the more detailed description of the last two categories please refer to the shaker documentation
587 https://pyshaker.readthedocs.io/en/latest/tools.html