blob: ec79239de271bf18e969c6657fc13dec09553ee1 [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 Zhurbad4159632019-07-17 12:58:35 -05009 CVP:
10 cvp:
11 enabled: true
12 type: ListView
13 include_regex: "cvp.*"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070014 job:
15 validate_openstack:
16 type: workflow-scm
17 name: validate-openstack
18 display_name: "Validate - Openstack"
19 discard:
20 build:
Jakub Josef1a828962018-01-23 12:33:34 +010021 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070022 artifact:
Jakub Josef1a828962018-01-23 12:33:34 +010023 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070024 concurrent: false
25 scm:
26 type: git
27 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010028 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +040029 credentials: ${_param:jenkins_gerrit_credentials}
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070030 script: validate-cloud.groovy
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070031 param:
32 SALT_MASTER_URL:
33 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070034 default: "${_param:jenkins_salt_api_url}"
35 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070036 SALT_MASTER_CREDENTIALS:
37 type: string
38 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070039 description: Credentials to the Salt API
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070040 TEST_IMAGE:
41 type: string
azvyagintsev16ca7ce2018-08-21 17:20:33 +030042 default: "${_param:mcp_docker_registry}/mirantis/oss/qa-tools"
Tetiana Korchakd644b352017-08-25 10:30:57 -070043 description: Docker image to setup testing environment
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070044 TARGET_NODE:
45 type: string
46 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070047 description: Target node where this job will be executed from
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070048 RUN_RALLY_TESTS:
49 type: boolean
50 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070051 description: If chosen then Rally tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070052 RUN_TEMPEST_TESTS:
53 type: boolean
54 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070055 description: If chosen then Tempest tests will be executed
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070056 RUN_K8S_TESTS:
57 type: boolean
58 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070059 description: If chosen then K8S tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070060 TEMPEST_TEST_SET:
61 type: choice
62 choices:
63 - smoke
64 - full
Tetiana Korchakd644b352017-08-25 10:30:57 -070065 description: Set of Tempest tests to run
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -080066 TEMPEST_CONFIG_REPO:
67 type: string
68 default: ""
69 description: Git repository with configuration files for Tempest
70 TEMPEST_CONFIG_BRANCH:
71 type: string
72 default: ""
73 description: Git branch which will be used during the checkout
74 TEMPEST_REPO:
75 type: string
76 default: ""
77 description: Git repository with Tempest
78 TEMPEST_VERSION:
79 type: string
80 default: ""
81 description: Version of Tempest (tag, branch or commit)
Tetiana Korchakd644b352017-08-25 10:30:57 -070082 TEST_K8S_NODE:
83 type: string
84 default: ""
85 description: Kubernetes node to run tests from
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070086 TEST_K8S_API_SERVER:
87 type: string
88 default: "http://127.0.0.1:8080"
Tetiana Korchakd644b352017-08-25 10:30:57 -070089 description: API server parameter for K8S tests
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070090 TEST_K8S_CONFORMANCE_IMAGE:
91 type: string
vrovachev7e709802017-09-15 20:04:26 +040092 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Tetiana Korchakd644b352017-08-25 10:30:57 -070093 description: Docker image to run K8S tests
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070094 RUN_SPT_TESTS:
95 type: boolean
96 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070097 description: If chosen then SPT tests will be executed
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070098 SPT_SSH_USER:
99 type: string
100 default: "root"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700101 description: Username that is used to ssh between cluster nodes
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700102 FLOATING_NETWORK:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700103 type: string
104 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700105 description: External(floating) network name (used in both SPT and Rally)
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700106 SPT_IMAGE:
107 type: string
108 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700109 description: Image that is used for network-VM-to-VM-iperf-tests tests
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700110 SPT_IMAGE_USER:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700111 type: string
112 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700113 description: Username that is used to ssh to SPT_IMAGE
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700114 SPT_FLAVOR:
115 type: string
116 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700117 description: Flavor name for SPT_IMAGE (make sure you have required flavor created)
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700118 RALLY_IMAGE:
119 type: string
120 default: "cirros"
121 RALLY_FLAVOR:
122 type: string
123 default: "m1.tiny"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700124 description: Flavor name for Rally scenarios
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -0800125 RALLY_CONFIG_REPO:
126 type: string
127 default: ""
128 description: Git repository with configuration files for Rally
129 RALLY_CONFIG_BRANCH:
130 type: string
131 default: ""
132 description: Git branch which will be used during the checkout
Sergey Galkin42639302017-12-01 16:27:30 +0400133 RALLY_SCENARIOS:
134 type: string
135 default: ""
136 description: Rally scenarios directory or file with scenarios
Oleg Basov894f8c12018-09-04 21:44:12 +0200137 RALLY_SL_SCENARIOS:
138 type: string
139 default: ""
140 description: Stacklight Rally scenarios directory or file with scenarios
Sergey Galkin42639302017-12-01 16:27:30 +0400141 RALLY_TASK_ARGS_FILE:
142 type: string
143 default: ""
144 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700145 AVAILABILITY_ZONE:
146 type: string
147 default: "nova"
148 description: Name of availability zone
149 GENERATE_REPORT:
150 type: boolean
151 default: 'true'
152 description: If chosen then at the end of the test run HTML report will be generated
153 ACCUMULATE_RESULTS:
154 type: boolean
155 default: 'true'
156 description: If chosen then previous build results will be used in the current build
mkraynovdc3b3ee2018-07-25 15:58:29 +0400157 RALLY_PLUGINS_REPO:
158 type: string
159 default: ""
160 description: Git repository with Rally plugins
161 RALLY_PLUGINS_BRANCH:
162 type: string
163 default: ""
164 description: Git branch which will be used during the checkout
165 K8S_RALLY:
166 type: boolean
167 default: 'false'
168 description: If chosen then K8S Rally test will be executed
Oleg Basov894f8c12018-09-04 21:44:12 +0200169 STACKLIGHT_RALLY:
170 type: boolean
171 default: 'false'
172 description: If chosen then Stacklight Rally test will be executed
mkraynovdc3b3ee2018-07-25 15:58:29 +0400173 JOB_TIMEOUT:
174 type: string
175 default: "3"
176 description: Job timeout in hours
177 REPORT_DIR:
178 type: string
179 default: ""
180 description: Path for reports outside docker image
mkraynov3fcda252018-08-07 18:35:18 +0400181 SKIP_LIST:
182 type: string
183 description: "Skip list for Rally test"
184 default: ""
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500185 cvp-sanity:
186 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600187 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500188 display_name: "CVP - Sanity checks"
189 discard:
190 build:
191 keep_num: 20
192 artifact:
193 keep_num: 20
194 concurrent: false
195 scm:
196 type: git
197 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100198 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400199 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500200 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500201 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500202 IMAGE:
203 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500204 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500205 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500206 SALT_MASTER_URL:
207 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600208 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500209 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500210 SALT_MASTER_CREDENTIALS:
211 type: string
212 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500213 EXTRA_PARAMS:
214 type: text
215 default: |
216 envs:
217 - tests_set=''
218 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 -0600219 cvp-func:
220 type: workflow-scm
221 name: cvp-func
222 display_name: "CVP - Functional tests"
223 discard:
224 build:
225 keep_num: 20
226 artifact:
227 keep_num: 20
228 concurrent: false
229 scm:
230 type: git
231 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500232 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400233 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600234 script: cvp-func.groovy
235 param:
236 DEBUG_MODE:
237 type: boolean
238 default: 'false'
239 description: Enable if you need to keep container after the test and debug
240 SKIP_LIST_PATH:
241 type: string
242 default: "cvp-configuration/tempest/skip-list.yaml"
243 description: Path to skip list in container
244 SALT_MASTER_URL:
245 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500246 default: "http://${_param:salt_master_host}:6969"
247 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600248 SALT_MASTER_CREDENTIALS:
249 type: string
250 default: "salt"
251 description: Credentials to the Salt API
252 TEST_IMAGE:
253 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500254 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600255 description: Docker image to use for running Rally/Tempest
256 TARGET_NODE:
257 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400258 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600259 description: Node where container with Tempest will be run
260 PROXY:
261 type: string
262 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500263 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600264 TEMPEST_TEST_PATTERN:
265 type: string
266 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500267 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600268 TEMPEST_ENDPOINT_TYPE:
269 type: choice
270 choices:
271 - internalURL
272 - adminURL
273 - publicURL
274 description: Openstack endpoint type to use during test run
275 TEMPEST_REPO:
276 type: string
277 default: "https://github.com/openstack/tempest"
278 description: URL to Tempest repo (local or remote) or path to tempest folder in container
279 TOOLS_REPO:
280 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500281 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600282 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600283 cvp-ha:
284 type: workflow-scm
285 name: cvp-ha
286 display_name: "CVP - HA tests"
287 discard:
288 build:
289 keep_num: 20
290 artifact:
291 keep_num: 20
292 concurrent: false
293 scm:
294 type: git
295 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500296 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400297 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600298 script: cvp-ha.groovy
299 param:
300 SALT_MASTER_URL:
301 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500302 default: "http://${_param:salt_master_host}:6969"
303 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600304 SALT_MASTER_CREDENTIALS:
305 type: string
306 default: "salt"
307 description: Credentials to the Salt API
308 TEMPEST_TARGET_NODE:
309 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400310 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600311 description: Node where container with tempest will be run
312 TEST_IMAGE:
313 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500314 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600315 description: Docker image to use for running Rally/Tempest
316 TARGET_NODES:
317 type: string
318 default: "ctl*"
319 description: Nodes to test
320 DEBUG_MODE:
321 type: boolean
322 default: 'false'
323 description: If you need to debug (keep container after test), please enabled this
324 RETRY_CHECK_STATUS:
325 type: string
326 default: "200"
327 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
328 SKIP_LIST_PATH:
329 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500330 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600331 description: path to skip-list file inside container
332 PROXY:
333 type: string
334 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500335 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600336 TEMPEST_TEST_PATTERN:
337 type: string
338 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500339 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600340 MANUAL_CONFIRMATION:
341 type: boolean
342 default: 'false'
343 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
344 TEMPEST_REPO:
345 type: string
346 default: "https://github.com/openstack/tempest"
347 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
348 TOOLS_REPO:
349 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500350 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600351 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500352 cvp-tempest:
353 type: workflow-scm
354 name: cvp-tempest
355 display_name: "CVP-Tempest (technical preview)"
356 discard:
357 build:
358 keep_num: 20
359 artifact:
360 keep_num: 20
361 concurrent: false
362 scm:
363 type: git
364 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
365 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400366 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500367 script: cvp-tempest.groovy
368 param:
369 PREPARE_RESOURCES:
370 type: boolean
371 default: true
372 description: Prepare resources for Tempest
373 SALT_MASTER_URL:
374 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500375 default: "http://${_param:salt_master_host}:6969"
376 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500377 TEMPEST_TEST_PATTERN:
378 type: string
379 default: "set=smoke"
380 description: Use set=smoke, set=full or just test name (regex)
381 TEMPEST_ENDPOINT_TYPE:
382 type: choice
383 choices:
384 - internalURL
385 - adminURL
386 - publicURL
387 description: Openstack endpoint type to use during test run.
388 EXTRA_PARAMS:
389 type: text
390 default: |
391 ---
392 DEBUG_MODE: false
393 GENERATE_CONFIG: true
Oleksii Zhurba346fc6f2019-07-17 12:55:27 -0500394 TEST_IMAGE: "${_param:docker_image_cvp_tempest}"
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500395 report_prefix: "cvp_"
396 description: YAML context with additional parameters
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600397 cvp-perf:
398 type: workflow-scm
399 name: cvp-perf
400 display_name: "CVP - Performance tests"
401 discard:
402 build:
403 keep_num: 20
404 artifact:
405 keep_num: 20
406 concurrent: false
407 scm:
408 type: git
409 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500410 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400411 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600412 script: cvp-perf.groovy
413 param:
414 DEBUG_MODE:
415 type: boolean
416 default: 'false'
417 description: Enable if you need to keep container after the test and debug
418 RALLY_SCENARIO_FILE:
419 type: string
420 default: "cvp-configuration/rally/rally_scenarios.json"
421 description: Path to scenario file in container
422 TEST_IMAGE:
423 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500424 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600425 description: Docker image to use for running Rally/Tempest
426 SALT_MASTER_URL:
427 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500428 default: "http://${_param:salt_master_host}:6969"
429 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600430 SALT_MASTER_CREDENTIALS:
431 type: string
432 default: "salt"
433 description: Credentials to the Salt API
434 TARGET_NODE:
435 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400436 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600437 description: Node where docker container with Rally will be run
438 TOOLS_REPO:
439 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500440 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500441 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600442 PROXY:
443 type: string
444 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500445 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600446 cvp-stacklight:
447 type: workflow-scm
448 name: cvp-stacklight
449 display_name: "CVP - Stacklight tests"
450 discard:
451 build:
452 keep_num: 20
453 artifact:
454 keep_num: 20
455 concurrent: false
456 scm:
457 type: git
458 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
459 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400460 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500461 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600462 param:
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500463 IMAGE:
464 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500465 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500466 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600467 SALT_MASTER_URL:
468 type: string
469 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500470 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600471 SALT_MASTER_CREDENTIALS:
472 type: string
473 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500474 EXTRA_PARAMS:
475 type: text
476 default: |
477 envs:
478 - SL_AUTOCONF=True
479 description: YAML context with additional parameters
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500480 cvp-spt:
481 type: workflow-scm
482 name: cvp-spt
483 display_name: "CVP - Simplified Performance Tests (SPT)"
484 discard:
485 build:
486 keep_num: 20
487 artifact:
488 keep_num: 20
489 concurrent: false
490 scm:
491 type: git
492 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
493 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400494 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500495 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500496 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500497 IMAGE:
498 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500499 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500500 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500501 SALT_MASTER_URL:
502 type: string
503 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500504 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500505 SALT_MASTER_CREDENTIALS:
506 type: string
507 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500508 EXTRA_PARAMS:
509 type: text
510 default: |
511 envs:
512 - tests_set=''
Hanna Arhipovac200cd92019-07-16 18:04:04 +0300513 - image_name=Ubuntu
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500514 - networks=10.101.0.0/24
515 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 +0100516 cvp-shaker:
517 type: workflow-scm
518 name: cvp-shaker
519 display_name: "CVP - Shaker network tests"
520 discard:
521 build:
522 keep_num: 20
523 artifact:
524 keep_num: 20
525 concurrent: false
526 scm:
527 type: git
528 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
529 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400530 credentials: ${_param:jenkins_gerrit_credentials}
Oleg Basov0a090cb2019-01-29 01:36:06 +0100531 script: cvp-shaker.groovy
532 param:
533 IMAGE:
534 type: string
535 default: "${_param:docker_image_cvp_shaker_checks}"
536 description: Docker image to use for running Shaker.
537 SALT_MASTER_URL:
538 type: string
539 default: "${_param:jenkins_salt_api_url}"
540 description: Full Salt API address [e.g. https://10.10.10.2:6969].
541 SALT_MASTER_CREDENTIALS:
542 type: string
543 default: "salt"
544 description: Credentials to the Salt API.
545 SHAKER_PARAMS:
546 type: text
547 default: |
548 ---
549 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
550 SHAKER_SCENARIOS: 'scenarios/essential'
551 SKIP_LIST: ''
552 image_builder:
553 # - SHAKER_FLAVOR_DISK=4
554 # - SHAKER_FLAVOR_RAM=512
555 # - SHAKER_FLAVOR_VCPUS=1
556 # - SHAKER_IMAGE_BUILDER_MODE='dib'
557 shaker:
558 # - SHAKER_AGENT_JOIN_TIMEOUT=300
559 # - SHAKER_AGENT_LOSS_TIMEOUT=120
560 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
561 # - SCENARIO_COMPUTE_NODES=2
562 # - SHAKER_EXTERNAL_NET='public'
563 description: |
564 YAML context with parameters for running Shaker tests, where
565 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible
566 from tenant's VM network (usually equals to public address of cicd node)
567 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
568 (can be directory or specific file). Main categories are
569 scenarios/essential/l2
570 scenarios/essential/l3
571 scenarios/additional/cross_az
572 scenarios/additional/external
573 scenarios/additional/qos
574 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
575 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
576 "image_builder" - shaker-image-builder env variables
577 SHAKER_FLAVOR_DISK=4
578 SHAKER_FLAVOR_RAM=512
579 SHAKER_FLAVOR_VCPUS=1
580 SHAKER_IMAGE_BUILDER_MODE='dib'
581 "shaker" - main shaker runner env variables
582 SHAKER_AGENT_JOIN_TIMEOUT=300
583 SHAKER_AGENT_LOSS_TIMEOUT=120
584 SCENARIO_AVAILABILITY_ZONE='nova,internal'
585 SCENARIO_COMPUTE_NODES=2
586 SHAKER_EXTERNAL_NET='public'
587 For the more detailed description of the last two categories please refer to the shaker documentation
588 https://pyshaker.readthedocs.io/en/latest/tools.html