blob: 327cf4e34bb956dde67b0dd23ebd54c3b0a3cf6f [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 DEBUG_MODE:
200 type: boolean
201 default: 'false'
202 description: Enable if you need to keep container after the test and debug
203 IMAGE:
204 type: string
azvyagintsev19266472019-02-22 14:20:20 +0200205 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500206 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500207 SALT_MASTER_URL:
208 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600209 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500210 description: Full Salt API address [e.g. https://10.10.10.2:6969]
211 SALT_MASTER_CREDENTIALS:
212 type: string
213 default: "salt"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500214 TESTS_REPO:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500215 type: string
Hanna Arhipova960f8632018-12-26 15:12:55 +0200216 default: ""
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500217 description: Url for cvp-sanity-checks
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500218 TESTS_SETTINGS:
Oleksii Zhurba07076052017-11-08 12:59:25 -0600219 type: string
220 default: ""
221 description: e.g. skipped_nodes=nal01.local.com,ntw01.local.com
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500222 TESTS_SET:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500223 type: string
Hanna Arhipova960f8632018-12-26 15:12:55 +0200224 default: "cvp-sanity/cvp_checks/tests"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500225 description: "Leave as is for full run or add a filename, e.g. _default_path_/test_mtu.py"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500226 PROXY:
227 type: string
228 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500229 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600230 cvp-func:
231 type: workflow-scm
232 name: cvp-func
233 display_name: "CVP - Functional tests"
234 discard:
235 build:
236 keep_num: 20
237 artifact:
238 keep_num: 20
239 concurrent: false
240 scm:
241 type: git
242 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500243 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600244 credentials: "gerrit"
245 script: cvp-func.groovy
246 param:
247 DEBUG_MODE:
248 type: boolean
249 default: 'false'
250 description: Enable if you need to keep container after the test and debug
251 SKIP_LIST_PATH:
252 type: string
253 default: "cvp-configuration/tempest/skip-list.yaml"
254 description: Path to skip list in container
255 SALT_MASTER_URL:
256 type: string
257 default: "${_param:jenkins_salt_api_url}"
258 description: Full Salt API address [e.g. https://10.10.10.2:6969]
259 SALT_MASTER_CREDENTIALS:
260 type: string
261 default: "salt"
262 description: Credentials to the Salt API
263 TEST_IMAGE:
264 type: string
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500265 default: "xrally/xrally-openstack:0.10.1"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600266 description: Docker image to use for running Rally/Tempest
267 TARGET_NODE:
268 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400269 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600270 description: Node where container with Tempest will be run
271 PROXY:
272 type: string
273 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500274 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600275 TEMPEST_TEST_PATTERN:
276 type: string
277 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500278 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600279 TEMPEST_ENDPOINT_TYPE:
280 type: choice
281 choices:
282 - internalURL
283 - adminURL
284 - publicURL
285 description: Openstack endpoint type to use during test run
286 TEMPEST_REPO:
287 type: string
288 default: "https://github.com/openstack/tempest"
289 description: URL to Tempest repo (local or remote) or path to tempest folder in container
290 TOOLS_REPO:
291 type: string
292 default: "https://github.com/Mirantis/cvp-configuration"
293 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600294 cvp-ha:
295 type: workflow-scm
296 name: cvp-ha
297 display_name: "CVP - HA tests"
298 discard:
299 build:
300 keep_num: 20
301 artifact:
302 keep_num: 20
303 concurrent: false
304 scm:
305 type: git
306 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500307 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600308 credentials: "gerrit"
309 script: cvp-ha.groovy
310 param:
311 SALT_MASTER_URL:
312 type: string
313 default: "${_param:jenkins_salt_api_url}"
314 description: Full Salt API address [e.g. https://10.10.10.2:6969]
315 SALT_MASTER_CREDENTIALS:
316 type: string
317 default: "salt"
318 description: Credentials to the Salt API
319 TEMPEST_TARGET_NODE:
320 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400321 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600322 description: Node where container with tempest will be run
323 TEST_IMAGE:
324 type: string
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500325 default: "xrally/xrally-openstack:0.10.1"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600326 description: Docker image to use for running Rally/Tempest
327 TARGET_NODES:
328 type: string
329 default: "ctl*"
330 description: Nodes to test
331 DEBUG_MODE:
332 type: boolean
333 default: 'false'
334 description: If you need to debug (keep container after test), please enabled this
335 RETRY_CHECK_STATUS:
336 type: string
337 default: "200"
338 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
339 SKIP_LIST_PATH:
340 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500341 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600342 description: path to skip-list file inside container
343 PROXY:
344 type: string
345 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500346 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600347 TEMPEST_TEST_PATTERN:
348 type: string
349 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500350 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600351 MANUAL_CONFIRMATION:
352 type: boolean
353 default: 'false'
354 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
355 TEMPEST_REPO:
356 type: string
357 default: "https://github.com/openstack/tempest"
358 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
359 TOOLS_REPO:
360 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500361 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600362 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500363 cvp-tempest:
364 type: workflow-scm
365 name: cvp-tempest
366 display_name: "CVP-Tempest (technical preview)"
367 discard:
368 build:
369 keep_num: 20
370 artifact:
371 keep_num: 20
372 concurrent: false
373 scm:
374 type: git
375 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
376 branch: "${_param:jenkins_pipelines_branch}"
377 credentials: "gerrit"
378 script: cvp-tempest.groovy
379 param:
380 PREPARE_RESOURCES:
381 type: boolean
382 default: true
383 description: Prepare resources for Tempest
384 SALT_MASTER_URL:
385 type: string
386 default: "${_param:jenkins_salt_api_url}"
387 description: SALT_MASTER_URL
388 TEMPEST_TEST_PATTERN:
389 type: string
390 default: "set=smoke"
391 description: Use set=smoke, set=full or just test name (regex)
392 TEMPEST_ENDPOINT_TYPE:
393 type: choice
394 choices:
395 - internalURL
396 - adminURL
397 - publicURL
398 description: Openstack endpoint type to use during test run.
399 EXTRA_PARAMS:
400 type: text
401 default: |
402 ---
403 DEBUG_MODE: false
404 GENERATE_CONFIG: true
405 TARGET_NODE: "I@gerrit:client"
406 SKIP_LIST_PATH: ""
407 TEST_IMAGE: "docker-prod-virtual.docker.mirantis.net/mirantis/cicd/ci-tempest:${_param:openstack_version}"
408 report_prefix: "cvp_"
409 description: YAML context with additional parameters
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600410 cvp-perf:
411 type: workflow-scm
412 name: cvp-perf
413 display_name: "CVP - Performance tests"
414 discard:
415 build:
416 keep_num: 20
417 artifact:
418 keep_num: 20
419 concurrent: false
420 scm:
421 type: git
422 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500423 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600424 credentials: "gerrit"
425 script: cvp-perf.groovy
426 param:
427 DEBUG_MODE:
428 type: boolean
429 default: 'false'
430 description: Enable if you need to keep container after the test and debug
431 RALLY_SCENARIO_FILE:
432 type: string
433 default: "cvp-configuration/rally/rally_scenarios.json"
434 description: Path to scenario file in container
435 TEST_IMAGE:
436 type: string
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500437 default: "xrally/xrally-openstack:0.10.1"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600438 description: Docker image to use for running Rally/Tempest
439 SALT_MASTER_URL:
440 type: string
441 default: "${_param:jenkins_salt_api_url}"
442 description: Full Salt API address [e.g. https://10.10.10.2:6969]
443 SALT_MASTER_CREDENTIALS:
444 type: string
445 default: "salt"
446 description: Credentials to the Salt API
447 TARGET_NODE:
448 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400449 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600450 description: Node where docker container with Rally will be run
451 TOOLS_REPO:
452 type: string
453 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500454 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600455 PROXY:
456 type: string
457 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500458 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600459 cvp-stacklight:
460 type: workflow-scm
461 name: cvp-stacklight
462 display_name: "CVP - Stacklight tests"
463 discard:
464 build:
465 keep_num: 20
466 artifact:
467 keep_num: 20
468 concurrent: false
469 scm:
470 type: git
471 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
472 branch: "${_param:jenkins_pipelines_branch}"
473 credentials: "gerrit"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500474 script: cvp-stacklight.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600475 param:
476 SALT_MASTER_URL:
477 type: string
478 default: "${_param:jenkins_salt_api_url}"
479 description: Full Salt API address [e.g. https://10.10.10.2:6969]
480 SALT_MASTER_CREDENTIALS:
481 type: string
482 default: "salt"
483 TESTS_REPO:
484 type: string
Oleksii Zhurbae4ee3432019-03-05 18:14:17 -0600485 default: "http://gerrit.mcp.mirantis.com/mcp/stacklight-pytest -b release/2019.2.0"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600486 description: Url for cvp-stacklight-tests
487 TESTS_SETTINGS:
488 type: string
Oleksii Zhurbae4ee3432019-03-05 18:14:17 -0600489 default: "SL_AUTOCONF=True;PYTHONPATH=./stacklight-pytest"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600490 description: "Additional environment variables to export"
491 TESTS_SET:
492 type: string
Oleksii Zhurbae4ee3432019-03-05 18:14:17 -0600493 default: "stacklight-pytest/stacklight_tests/tests/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500494 description: "Leave as is for full run or add a filename, e.g. _default_path_/test_dashboards.py"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600495 PROXY:
496 type: string
497 default: ""
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500498 description: "Proxy address to use to access the Internet."
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500499 cvp-spt:
500 type: workflow-scm
501 name: cvp-spt
502 display_name: "CVP - Simplified Performance Tests (SPT)"
503 discard:
504 build:
505 keep_num: 20
506 artifact:
507 keep_num: 20
508 concurrent: false
509 scm:
510 type: git
511 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
512 branch: "${_param:jenkins_pipelines_branch}"
513 credentials: "gerrit"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500514 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500515 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500516 DEBUG_MODE:
517 type: boolean
518 default: 'false'
519 description: Enable if you need to keep container after the test and debug
520 IMAGE:
521 type: string
azvyagintsev19266472019-02-22 14:20:20 +0200522 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500523 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500524 SALT_MASTER_URL:
525 type: string
526 default: "${_param:jenkins_salt_api_url}"
527 description: Full Salt API address [e.g. https://10.10.10.2:6969]
528 SALT_MASTER_CREDENTIALS:
529 type: string
530 default: "salt"
531 TESTS_REPO:
532 type: string
Hanna Arhipova960f8632018-12-26 15:12:55 +0200533 default: ""
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500534 description: Url for cvp-spt repository
535 TESTS_SETTINGS:
536 type: string
537 default: ""
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500538 description: "Additional environment variables to export, e.g. image_name, networks, HW_NODES"
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500539 TESTS_SET:
540 type: string
Hanna Arhipova960f8632018-12-26 15:12:55 +0200541 default: "cvp-spt/cvp_spt/tests"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500542 description: "Leave as is for full run or add a filename, e.g. _default_path_/test_glance.py"
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500543 PROXY:
544 type: string
545 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500546 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleg Basov0a090cb2019-01-29 01:36:06 +0100547 cvp-shaker:
548 type: workflow-scm
549 name: cvp-shaker
550 display_name: "CVP - Shaker network tests"
551 discard:
552 build:
553 keep_num: 20
554 artifact:
555 keep_num: 20
556 concurrent: false
557 scm:
558 type: git
559 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
560 branch: "${_param:jenkins_pipelines_branch}"
561 credentials: "gerrit"
562 script: cvp-shaker.groovy
563 param:
564 IMAGE:
565 type: string
566 default: "${_param:docker_image_cvp_shaker_checks}"
567 description: Docker image to use for running Shaker.
568 SALT_MASTER_URL:
569 type: string
570 default: "${_param:jenkins_salt_api_url}"
571 description: Full Salt API address [e.g. https://10.10.10.2:6969].
572 SALT_MASTER_CREDENTIALS:
573 type: string
574 default: "salt"
575 description: Credentials to the Salt API.
576 SHAKER_PARAMS:
577 type: text
578 default: |
579 ---
580 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
581 SHAKER_SCENARIOS: 'scenarios/essential'
582 SKIP_LIST: ''
583 image_builder:
584 # - SHAKER_FLAVOR_DISK=4
585 # - SHAKER_FLAVOR_RAM=512
586 # - SHAKER_FLAVOR_VCPUS=1
587 # - SHAKER_IMAGE_BUILDER_MODE='dib'
588 shaker:
589 # - SHAKER_AGENT_JOIN_TIMEOUT=300
590 # - SHAKER_AGENT_LOSS_TIMEOUT=120
591 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
592 # - SCENARIO_COMPUTE_NODES=2
593 # - SHAKER_EXTERNAL_NET='public'
594 description: |
595 YAML context with parameters for running Shaker tests, where
596 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible
597 from tenant's VM network (usually equals to public address of cicd node)
598 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
599 (can be directory or specific file). Main categories are
600 scenarios/essential/l2
601 scenarios/essential/l3
602 scenarios/additional/cross_az
603 scenarios/additional/external
604 scenarios/additional/qos
605 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
606 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
607 "image_builder" - shaker-image-builder env variables
608 SHAKER_FLAVOR_DISK=4
609 SHAKER_FLAVOR_RAM=512
610 SHAKER_FLAVOR_VCPUS=1
611 SHAKER_IMAGE_BUILDER_MODE='dib'
612 "shaker" - main shaker runner env variables
613 SHAKER_AGENT_JOIN_TIMEOUT=300
614 SHAKER_AGENT_LOSS_TIMEOUT=120
615 SCENARIO_AVAILABILITY_ZONE='nova,internal'
616 SCENARIO_COMPUTE_NODES=2
617 SHAKER_EXTERNAL_NET='public'
618 For the more detailed description of the last two categories please refer to the shaker documentation
619 https://pyshaker.readthedocs.io/en/latest/tools.html