blob: aeb9553eec31bead4529018aa8cd203a7262a7a7 [file] [log] [blame]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -07001parameters:
2 jenkins:
3 client:
4 view:
5 Validation:
6 enabled: true
7 type: ListView
8 include_regex: "validate.*"
Oleksii Zhurba1541f5b2019-07-24 16:46:11 -05009 CVP:
Oleksii Zhurbad4159632019-07-17 12:58:35 -050010 enabled: true
11 type: ListView
12 include_regex: "cvp.*"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070013 job:
14 validate_openstack:
15 type: workflow-scm
16 name: validate-openstack
17 display_name: "Validate - Openstack"
18 discard:
19 build:
Jakub Josef1a828962018-01-23 12:33:34 +010020 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070021 artifact:
Jakub Josef1a828962018-01-23 12:33:34 +010022 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070023 concurrent: false
Ivan Berezovskiyf4a5e412020-03-18 12:11:13 +040024 disabled: true
25 description: "Pipeline is outdated and no longer supported. Please do not use in production"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070026 scm:
27 type: git
28 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010029 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +040030 credentials: ${_param:jenkins_gerrit_credentials}
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070031 script: validate-cloud.groovy
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070032 param:
33 SALT_MASTER_URL:
34 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070035 default: "${_param:jenkins_salt_api_url}"
36 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070037 SALT_MASTER_CREDENTIALS:
38 type: string
39 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070040 description: Credentials to the Salt API
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070041 TEST_IMAGE:
42 type: string
azvyagintsev16ca7ce2018-08-21 17:20:33 +030043 default: "${_param:mcp_docker_registry}/mirantis/oss/qa-tools"
Tetiana Korchakd644b352017-08-25 10:30:57 -070044 description: Docker image to setup testing environment
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070045 TARGET_NODE:
46 type: string
47 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070048 description: Target node where this job will be executed from
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070049 RUN_RALLY_TESTS:
50 type: boolean
51 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070052 description: If chosen then Rally tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070053 RUN_TEMPEST_TESTS:
54 type: boolean
55 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070056 description: If chosen then Tempest tests will be executed
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070057 RUN_K8S_TESTS:
58 type: boolean
59 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070060 description: If chosen then K8S tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070061 TEMPEST_TEST_SET:
62 type: choice
63 choices:
64 - smoke
65 - full
Tetiana Korchakd644b352017-08-25 10:30:57 -070066 description: Set of Tempest tests to run
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -080067 TEMPEST_CONFIG_REPO:
68 type: string
69 default: ""
70 description: Git repository with configuration files for Tempest
71 TEMPEST_CONFIG_BRANCH:
72 type: string
73 default: ""
74 description: Git branch which will be used during the checkout
75 TEMPEST_REPO:
76 type: string
77 default: ""
78 description: Git repository with Tempest
79 TEMPEST_VERSION:
80 type: string
81 default: ""
82 description: Version of Tempest (tag, branch or commit)
Tetiana Korchakd644b352017-08-25 10:30:57 -070083 TEST_K8S_NODE:
84 type: string
85 default: ""
86 description: Kubernetes node to run tests from
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070087 TEST_K8S_API_SERVER:
88 type: string
89 default: "http://127.0.0.1:8080"
Tetiana Korchakd644b352017-08-25 10:30:57 -070090 description: API server parameter for K8S tests
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070091 TEST_K8S_CONFORMANCE_IMAGE:
92 type: string
vrovachev7e709802017-09-15 20:04:26 +040093 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Tetiana Korchakd644b352017-08-25 10:30:57 -070094 description: Docker image to run K8S tests
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070095 RUN_SPT_TESTS:
96 type: boolean
97 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070098 description: If chosen then SPT tests will be executed
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070099 SPT_SSH_USER:
100 type: string
101 default: "root"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700102 description: Username that is used to ssh between cluster nodes
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700103 FLOATING_NETWORK:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700104 type: string
105 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700106 description: External(floating) network name (used in both SPT and Rally)
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700107 SPT_IMAGE:
108 type: string
109 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700110 description: Image that is used for network-VM-to-VM-iperf-tests tests
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700111 SPT_IMAGE_USER:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700112 type: string
113 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700114 description: Username that is used to ssh to SPT_IMAGE
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700115 SPT_FLAVOR:
116 type: string
117 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700118 description: Flavor name for SPT_IMAGE (make sure you have required flavor created)
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700119 RALLY_IMAGE:
120 type: string
121 default: "cirros"
122 RALLY_FLAVOR:
123 type: string
124 default: "m1.tiny"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700125 description: Flavor name for Rally scenarios
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -0800126 RALLY_CONFIG_REPO:
127 type: string
128 default: ""
129 description: Git repository with configuration files for Rally
130 RALLY_CONFIG_BRANCH:
131 type: string
132 default: ""
133 description: Git branch which will be used during the checkout
Sergey Galkin42639302017-12-01 16:27:30 +0400134 RALLY_SCENARIOS:
135 type: string
136 default: ""
137 description: Rally scenarios directory or file with scenarios
Oleg Basov894f8c12018-09-04 21:44:12 +0200138 RALLY_SL_SCENARIOS:
139 type: string
140 default: ""
141 description: Stacklight Rally scenarios directory or file with scenarios
Sergey Galkin42639302017-12-01 16:27:30 +0400142 RALLY_TASK_ARGS_FILE:
143 type: string
144 default: ""
145 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700146 AVAILABILITY_ZONE:
147 type: string
148 default: "nova"
149 description: Name of availability zone
150 GENERATE_REPORT:
151 type: boolean
152 default: 'true'
153 description: If chosen then at the end of the test run HTML report will be generated
154 ACCUMULATE_RESULTS:
155 type: boolean
156 default: 'true'
157 description: If chosen then previous build results will be used in the current build
mkraynovdc3b3ee2018-07-25 15:58:29 +0400158 RALLY_PLUGINS_REPO:
159 type: string
160 default: ""
161 description: Git repository with Rally plugins
162 RALLY_PLUGINS_BRANCH:
163 type: string
164 default: ""
165 description: Git branch which will be used during the checkout
166 K8S_RALLY:
167 type: boolean
168 default: 'false'
169 description: If chosen then K8S Rally test will be executed
Oleg Basov894f8c12018-09-04 21:44:12 +0200170 STACKLIGHT_RALLY:
171 type: boolean
172 default: 'false'
173 description: If chosen then Stacklight Rally test will be executed
mkraynovdc3b3ee2018-07-25 15:58:29 +0400174 JOB_TIMEOUT:
175 type: string
176 default: "3"
177 description: Job timeout in hours
178 REPORT_DIR:
179 type: string
180 default: ""
181 description: Path for reports outside docker image
mkraynov3fcda252018-08-07 18:35:18 +0400182 SKIP_LIST:
183 type: string
184 description: "Skip list for Rally test"
185 default: ""
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500186 cvp-sanity:
187 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600188 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500189 display_name: "CVP - Sanity checks"
190 discard:
191 build:
192 keep_num: 20
193 artifact:
194 keep_num: 20
195 concurrent: false
196 scm:
197 type: git
198 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100199 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400200 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500201 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500202 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500203 IMAGE:
204 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500205 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 Zhurbad4159632019-07-17 12:58:35 -0500210 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500211 SALT_MASTER_CREDENTIALS:
212 type: string
213 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500214 EXTRA_PARAMS:
215 type: text
216 default: |
217 envs:
218 - tests_set=''
Ievgeniia Zadorozhna8cd96622019-11-13 18:37:39 +0300219 override_config:
220 skipped_nodes: []
221 description: |
222 YAML context with additional parameters. 'envs' key is for environment variables, 'override_config' key is for overriding the global config in YAML format (good for nested parameters). Example:
223 envs:
224 - tests_set='tests/test_mtu.py'
225 override_config:
226 drivetrain_version: 2019.2.0
227 skipped_groups:
228 - log
229 test_duplicate_ips:
230 skipped_ifaces:
231 - lo
232 - virbr0
233 - docker_gwbridge
234 - docker0
235 test_packages:
236 skipped_packages: []
237 skip_test: 'false'
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600238 cvp-func:
239 type: workflow-scm
240 name: cvp-func
241 display_name: "CVP - Functional tests"
242 discard:
243 build:
244 keep_num: 20
245 artifact:
246 keep_num: 20
247 concurrent: false
248 scm:
249 type: git
250 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500251 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400252 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600253 script: cvp-func.groovy
254 param:
255 DEBUG_MODE:
256 type: boolean
257 default: 'false'
258 description: Enable if you need to keep container after the test and debug
259 SKIP_LIST_PATH:
260 type: string
261 default: "cvp-configuration/tempest/skip-list.yaml"
262 description: Path to skip list in container
263 SALT_MASTER_URL:
264 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500265 default: "http://${_param:salt_master_host}:6969"
266 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600267 SALT_MASTER_CREDENTIALS:
268 type: string
269 default: "salt"
270 description: Credentials to the Salt API
271 TEST_IMAGE:
272 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500273 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600274 description: Docker image to use for running Rally/Tempest
275 TARGET_NODE:
276 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400277 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600278 description: Node where container with Tempest will be run
279 PROXY:
280 type: string
281 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500282 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600283 TEMPEST_TEST_PATTERN:
284 type: string
285 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500286 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600287 TEMPEST_ENDPOINT_TYPE:
288 type: choice
289 choices:
290 - internalURL
291 - adminURL
292 - publicURL
293 description: Openstack endpoint type to use during test run
294 TEMPEST_REPO:
295 type: string
296 default: "https://github.com/openstack/tempest"
297 description: URL to Tempest repo (local or remote) or path to tempest folder in container
298 TOOLS_REPO:
299 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500300 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600301 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600302 cvp-ha:
303 type: workflow-scm
304 name: cvp-ha
305 display_name: "CVP - HA tests"
306 discard:
307 build:
308 keep_num: 20
309 artifact:
310 keep_num: 20
311 concurrent: false
312 scm:
313 type: git
314 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500315 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400316 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600317 script: cvp-ha.groovy
318 param:
319 SALT_MASTER_URL:
320 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500321 default: "http://${_param:salt_master_host}:6969"
322 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600323 SALT_MASTER_CREDENTIALS:
324 type: string
325 default: "salt"
326 description: Credentials to the Salt API
327 TEMPEST_TARGET_NODE:
328 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400329 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600330 description: Node where container with tempest will be run
331 TEST_IMAGE:
332 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500333 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600334 description: Docker image to use for running Rally/Tempest
335 TARGET_NODES:
336 type: string
337 default: "ctl*"
338 description: Nodes to test
339 DEBUG_MODE:
340 type: boolean
341 default: 'false'
342 description: If you need to debug (keep container after test), please enabled this
343 RETRY_CHECK_STATUS:
344 type: string
345 default: "200"
346 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
347 SKIP_LIST_PATH:
348 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500349 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600350 description: path to skip-list file inside container
351 PROXY:
352 type: string
353 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500354 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600355 TEMPEST_TEST_PATTERN:
356 type: string
357 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500358 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600359 MANUAL_CONFIRMATION:
360 type: boolean
361 default: 'false'
362 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
363 TEMPEST_REPO:
364 type: string
365 default: "https://github.com/openstack/tempest"
366 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
367 TOOLS_REPO:
368 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500369 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600370 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500371 cvp-tempest:
372 type: workflow-scm
373 name: cvp-tempest
374 display_name: "CVP-Tempest (technical preview)"
375 discard:
376 build:
377 keep_num: 20
378 artifact:
379 keep_num: 20
380 concurrent: false
381 scm:
382 type: git
383 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
384 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400385 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500386 script: cvp-tempest.groovy
387 param:
388 PREPARE_RESOURCES:
389 type: boolean
390 default: true
391 description: Prepare resources for Tempest
392 SALT_MASTER_URL:
393 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500394 default: "http://${_param:salt_master_host}:6969"
395 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500396 TEMPEST_TEST_PATTERN:
397 type: string
398 default: "set=smoke"
399 description: Use set=smoke, set=full or just test name (regex)
400 TEMPEST_ENDPOINT_TYPE:
401 type: choice
402 choices:
403 - internalURL
404 - adminURL
405 - publicURL
406 description: Openstack endpoint type to use during test run.
407 EXTRA_PARAMS:
408 type: text
409 default: |
410 ---
411 DEBUG_MODE: false
412 GENERATE_CONFIG: true
Oleksii Zhurba346fc6f2019-07-17 12:55:27 -0500413 TEST_IMAGE: "${_param:docker_image_cvp_tempest}"
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500414 report_prefix: "cvp_"
415 description: YAML context with additional parameters
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600416 cvp-perf:
417 type: workflow-scm
418 name: cvp-perf
419 display_name: "CVP - Performance tests"
420 discard:
421 build:
422 keep_num: 20
423 artifact:
424 keep_num: 20
425 concurrent: false
426 scm:
427 type: git
428 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500429 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400430 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600431 script: cvp-perf.groovy
432 param:
433 DEBUG_MODE:
434 type: boolean
435 default: 'false'
436 description: Enable if you need to keep container after the test and debug
437 RALLY_SCENARIO_FILE:
438 type: string
439 default: "cvp-configuration/rally/rally_scenarios.json"
440 description: Path to scenario file in container
441 TEST_IMAGE:
442 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500443 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600444 description: Docker image to use for running Rally/Tempest
445 SALT_MASTER_URL:
446 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500447 default: "http://${_param:salt_master_host}:6969"
448 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600449 SALT_MASTER_CREDENTIALS:
450 type: string
451 default: "salt"
452 description: Credentials to the Salt API
453 TARGET_NODE:
454 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400455 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600456 description: Node where docker container with Rally will be run
457 TOOLS_REPO:
458 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500459 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500460 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600461 PROXY:
462 type: string
463 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500464 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600465 cvp-stacklight:
466 type: workflow-scm
467 name: cvp-stacklight
468 display_name: "CVP - Stacklight tests"
469 discard:
470 build:
471 keep_num: 20
472 artifact:
473 keep_num: 20
474 concurrent: false
475 scm:
476 type: git
477 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
478 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400479 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500480 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600481 param:
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500482 IMAGE:
483 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500484 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500485 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600486 SALT_MASTER_URL:
487 type: string
488 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500489 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600490 SALT_MASTER_CREDENTIALS:
491 type: string
492 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500493 EXTRA_PARAMS:
494 type: text
495 default: |
496 envs:
497 - SL_AUTOCONF=True
498 description: YAML context with additional parameters
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}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400513 credentials: ${_param:jenkins_gerrit_credentials}
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 IMAGE:
517 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500518 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500519 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500520 SALT_MASTER_URL:
521 type: string
522 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500523 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500524 SALT_MASTER_CREDENTIALS:
525 type: string
526 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500527 EXTRA_PARAMS:
528 type: text
529 default: |
530 envs:
531 - tests_set=''
Hanna Arhipovac200cd92019-07-16 18:04:04 +0300532 - image_name=Ubuntu
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500533 - networks=10.101.0.0/24
534 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 +0100535 cvp-shaker:
536 type: workflow-scm
537 name: cvp-shaker
538 display_name: "CVP - Shaker network tests"
539 discard:
540 build:
541 keep_num: 20
542 artifact:
543 keep_num: 20
544 concurrent: false
545 scm:
546 type: git
547 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
548 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400549 credentials: ${_param:jenkins_gerrit_credentials}
Oleg Basov0a090cb2019-01-29 01:36:06 +0100550 script: cvp-shaker.groovy
551 param:
552 IMAGE:
553 type: string
554 default: "${_param:docker_image_cvp_shaker_checks}"
555 description: Docker image to use for running Shaker.
556 SALT_MASTER_URL:
557 type: string
558 default: "${_param:jenkins_salt_api_url}"
559 description: Full Salt API address [e.g. https://10.10.10.2:6969].
560 SALT_MASTER_CREDENTIALS:
561 type: string
562 default: "salt"
563 description: Credentials to the Salt API.
Ievgeniia Zadorozhna4ec85412019-11-12 15:03:27 +0300564 SLAVE_NODE:
565 type: string
566 default: "slave01"
567 description: Label or name of node to start the Shaker server (should be one of cicd nodes and should have the IP address of SHAKER_SERVER_ENDPOINT).
Oleg Basov0a090cb2019-01-29 01:36:06 +0100568 SHAKER_PARAMS:
569 type: text
570 default: |
571 ---
572 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
573 SHAKER_SCENARIOS: 'scenarios/essential'
574 SKIP_LIST: ''
575 image_builder:
576 # - SHAKER_FLAVOR_DISK=4
577 # - SHAKER_FLAVOR_RAM=512
578 # - SHAKER_FLAVOR_VCPUS=1
579 # - SHAKER_IMAGE_BUILDER_MODE='dib'
580 shaker:
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 description: |
587 YAML context with parameters for running Shaker tests, where
Ievgeniia Zadorozhna4ec85412019-11-12 15:03:27 +0300588 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). The IP address of SLAVE_NODE with the port. Should be accessible
589 from tenant's VM network (floating network)
Oleg Basov0a090cb2019-01-29 01:36:06 +0100590 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
591 (can be directory or specific file). Main categories are
592 scenarios/essential/l2
593 scenarios/essential/l3
594 scenarios/additional/cross_az
595 scenarios/additional/external
596 scenarios/additional/qos
597 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
598 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
599 "image_builder" - shaker-image-builder env variables
600 SHAKER_FLAVOR_DISK=4
601 SHAKER_FLAVOR_RAM=512
602 SHAKER_FLAVOR_VCPUS=1
603 SHAKER_IMAGE_BUILDER_MODE='dib'
604 "shaker" - main shaker runner env variables
605 SHAKER_AGENT_JOIN_TIMEOUT=300
606 SHAKER_AGENT_LOSS_TIMEOUT=120
607 SCENARIO_AVAILABILITY_ZONE='nova,internal'
608 SCENARIO_COMPUTE_NODES=2
609 SHAKER_EXTERNAL_NET='public'
610 For the more detailed description of the last two categories please refer to the shaker documentation
611 https://pyshaker.readthedocs.io/en/latest/tools.html