blob: 92d369c9e296d2934ff960a782376bf87c50ecc1 [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=''
Ievgeniia Zadorozhna8cd96622019-11-13 18:37:39 +0300217 override_config:
218 skipped_nodes: []
219 description: |
220 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:
221 envs:
222 - tests_set='tests/test_mtu.py'
223 override_config:
224 drivetrain_version: 2019.2.0
225 skipped_groups:
226 - log
227 test_duplicate_ips:
228 skipped_ifaces:
229 - lo
230 - virbr0
231 - docker_gwbridge
232 - docker0
233 test_packages:
234 skipped_packages: []
235 skip_test: 'false'
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600236 cvp-func:
237 type: workflow-scm
238 name: cvp-func
239 display_name: "CVP - Functional tests"
240 discard:
241 build:
242 keep_num: 20
243 artifact:
244 keep_num: 20
245 concurrent: false
246 scm:
247 type: git
248 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500249 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400250 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600251 script: cvp-func.groovy
252 param:
253 DEBUG_MODE:
254 type: boolean
255 default: 'false'
256 description: Enable if you need to keep container after the test and debug
257 SKIP_LIST_PATH:
258 type: string
259 default: "cvp-configuration/tempest/skip-list.yaml"
260 description: Path to skip list in container
261 SALT_MASTER_URL:
262 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500263 default: "http://${_param:salt_master_host}:6969"
264 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600265 SALT_MASTER_CREDENTIALS:
266 type: string
267 default: "salt"
268 description: Credentials to the Salt API
269 TEST_IMAGE:
270 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500271 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600272 description: Docker image to use for running Rally/Tempest
273 TARGET_NODE:
274 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400275 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600276 description: Node where container with Tempest will be run
277 PROXY:
278 type: string
279 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500280 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600281 TEMPEST_TEST_PATTERN:
282 type: string
283 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500284 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600285 TEMPEST_ENDPOINT_TYPE:
286 type: choice
287 choices:
288 - internalURL
289 - adminURL
290 - publicURL
291 description: Openstack endpoint type to use during test run
292 TEMPEST_REPO:
293 type: string
294 default: "https://github.com/openstack/tempest"
295 description: URL to Tempest repo (local or remote) or path to tempest folder in container
296 TOOLS_REPO:
297 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500298 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600299 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600300 cvp-ha:
301 type: workflow-scm
302 name: cvp-ha
303 display_name: "CVP - HA tests"
304 discard:
305 build:
306 keep_num: 20
307 artifact:
308 keep_num: 20
309 concurrent: false
310 scm:
311 type: git
312 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500313 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400314 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600315 script: cvp-ha.groovy
316 param:
317 SALT_MASTER_URL:
318 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500319 default: "http://${_param:salt_master_host}:6969"
320 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600321 SALT_MASTER_CREDENTIALS:
322 type: string
323 default: "salt"
324 description: Credentials to the Salt API
325 TEMPEST_TARGET_NODE:
326 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400327 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600328 description: Node where container with tempest will be run
329 TEST_IMAGE:
330 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500331 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600332 description: Docker image to use for running Rally/Tempest
333 TARGET_NODES:
334 type: string
335 default: "ctl*"
336 description: Nodes to test
337 DEBUG_MODE:
338 type: boolean
339 default: 'false'
340 description: If you need to debug (keep container after test), please enabled this
341 RETRY_CHECK_STATUS:
342 type: string
343 default: "200"
344 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
345 SKIP_LIST_PATH:
346 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500347 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600348 description: path to skip-list file inside container
349 PROXY:
350 type: string
351 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500352 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600353 TEMPEST_TEST_PATTERN:
354 type: string
355 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500356 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600357 MANUAL_CONFIRMATION:
358 type: boolean
359 default: 'false'
360 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
361 TEMPEST_REPO:
362 type: string
363 default: "https://github.com/openstack/tempest"
364 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
365 TOOLS_REPO:
366 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500367 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600368 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500369 cvp-tempest:
370 type: workflow-scm
371 name: cvp-tempest
372 display_name: "CVP-Tempest (technical preview)"
373 discard:
374 build:
375 keep_num: 20
376 artifact:
377 keep_num: 20
378 concurrent: false
379 scm:
380 type: git
381 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
382 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400383 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500384 script: cvp-tempest.groovy
385 param:
386 PREPARE_RESOURCES:
387 type: boolean
388 default: true
389 description: Prepare resources for Tempest
390 SALT_MASTER_URL:
391 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500392 default: "http://${_param:salt_master_host}:6969"
393 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500394 TEMPEST_TEST_PATTERN:
395 type: string
396 default: "set=smoke"
397 description: Use set=smoke, set=full or just test name (regex)
398 TEMPEST_ENDPOINT_TYPE:
399 type: choice
400 choices:
401 - internalURL
402 - adminURL
403 - publicURL
404 description: Openstack endpoint type to use during test run.
405 EXTRA_PARAMS:
406 type: text
407 default: |
408 ---
409 DEBUG_MODE: false
410 GENERATE_CONFIG: true
Oleksii Zhurba346fc6f2019-07-17 12:55:27 -0500411 TEST_IMAGE: "${_param:docker_image_cvp_tempest}"
Oleksii Zhurba5c37a232019-03-26 16:26:43 -0500412 report_prefix: "cvp_"
413 description: YAML context with additional parameters
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600414 cvp-perf:
415 type: workflow-scm
416 name: cvp-perf
417 display_name: "CVP - Performance tests"
418 discard:
419 build:
420 keep_num: 20
421 artifact:
422 keep_num: 20
423 concurrent: false
424 scm:
425 type: git
426 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500427 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400428 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600429 script: cvp-perf.groovy
430 param:
431 DEBUG_MODE:
432 type: boolean
433 default: 'false'
434 description: Enable if you need to keep container after the test and debug
435 RALLY_SCENARIO_FILE:
436 type: string
437 default: "cvp-configuration/rally/rally_scenarios.json"
438 description: Path to scenario file in container
439 TEST_IMAGE:
440 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500441 default: "${_param:docker_image_cvp_xrally}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600442 description: Docker image to use for running Rally/Tempest
443 SALT_MASTER_URL:
444 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500445 default: "http://${_param:salt_master_host}:6969"
446 description: Full Salt API address [e.g. http://10.10.10.2:6969]
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600447 SALT_MASTER_CREDENTIALS:
448 type: string
449 default: "salt"
450 description: Credentials to the Salt API
451 TARGET_NODE:
452 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400453 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600454 description: Node where docker container with Rally will be run
455 TOOLS_REPO:
456 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500457 default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500458 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600459 PROXY:
460 type: string
461 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500462 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600463 cvp-stacklight:
464 type: workflow-scm
465 name: cvp-stacklight
466 display_name: "CVP - Stacklight tests"
467 discard:
468 build:
469 keep_num: 20
470 artifact:
471 keep_num: 20
472 concurrent: false
473 scm:
474 type: git
475 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
476 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400477 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500478 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600479 param:
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500480 IMAGE:
481 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500482 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500483 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600484 SALT_MASTER_URL:
485 type: string
486 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500487 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600488 SALT_MASTER_CREDENTIALS:
489 type: string
490 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500491 EXTRA_PARAMS:
492 type: text
493 default: |
494 envs:
495 - SL_AUTOCONF=True
496 description: YAML context with additional parameters
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500497 cvp-spt:
498 type: workflow-scm
499 name: cvp-spt
500 display_name: "CVP - Simplified Performance Tests (SPT)"
501 discard:
502 build:
503 keep_num: 20
504 artifact:
505 keep_num: 20
506 concurrent: false
507 scm:
508 type: git
509 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
510 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400511 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500512 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500513 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500514 IMAGE:
515 type: string
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500516 default: "${_param:docker_image_cvp_sanity_checks}"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500517 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500518 SALT_MASTER_URL:
519 type: string
520 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad4159632019-07-17 12:58:35 -0500521 description: Full Salt API address [e.g. https://10.10.10.2:8969]
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500522 SALT_MASTER_CREDENTIALS:
523 type: string
524 default: "salt"
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500525 EXTRA_PARAMS:
526 type: text
527 default: |
528 envs:
529 - tests_set=''
Hanna Arhipovac200cd92019-07-16 18:04:04 +0300530 - image_name=Ubuntu
Oleksii Zhurba066242d2019-04-16 17:32:17 -0500531 - networks=10.101.0.0/24
532 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 +0100533 cvp-shaker:
534 type: workflow-scm
535 name: cvp-shaker
536 display_name: "CVP - Shaker network tests"
537 discard:
538 build:
539 keep_num: 20
540 artifact:
541 keep_num: 20
542 concurrent: false
543 scm:
544 type: git
545 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
546 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +0400547 credentials: ${_param:jenkins_gerrit_credentials}
Oleg Basov0a090cb2019-01-29 01:36:06 +0100548 script: cvp-shaker.groovy
549 param:
550 IMAGE:
551 type: string
552 default: "${_param:docker_image_cvp_shaker_checks}"
553 description: Docker image to use for running Shaker.
554 SALT_MASTER_URL:
555 type: string
556 default: "${_param:jenkins_salt_api_url}"
557 description: Full Salt API address [e.g. https://10.10.10.2:6969].
558 SALT_MASTER_CREDENTIALS:
559 type: string
560 default: "salt"
561 description: Credentials to the Salt API.
Ievgeniia Zadorozhna4ec85412019-11-12 15:03:27 +0300562 SLAVE_NODE:
563 type: string
564 default: "slave01"
565 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 +0100566 SHAKER_PARAMS:
567 type: text
568 default: |
569 ---
570 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
571 SHAKER_SCENARIOS: 'scenarios/essential'
572 SKIP_LIST: ''
573 image_builder:
574 # - SHAKER_FLAVOR_DISK=4
575 # - SHAKER_FLAVOR_RAM=512
576 # - SHAKER_FLAVOR_VCPUS=1
577 # - SHAKER_IMAGE_BUILDER_MODE='dib'
578 shaker:
579 # - SHAKER_AGENT_JOIN_TIMEOUT=300
580 # - SHAKER_AGENT_LOSS_TIMEOUT=120
581 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
582 # - SCENARIO_COMPUTE_NODES=2
583 # - SHAKER_EXTERNAL_NET='public'
584 description: |
585 YAML context with parameters for running Shaker tests, where
Ievgeniia Zadorozhna4ec85412019-11-12 15:03:27 +0300586 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). The IP address of SLAVE_NODE with the port. Should be accessible
587 from tenant's VM network (floating network)
Oleg Basov0a090cb2019-01-29 01:36:06 +0100588 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
589 (can be directory or specific file). Main categories are
590 scenarios/essential/l2
591 scenarios/essential/l3
592 scenarios/additional/cross_az
593 scenarios/additional/external
594 scenarios/additional/qos
595 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
596 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
597 "image_builder" - shaker-image-builder env variables
598 SHAKER_FLAVOR_DISK=4
599 SHAKER_FLAVOR_RAM=512
600 SHAKER_FLAVOR_VCPUS=1
601 SHAKER_IMAGE_BUILDER_MODE='dib'
602 "shaker" - main shaker runner env variables
603 SHAKER_AGENT_JOIN_TIMEOUT=300
604 SHAKER_AGENT_LOSS_TIMEOUT=120
605 SCENARIO_AVAILABILITY_ZONE='nova,internal'
606 SCENARIO_COMPUTE_NODES=2
607 SHAKER_EXTERNAL_NET='public'
608 For the more detailed description of the last two categories please refer to the shaker documentation
609 https://pyshaker.readthedocs.io/en/latest/tools.html