blob: 0fff7785ad6a00de678e159e3b0770c0d30083b6 [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
24 scm:
25 type: git
26 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010027 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +040028 credentials: ${_param:jenkins_gerrit_credentials}
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070029 script: validate-cloud.groovy
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070030 param:
31 SALT_MASTER_URL:
32 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070033 default: "${_param:jenkins_salt_api_url}"
34 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070035 SALT_MASTER_CREDENTIALS:
36 type: string
37 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070038 description: Credentials to the Salt API
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070039 TEST_IMAGE:
40 type: string
azvyagintsev16ca7ce2018-08-21 17:20:33 +030041 default: "${_param:mcp_docker_registry}/mirantis/oss/qa-tools"
Tetiana Korchakd644b352017-08-25 10:30:57 -070042 description: Docker image to setup testing environment
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070043 TARGET_NODE:
44 type: string
45 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070046 description: Target node where this job will be executed from
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070047 RUN_RALLY_TESTS:
48 type: boolean
49 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070050 description: If chosen then Rally tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070051 RUN_TEMPEST_TESTS:
52 type: boolean
53 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070054 description: If chosen then Tempest tests will be executed
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070055 RUN_K8S_TESTS:
56 type: boolean
57 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070058 description: If chosen then K8S tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070059 TEMPEST_TEST_SET:
60 type: choice
61 choices:
62 - smoke
63 - full
Tetiana Korchakd644b352017-08-25 10:30:57 -070064 description: Set of Tempest tests to run
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -080065 TEMPEST_CONFIG_REPO:
66 type: string
67 default: ""
68 description: Git repository with configuration files for Tempest
69 TEMPEST_CONFIG_BRANCH:
70 type: string
71 default: ""
72 description: Git branch which will be used during the checkout
73 TEMPEST_REPO:
74 type: string
75 default: ""
76 description: Git repository with Tempest
77 TEMPEST_VERSION:
78 type: string
79 default: ""
80 description: Version of Tempest (tag, branch or commit)
Tetiana Korchakd644b352017-08-25 10:30:57 -070081 TEST_K8S_NODE:
82 type: string
83 default: ""
84 description: Kubernetes node to run tests from
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070085 TEST_K8S_API_SERVER:
86 type: string
87 default: "http://127.0.0.1:8080"
Tetiana Korchakd644b352017-08-25 10:30:57 -070088 description: API server parameter for K8S tests
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070089 TEST_K8S_CONFORMANCE_IMAGE:
90 type: string
vrovachev7e709802017-09-15 20:04:26 +040091 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Tetiana Korchakd644b352017-08-25 10:30:57 -070092 description: Docker image to run K8S tests
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070093 RUN_SPT_TESTS:
94 type: boolean
95 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070096 description: If chosen then SPT tests will be executed
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070097 SPT_SSH_USER:
98 type: string
99 default: "root"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700100 description: Username that is used to ssh between cluster nodes
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700101 FLOATING_NETWORK:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700102 type: string
103 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700104 description: External(floating) network name (used in both SPT and Rally)
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700105 SPT_IMAGE:
106 type: string
107 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700108 description: Image that is used for network-VM-to-VM-iperf-tests tests
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700109 SPT_IMAGE_USER:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700110 type: string
111 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700112 description: Username that is used to ssh to SPT_IMAGE
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700113 SPT_FLAVOR:
114 type: string
115 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700116 description: Flavor name for SPT_IMAGE (make sure you have required flavor created)
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700117 RALLY_IMAGE:
118 type: string
119 default: "cirros"
120 RALLY_FLAVOR:
121 type: string
122 default: "m1.tiny"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700123 description: Flavor name for Rally scenarios
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -0800124 RALLY_CONFIG_REPO:
125 type: string
126 default: ""
127 description: Git repository with configuration files for Rally
128 RALLY_CONFIG_BRANCH:
129 type: string
130 default: ""
131 description: Git branch which will be used during the checkout
Sergey Galkin42639302017-12-01 16:27:30 +0400132 RALLY_SCENARIOS:
133 type: string
134 default: ""
135 description: Rally scenarios directory or file with scenarios
Oleg Basov894f8c12018-09-04 21:44:12 +0200136 RALLY_SL_SCENARIOS:
137 type: string
138 default: ""
139 description: Stacklight Rally scenarios directory or file with scenarios
Sergey Galkin42639302017-12-01 16:27:30 +0400140 RALLY_TASK_ARGS_FILE:
141 type: string
142 default: ""
143 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700144 AVAILABILITY_ZONE:
145 type: string
146 default: "nova"
147 description: Name of availability zone
148 GENERATE_REPORT:
149 type: boolean
150 default: 'true'
151 description: If chosen then at the end of the test run HTML report will be generated
152 ACCUMULATE_RESULTS:
153 type: boolean
154 default: 'true'
155 description: If chosen then previous build results will be used in the current build
mkraynovdc3b3ee2018-07-25 15:58:29 +0400156 RALLY_PLUGINS_REPO:
157 type: string
158 default: ""
159 description: Git repository with Rally plugins
160 RALLY_PLUGINS_BRANCH:
161 type: string
162 default: ""
163 description: Git branch which will be used during the checkout
164 K8S_RALLY:
165 type: boolean
166 default: 'false'
167 description: If chosen then K8S Rally test will be executed
Oleg Basov894f8c12018-09-04 21:44:12 +0200168 STACKLIGHT_RALLY:
169 type: boolean
170 default: 'false'
171 description: If chosen then Stacklight Rally test will be executed
mkraynovdc3b3ee2018-07-25 15:58:29 +0400172 JOB_TIMEOUT:
173 type: string
174 default: "3"
175 description: Job timeout in hours
176 REPORT_DIR:
177 type: string
178 default: ""
179 description: Path for reports outside docker image
mkraynov3fcda252018-08-07 18:35:18 +0400180 SKIP_LIST:
181 type: string
182 description: "Skip list for Rally test"
183 default: ""
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500184 cvp-sanity:
185 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600186 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500187 display_name: "CVP - Sanity checks"
188 discard:
189 build:
190 keep_num: 20
191 artifact:
192 keep_num: 20
193 concurrent: false
194 scm:
195 type: git
196 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100197 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400198 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500199 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500200 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500201 IMAGE:
202 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500203 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500204 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500205 SALT_MASTER_URL:
206 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600207 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500208 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500209 SALT_MASTER_CREDENTIALS:
210 type: string
211 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500212 EXTRA_PARAMS:
213 type: text
214 default: |
215 envs:
216 - tests_set=''
217 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 -0600218 cvp-func:
219 type: workflow-scm
220 name: cvp-func
221 display_name: "CVP - Functional tests"
222 discard:
223 build:
224 keep_num: 20
225 artifact:
226 keep_num: 20
227 concurrent: false
228 scm:
229 type: git
230 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500231 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400232 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600233 script: cvp-func.groovy
234 param:
235 DEBUG_MODE:
236 type: boolean
237 default: 'false'
238 description: Enable if you need to keep container after the test and debug
239 SKIP_LIST_PATH:
240 type: string
241 default: "cvp-configuration/tempest/skip-list.yaml"
242 description: Path to skip list in container
243 SALT_MASTER_URL:
244 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500245 default: "http://${_param:salt_master_host}:6969"
246 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600247 SALT_MASTER_CREDENTIALS:
248 type: string
249 default: "salt"
250 description: Credentials to the Salt API
251 TEST_IMAGE:
252 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500253 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600254 description: Docker image to use for running Rally/Tempest
255 TARGET_NODE:
256 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400257 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600258 description: Node where container with Tempest will be run
259 PROXY:
260 type: string
261 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500262 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600263 TEMPEST_TEST_PATTERN:
264 type: string
265 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500266 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600267 TEMPEST_ENDPOINT_TYPE:
268 type: choice
269 choices:
270 - internalURL
271 - adminURL
272 - publicURL
273 description: Openstack endpoint type to use during test run
274 TEMPEST_REPO:
275 type: string
276 default: "https://github.com/openstack/tempest"
277 description: URL to Tempest repo (local or remote) or path to tempest folder in container
278 TOOLS_REPO:
279 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500280 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600281 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600282 cvp-ha:
283 type: workflow-scm
284 name: cvp-ha
285 display_name: "CVP - HA tests"
286 discard:
287 build:
288 keep_num: 20
289 artifact:
290 keep_num: 20
291 concurrent: false
292 scm:
293 type: git
294 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500295 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400296 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600297 script: cvp-ha.groovy
298 param:
299 SALT_MASTER_URL:
300 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500301 default: "http://${_param:salt_master_host}:6969"
302 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600303 SALT_MASTER_CREDENTIALS:
304 type: string
305 default: "salt"
306 description: Credentials to the Salt API
307 TEMPEST_TARGET_NODE:
308 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400309 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600310 description: Node where container with tempest will be run
311 TEST_IMAGE:
312 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500313 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600314 description: Docker image to use for running Rally/Tempest
315 TARGET_NODES:
316 type: string
317 default: "ctl*"
318 description: Nodes to test
319 DEBUG_MODE:
320 type: boolean
321 default: 'false'
322 description: If you need to debug (keep container after test), please enabled this
323 RETRY_CHECK_STATUS:
324 type: string
325 default: "200"
326 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
327 SKIP_LIST_PATH:
328 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500329 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600330 description: path to skip-list file inside container
331 PROXY:
332 type: string
333 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500334 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600335 TEMPEST_TEST_PATTERN:
336 type: string
337 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500338 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600339 MANUAL_CONFIRMATION:
340 type: boolean
341 default: 'false'
342 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
343 TEMPEST_REPO:
344 type: string
345 default: "https://github.com/openstack/tempest"
346 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
347 TOOLS_REPO:
348 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500349 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600350 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500351 cvp-tempest:
352 type: workflow-scm
353 name: cvp-tempest
354 display_name: "CVP-Tempest (technical preview)"
355 discard:
356 build:
357 keep_num: 20
358 artifact:
359 keep_num: 20
360 concurrent: false
361 scm:
362 type: git
363 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
364 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400365 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500366 script: cvp-tempest.groovy
367 param:
368 PREPARE_RESOURCES:
369 type: boolean
370 default: true
371 description: Prepare resources for Tempest
372 SALT_MASTER_URL:
373 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500374 default: "http://${_param:salt_master_host}:6969"
375 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500376 TEMPEST_TEST_PATTERN:
377 type: string
378 default: "set=smoke"
379 description: Use set=smoke, set=full or just test name (regex)
380 TEMPEST_ENDPOINT_TYPE:
381 type: choice
382 choices:
383 - internalURL
384 - adminURL
385 - publicURL
386 description: Openstack endpoint type to use during test run.
387 EXTRA_PARAMS:
388 type: text
389 default: |
390 ---
391 DEBUG_MODE: false
392 GENERATE_CONFIG: true
Oleksii Zhurba346fc6f2019-07-17 12:55:27 -0500393 TEST_IMAGE: "${_param:docker_image_cvp_tempest}"
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500394 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}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400410 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600411 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 Zhurbad4159632019-07-17 12:58:35 -0500423 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600424 description: Docker image to use for running Rally/Tempest
425 SALT_MASTER_URL:
426 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500427 default: "http://${_param:salt_master_host}:6969"
428 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600429 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
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500439 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
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}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400459 credentials: ${_param:jenkins_gerrit_credentials}
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
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500464 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500465 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}"
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500469 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600470 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}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400493 credentials: ${_param:jenkins_gerrit_credentials}
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
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500498 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}"
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500503 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500504 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=''
Hanna Arhipovac200cd92019-07-16 18:04:04 +0300512 - image_name=Ubuntu
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500513 - 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}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400529 credentials: ${_param:jenkins_gerrit_credentials}
Oleg Basov0a090cb2019-01-29 01:36:06 +0100530 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