blob: 21313b2d0d4d839f0a837e5d0802f327bd0d6962 [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
118 default: "---"
119 description: YAML context with additional parameters
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600120 cvp-func:
121 type: workflow-scm
122 name: cvp-func
123 display_name: "CVP - Functional tests"
124 discard:
125 build:
126 keep_num: 20
127 artifact:
128 keep_num: 20
129 concurrent: false
130 scm:
131 type: git
132 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500133 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600134 credentials: "gerrit"
135 script: cvp-func.groovy
136 param:
137 DEBUG_MODE:
138 type: boolean
139 default: 'false'
140 description: Enable if you need to keep container after the test and debug
141 SKIP_LIST_PATH:
142 type: string
143 default: "cvp-configuration/tempest/skip-list.yaml"
144 description: Path to skip list in container
145 SALT_MASTER_URL:
146 type: string
147 default: "${_param:jenkins_salt_api_url}"
148 description: Full Salt API address [e.g. https://10.10.10.2:6969]
149 SALT_MASTER_CREDENTIALS:
150 type: string
151 default: "salt"
152 description: Credentials to the Salt API
153 TEST_IMAGE:
154 type: string
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500155 default: "xrally/xrally-openstack:0.10.1"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600156 description: Docker image to use for running Rally/Tempest
157 TARGET_NODE:
158 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400159 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600160 description: Node where container with Tempest will be run
161 PROXY:
162 type: string
163 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500164 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600165 TEMPEST_TEST_PATTERN:
166 type: string
167 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500168 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600169 TEMPEST_ENDPOINT_TYPE:
170 type: choice
171 choices:
172 - internalURL
173 - adminURL
174 - publicURL
175 description: Openstack endpoint type to use during test run
176 TEMPEST_REPO:
177 type: string
178 default: "https://github.com/openstack/tempest"
179 description: URL to Tempest repo (local or remote) or path to tempest folder in container
180 TOOLS_REPO:
181 type: string
182 default: "https://github.com/Mirantis/cvp-configuration"
183 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600184 cvp-ha:
185 type: workflow-scm
186 name: cvp-ha
187 display_name: "CVP - HA tests"
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"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500197 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600198 credentials: "gerrit"
199 script: cvp-ha.groovy
200 param:
201 SALT_MASTER_URL:
202 type: string
203 default: "${_param:jenkins_salt_api_url}"
204 description: Full Salt API address [e.g. https://10.10.10.2:6969]
205 SALT_MASTER_CREDENTIALS:
206 type: string
207 default: "salt"
208 description: Credentials to the Salt API
209 TEMPEST_TARGET_NODE:
210 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400211 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600212 description: Node where container with tempest will be run
213 TEST_IMAGE:
214 type: string
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500215 default: "xrally/xrally-openstack:0.10.1"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600216 description: Docker image to use for running Rally/Tempest
217 TARGET_NODES:
218 type: string
219 default: "ctl*"
220 description: Nodes to test
221 DEBUG_MODE:
222 type: boolean
223 default: 'false'
224 description: If you need to debug (keep container after test), please enabled this
225 RETRY_CHECK_STATUS:
226 type: string
227 default: "200"
228 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
229 SKIP_LIST_PATH:
230 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500231 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600232 description: path to skip-list file inside container
233 PROXY:
234 type: string
235 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500236 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600237 TEMPEST_TEST_PATTERN:
238 type: string
239 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500240 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600241 MANUAL_CONFIRMATION:
242 type: boolean
243 default: 'false'
244 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
245 TEMPEST_REPO:
246 type: string
247 default: "https://github.com/openstack/tempest"
248 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
249 TOOLS_REPO:
250 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500251 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600252 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600253 cvp-perf:
254 type: workflow-scm
255 name: cvp-perf
256 display_name: "CVP - Performance tests"
257 discard:
258 build:
259 keep_num: 20
260 artifact:
261 keep_num: 20
262 concurrent: false
263 scm:
264 type: git
265 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500266 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600267 credentials: "gerrit"
268 script: cvp-perf.groovy
269 param:
270 DEBUG_MODE:
271 type: boolean
272 default: 'false'
273 description: Enable if you need to keep container after the test and debug
274 RALLY_SCENARIO_FILE:
275 type: string
276 default: "cvp-configuration/rally/rally_scenarios.json"
277 description: Path to scenario file in container
278 TEST_IMAGE:
279 type: string
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500280 default: "xrally/xrally-openstack:0.10.1"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600281 description: Docker image to use for running Rally/Tempest
282 SALT_MASTER_URL:
283 type: string
284 default: "${_param:jenkins_salt_api_url}"
285 description: Full Salt API address [e.g. https://10.10.10.2:6969]
286 SALT_MASTER_CREDENTIALS:
287 type: string
288 default: "salt"
289 description: Credentials to the Salt API
290 TARGET_NODE:
291 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400292 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600293 description: Node where docker container with Rally will be run
294 TOOLS_REPO:
295 type: string
296 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500297 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600298 PROXY:
299 type: string
300 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500301 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600302 cvp-stacklight:
303 type: workflow-scm
304 name: cvp-stacklight
305 display_name: "CVP - Stacklight tests"
306 discard:
307 build:
308 keep_num: 20
309 artifact:
310 keep_num: 20
311 concurrent: false
312 scm:
313 type: git
314 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
315 branch: "${_param:jenkins_pipelines_branch}"
316 credentials: "gerrit"
Hanna Arhipova8285e612019-02-14 13:45:17 +0200317 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600318 param:
Hanna Arhipova8285e612019-02-14 13:45:17 +0200319 IMAGE:
320 type: string
321 default: ${_param:docker_image_cvp_sanity_checks}
322 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600323 SALT_MASTER_URL:
324 type: string
325 default: "${_param:jenkins_salt_api_url}"
326 description: Full Salt API address [e.g. https://10.10.10.2:6969]
327 SALT_MASTER_CREDENTIALS:
328 type: string
329 default: "salt"
Hanna Arhipova8285e612019-02-14 13:45:17 +0200330 EXTRA_PARAMS:
331 type: text
332 default: |
333 envs:
334 - SL_AUTOCONF=True
335 description: YAML context with additional parameters
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500336 cvp-spt:
337 type: workflow-scm
338 name: cvp-spt
339 display_name: "CVP - Simplified Performance Tests (SPT)"
340 discard:
341 build:
342 keep_num: 20
343 artifact:
344 keep_num: 20
345 concurrent: false
346 scm:
347 type: git
348 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
349 branch: "${_param:jenkins_pipelines_branch}"
350 credentials: "gerrit"
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500351 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500352 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500353 IMAGE:
354 type: string
azvyagintsev33afffc2019-02-22 14:20:20 +0200355 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500356 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500357 SALT_MASTER_URL:
358 type: string
359 default: "${_param:jenkins_salt_api_url}"
360 description: Full Salt API address [e.g. https://10.10.10.2:6969]
361 SALT_MASTER_CREDENTIALS:
362 type: string
363 default: "salt"
Hanna Arhipova718fbf62019-01-24 18:50:02 +0200364 EXTRA_PARAMS:
365 type: text
366 default: "---"
367 description: YAML context with additional parameters
Oleg Basove8143de2019-01-29 01:36:06 +0100368 cvp-shaker:
369 type: workflow-scm
370 name: cvp-shaker
371 display_name: "CVP - Shaker network tests"
372 discard:
373 build:
374 keep_num: 20
375 artifact:
376 keep_num: 20
377 concurrent: false
378 scm:
379 type: git
380 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
381 branch: "${_param:jenkins_pipelines_branch}"
382 credentials: "gerrit"
383 script: cvp-shaker.groovy
384 param:
385 IMAGE:
386 type: string
Oleg Basov06938fe2019-04-01 20:41:24 +0200387 default: "${_param:docker_image_cvp_shaker_checks}"
Oleg Basove8143de2019-01-29 01:36:06 +0100388 description: Docker image to use for running Shaker.
389 SALT_MASTER_URL:
390 type: string
391 default: "${_param:jenkins_salt_api_url}"
392 description: Full Salt API address [e.g. https://10.10.10.2:6969].
393 SALT_MASTER_CREDENTIALS:
394 type: string
395 default: "salt"
396 description: Credentials to the Salt API.
397 SHAKER_PARAMS:
398 type: text
399 default: |
400 ---
401 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
402 SHAKER_SCENARIOS: 'scenarios/essential'
403 SKIP_LIST: ''
Oleg Basovc3602a72019-02-15 15:49:09 +0100404 MATRIX: ''
Oleg Basove8143de2019-01-29 01:36:06 +0100405 image_builder:
406 # - SHAKER_FLAVOR_DISK=4
407 # - SHAKER_FLAVOR_RAM=512
408 # - SHAKER_FLAVOR_VCPUS=1
409 # - SHAKER_IMAGE_BUILDER_MODE='dib'
410 shaker:
411 # - SHAKER_AGENT_JOIN_TIMEOUT=300
412 # - SHAKER_AGENT_LOSS_TIMEOUT=120
413 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
414 # - SCENARIO_COMPUTE_NODES=2
415 # - SHAKER_EXTERNAL_NET='public'
416 description: |
417 YAML context with parameters for running Shaker tests, where
418 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible
419 from tenant's VM network (usually equals to public address of cicd node)
420 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
421 (can be directory or specific file). Main categories are
422 scenarios/essential/l2
423 scenarios/essential/l3
424 scenarios/additional/cross_az
425 scenarios/additional/external
426 scenarios/additional/qos
Oleg Basovc3602a72019-02-15 15:49:09 +0100427 "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format.
428 To override a scenario duration one may provide "{time: 10}", or to override list of hosts:
429 "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are
430 tested. It is a required field for some of external-category scenarios when the host name with iperf3
431 server needs to be provided as a command-line parameter, e.g. "{host: 10.13.100.4}".
Oleg Basove8143de2019-01-29 01:36:06 +0100432 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
433 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
434 "image_builder" - shaker-image-builder env variables
435 SHAKER_FLAVOR_DISK=4
436 SHAKER_FLAVOR_RAM=512
437 SHAKER_FLAVOR_VCPUS=1
438 SHAKER_IMAGE_BUILDER_MODE='dib'
439 "shaker" - main shaker runner env variables
440 SHAKER_AGENT_JOIN_TIMEOUT=300
441 SHAKER_AGENT_LOSS_TIMEOUT=120
442 SCENARIO_AVAILABILITY_ZONE='nova,internal'
443 SCENARIO_COMPUTE_NODES=2
444 SHAKER_EXTERNAL_NET='public'
445 For the more detailed description of the last two categories please refer to the shaker documentation
446 https://pyshaker.readthedocs.io/en/latest/tools.html