blob: 76d206efc889e8d821e59cd5edc5dff450aa5364 [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.*"
9 job:
10 validate_openstack:
11 type: workflow-scm
12 name: validate-openstack
13 display_name: "Validate - Openstack"
14 discard:
15 build:
Jakub Josef1a828962018-01-23 12:33:34 +010016 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070017 artifact:
Jakub Josef1a828962018-01-23 12:33:34 +010018 keep_num: 50
Oleg Basov8c0bbeb2019-03-27 01:19:14 +010019 concurrent: true
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070020 scm:
21 type: git
22 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010023 branch: "${_param:jenkins_pipelines_branch}"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070024 credentials: "gerrit"
25 script: validate-cloud.groovy
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070026 param:
Oleg Basovf465e462019-03-05 23:54:47 +010027 JOB_TIMEOUT:
28 type: string
29 default: "3"
30 description: Job timeout in hours
Oleg Basovf465e462019-03-05 23:54:47 +010031 TEST_IMAGE:
32 type: string
Oleg Basov90042ad2019-04-07 12:31:22 +020033 default: "xrally/xrally-openstack:1.4.0"
Oleg Basov8c0bbeb2019-03-27 01:19:14 +010034 description: Rally docker image to use for running tests
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070035 SALT_MASTER_URL:
36 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070037 default: "${_param:jenkins_salt_api_url}"
38 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070039 SALT_MASTER_CREDENTIALS:
40 type: string
41 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070042 description: Credentials to the Salt API
Oleg Basovf465e462019-03-05 23:54:47 +010043 VALIDATE_PARAMS:
44 type: text
Oleg Basov8c0bbeb2019-03-27 01:19:14 +010045 description: YAML of parameters for Rally test
46 default: |
Oleg Basovf465e462019-03-05 23:54:47 +010047 ---
48 rally:
49 # Name of availability zone
50 AVAILABILITY_ZONE: 'nova'
51 # External(floating) network name
52 FLOATING_NETWORK: 'public'
53 # Rally base image for glance
54 RALLY_IMAGE: 'cirros'
55 # Flavor name for Rally scenarios
56 RALLY_FLAVOR: 'm1.tiny'
57 # Git repository with configuration files for Rally
Oleg Basov90042ad2019-04-07 12:31:22 +020058 RALLY_CONFIG_REPO: 'https://review.gerrithub.io/Mirantis/scale-scenarios'
Oleg Basovf465e462019-03-05 23:54:47 +010059 # Git branch which will be used during the checkout
60 RALLY_CONFIG_BRANCH: 'master'
61 # Git repository with Rally plugins
62 RALLY_PLUGINS_REPO: 'https://github.com/Mirantis/rally-plugins'
63 # Git branch which will be used during the checkout
64 RALLY_PLUGINS_BRANCH: 'master'
65 # Rally scenarios directory or file with scenarios
66 RALLY_SCENARIOS: 'rally-scenarios-light'
67 # Stacklight Rally scenarios directory or file with scenarios
68 RALLY_SL_SCENARIOS: 'rally-stacklight'
69 # Rally scenarios arguments file
70 RALLY_TASK_ARGS_FILE: 'job-params-light.yaml'
71 # Rally-compliant DB connection string for long-term results storing
72 RALLY_DB_CONN_STRING: ''
73 # List of tags for marking Rally tasks. Used as filter for Rally trends
74 RALLY_TAGS:
75 # - 'platform=openstack'
76 # - 'env=your_env_name'
77 # - 'cmp=2'
78 # Generate rally trends report. Requires an external DB
79 RALLY_TRENDS: 'false'
80 # If chosen K8S Rally plugin will be used to test K8S cluster
81 K8S_RALLY: 'false'
82 # If chosen then Stacklight Rally test will be executed
83 STACKLIGHT_RALLY: 'false'
Oleg Basovf465e462019-03-05 23:54:47 +010084 # Scenarios names/dirs to skip
85 SKIP_LIST: ''
Oleg Basov90042ad2019-04-07 12:31:22 +020086 # Run in parallel for each directory inside RALLY_SCENARIOS and RALLY_SL_SCENARIOS
87 PARALLEL_PERFORMANCE: 'false'
Oleksii Zhurbad97ac812017-10-05 14:18:50 -050088 cvp-sanity:
89 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -060090 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -050091 display_name: "CVP - Sanity checks"
92 discard:
93 build:
94 keep_num: 20
95 artifact:
96 keep_num: 20
97 concurrent: false
98 scm:
99 type: git
100 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100101 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500102 credentials: "gerrit"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500103 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500104 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500105 IMAGE:
106 type: string
azvyagintsev33afffc2019-02-22 14:20:20 +0200107 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500108 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500109 SALT_MASTER_URL:
110 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600111 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500112 description: Full Salt API address [e.g. https://10.10.10.2:6969]
113 SALT_MASTER_CREDENTIALS:
114 type: string
115 default: "salt"
Hanna Arhipova718fbf62019-01-24 18:50:02 +0200116 EXTRA_PARAMS:
117 type: text
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500118 default: |
119 envs:
120 - tests_set=''
121 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 -0600122 cvp-func:
123 type: workflow-scm
124 name: cvp-func
125 display_name: "CVP - Functional tests"
126 discard:
127 build:
128 keep_num: 20
129 artifact:
130 keep_num: 20
131 concurrent: false
132 scm:
133 type: git
134 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500135 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600136 credentials: "gerrit"
137 script: cvp-func.groovy
138 param:
139 DEBUG_MODE:
140 type: boolean
141 default: 'false'
142 description: Enable if you need to keep container after the test and debug
143 SKIP_LIST_PATH:
144 type: string
145 default: "cvp-configuration/tempest/skip-list.yaml"
146 description: Path to skip list in container
147 SALT_MASTER_URL:
148 type: string
149 default: "${_param:jenkins_salt_api_url}"
150 description: Full Salt API address [e.g. https://10.10.10.2:6969]
151 SALT_MASTER_CREDENTIALS:
152 type: string
153 default: "salt"
154 description: Credentials to the Salt API
155 TEST_IMAGE:
156 type: string
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500157 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600158 description: Docker image to use for running Rally/Tempest
159 TARGET_NODE:
160 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400161 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600162 description: Node where container with Tempest will be run
163 PROXY:
164 type: string
165 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500166 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600167 TEMPEST_TEST_PATTERN:
168 type: string
169 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500170 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600171 TEMPEST_ENDPOINT_TYPE:
172 type: choice
173 choices:
174 - internalURL
175 - adminURL
176 - publicURL
177 description: Openstack endpoint type to use during test run
178 TEMPEST_REPO:
179 type: string
180 default: "https://github.com/openstack/tempest"
181 description: URL to Tempest repo (local or remote) or path to tempest folder in container
182 TOOLS_REPO:
183 type: string
184 default: "https://github.com/Mirantis/cvp-configuration"
185 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600186 cvp-ha:
187 type: workflow-scm
188 name: cvp-ha
189 display_name: "CVP - HA tests"
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"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500199 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600200 credentials: "gerrit"
201 script: cvp-ha.groovy
202 param:
203 SALT_MASTER_URL:
204 type: string
205 default: "${_param:jenkins_salt_api_url}"
206 description: Full Salt API address [e.g. https://10.10.10.2:6969]
207 SALT_MASTER_CREDENTIALS:
208 type: string
209 default: "salt"
210 description: Credentials to the Salt API
211 TEMPEST_TARGET_NODE:
212 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400213 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600214 description: Node where container with tempest will be run
215 TEST_IMAGE:
216 type: string
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500217 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600218 description: Docker image to use for running Rally/Tempest
219 TARGET_NODES:
220 type: string
221 default: "ctl*"
222 description: Nodes to test
223 DEBUG_MODE:
224 type: boolean
225 default: 'false'
226 description: If you need to debug (keep container after test), please enabled this
227 RETRY_CHECK_STATUS:
228 type: string
229 default: "200"
230 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
231 SKIP_LIST_PATH:
232 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500233 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600234 description: path to skip-list file inside container
235 PROXY:
236 type: string
237 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500238 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600239 TEMPEST_TEST_PATTERN:
240 type: string
241 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500242 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600243 MANUAL_CONFIRMATION:
244 type: boolean
245 default: 'false'
246 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
247 TEMPEST_REPO:
248 type: string
249 default: "https://github.com/openstack/tempest"
250 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
251 TOOLS_REPO:
252 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500253 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600254 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600255 cvp-perf:
256 type: workflow-scm
257 name: cvp-perf
258 display_name: "CVP - Performance tests"
259 discard:
260 build:
261 keep_num: 20
262 artifact:
263 keep_num: 20
264 concurrent: false
265 scm:
266 type: git
267 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500268 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600269 credentials: "gerrit"
270 script: cvp-perf.groovy
271 param:
272 DEBUG_MODE:
273 type: boolean
274 default: 'false'
275 description: Enable if you need to keep container after the test and debug
276 RALLY_SCENARIO_FILE:
277 type: string
278 default: "cvp-configuration/rally/rally_scenarios.json"
279 description: Path to scenario file in container
280 TEST_IMAGE:
281 type: string
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500282 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600283 description: Docker image to use for running Rally/Tempest
284 SALT_MASTER_URL:
285 type: string
286 default: "${_param:jenkins_salt_api_url}"
287 description: Full Salt API address [e.g. https://10.10.10.2:6969]
288 SALT_MASTER_CREDENTIALS:
289 type: string
290 default: "salt"
291 description: Credentials to the Salt API
292 TARGET_NODE:
293 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400294 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600295 description: Node where docker container with Rally will be run
296 TOOLS_REPO:
297 type: string
298 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500299 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600300 PROXY:
301 type: string
302 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500303 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600304 cvp-stacklight:
305 type: workflow-scm
306 name: cvp-stacklight
307 display_name: "CVP - Stacklight tests"
308 discard:
309 build:
310 keep_num: 20
311 artifact:
312 keep_num: 20
313 concurrent: false
314 scm:
315 type: git
316 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
317 branch: "${_param:jenkins_pipelines_branch}"
318 credentials: "gerrit"
Hanna Arhipova8285e612019-02-14 13:45:17 +0200319 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600320 param:
Hanna Arhipova8285e612019-02-14 13:45:17 +0200321 IMAGE:
322 type: string
323 default: ${_param:docker_image_cvp_sanity_checks}
324 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600325 SALT_MASTER_URL:
326 type: string
327 default: "${_param:jenkins_salt_api_url}"
328 description: Full Salt API address [e.g. https://10.10.10.2:6969]
329 SALT_MASTER_CREDENTIALS:
330 type: string
331 default: "salt"
Hanna Arhipova8285e612019-02-14 13:45:17 +0200332 EXTRA_PARAMS:
333 type: text
334 default: |
335 envs:
336 - SL_AUTOCONF=True
337 description: YAML context with additional parameters
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500338 cvp-spt:
339 type: workflow-scm
340 name: cvp-spt
341 display_name: "CVP - Simplified Performance Tests (SPT)"
342 discard:
343 build:
344 keep_num: 20
345 artifact:
346 keep_num: 20
347 concurrent: false
348 scm:
349 type: git
350 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
351 branch: "${_param:jenkins_pipelines_branch}"
352 credentials: "gerrit"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500353 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500354 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500355 IMAGE:
356 type: string
azvyagintsev33afffc2019-02-22 14:20:20 +0200357 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500358 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500359 SALT_MASTER_URL:
360 type: string
361 default: "${_param:jenkins_salt_api_url}"
362 description: Full Salt API address [e.g. https://10.10.10.2:6969]
363 SALT_MASTER_CREDENTIALS:
364 type: string
365 default: "salt"
Hanna Arhipova718fbf62019-01-24 18:50:02 +0200366 EXTRA_PARAMS:
367 type: text
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500368 default: |
369 envs:
370 - tests_set=''
371 - image_name='Ubuntu'
372 - networks=10.101.0.0/24
373 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 Basove8143de2019-01-29 01:36:06 +0100374 cvp-shaker:
375 type: workflow-scm
376 name: cvp-shaker
377 display_name: "CVP - Shaker network tests"
378 discard:
379 build:
380 keep_num: 20
381 artifact:
382 keep_num: 20
383 concurrent: false
384 scm:
385 type: git
386 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
387 branch: "${_param:jenkins_pipelines_branch}"
388 credentials: "gerrit"
389 script: cvp-shaker.groovy
390 param:
391 IMAGE:
392 type: string
Oleg Basov06938fe2019-04-01 20:41:24 +0200393 default: "${_param:docker_image_cvp_shaker_checks}"
Oleg Basove8143de2019-01-29 01:36:06 +0100394 description: Docker image to use for running Shaker.
395 SALT_MASTER_URL:
396 type: string
397 default: "${_param:jenkins_salt_api_url}"
398 description: Full Salt API address [e.g. https://10.10.10.2:6969].
399 SALT_MASTER_CREDENTIALS:
400 type: string
401 default: "salt"
402 description: Credentials to the Salt API.
403 SHAKER_PARAMS:
404 type: text
405 default: |
406 ---
407 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
408 SHAKER_SCENARIOS: 'scenarios/essential'
409 SKIP_LIST: ''
Oleg Basovc3602a72019-02-15 15:49:09 +0100410 MATRIX: ''
Oleg Basove8143de2019-01-29 01:36:06 +0100411 image_builder:
412 # - SHAKER_FLAVOR_DISK=4
413 # - SHAKER_FLAVOR_RAM=512
414 # - SHAKER_FLAVOR_VCPUS=1
415 # - SHAKER_IMAGE_BUILDER_MODE='dib'
416 shaker:
417 # - SHAKER_AGENT_JOIN_TIMEOUT=300
418 # - SHAKER_AGENT_LOSS_TIMEOUT=120
419 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
420 # - SCENARIO_COMPUTE_NODES=2
421 # - SHAKER_EXTERNAL_NET='public'
422 description: |
423 YAML context with parameters for running Shaker tests, where
424 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible
425 from tenant's VM network (usually equals to public address of cicd node)
426 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
427 (can be directory or specific file). Main categories are
428 scenarios/essential/l2
429 scenarios/essential/l3
430 scenarios/additional/cross_az
431 scenarios/additional/external
432 scenarios/additional/qos
Oleg Basovc3602a72019-02-15 15:49:09 +0100433 "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format.
434 To override a scenario duration one may provide "{time: 10}", or to override list of hosts:
435 "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are
436 tested. It is a required field for some of external-category scenarios when the host name with iperf3
437 server needs to be provided as a command-line parameter, e.g. "{host: 10.13.100.4}".
Oleg Basove8143de2019-01-29 01:36:06 +0100438 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
439 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
440 "image_builder" - shaker-image-builder env variables
441 SHAKER_FLAVOR_DISK=4
442 SHAKER_FLAVOR_RAM=512
443 SHAKER_FLAVOR_VCPUS=1
444 SHAKER_IMAGE_BUILDER_MODE='dib'
445 "shaker" - main shaker runner env variables
446 SHAKER_AGENT_JOIN_TIMEOUT=300
447 SHAKER_AGENT_LOSS_TIMEOUT=120
448 SCENARIO_AVAILABILITY_ZONE='nova,internal'
449 SCENARIO_COMPUTE_NODES=2
450 SHAKER_EXTERNAL_NET='public'
451 For the more detailed description of the last two categories please refer to the shaker documentation
452 https://pyshaker.readthedocs.io/en/latest/tools.html