blob: aef3af1df53f5a9079fe7c2eda9d1ea5818739ac [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}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +040024 credentials: ${_param:jenkins_gerrit_credentials}
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070025 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'
Oleg Basov54bde2f2019-05-27 16:43:26 +020088 # If you are running longevity scenarios with parallel performance enabled on a cicd node
89 # with less than 21GB, you may consider disabling generation of html reports. Each Rally
90 # process consumes ~ 4GB of memory when generating reports on top of week amount of data
91 GENERATE_REPORT: 'true'
Oleksii Zhurbad97ac812017-10-05 14:18:50 -050092 cvp-sanity:
93 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -060094 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -050095 display_name: "CVP - Sanity checks"
96 discard:
97 build:
98 keep_num: 20
99 artifact:
100 keep_num: 20
101 concurrent: false
102 scm:
103 type: git
104 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100105 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400106 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500107 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500108 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500109 IMAGE:
110 type: string
azvyagintsev33afffc2019-02-22 14:20:20 +0200111 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500112 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500113 SALT_MASTER_URL:
114 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600115 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500116 description: Full Salt API address [e.g. https://10.10.10.2:6969]
117 SALT_MASTER_CREDENTIALS:
118 type: string
119 default: "salt"
Hanna Arhipova718fbf62019-01-24 18:50:02 +0200120 EXTRA_PARAMS:
121 type: text
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500122 default: |
123 envs:
124 - tests_set=''
125 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 -0600126 cvp-func:
127 type: workflow-scm
128 name: cvp-func
129 display_name: "CVP - Functional tests"
130 discard:
131 build:
132 keep_num: 20
133 artifact:
134 keep_num: 20
135 concurrent: false
136 scm:
137 type: git
138 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500139 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400140 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600141 script: cvp-func.groovy
142 param:
143 DEBUG_MODE:
144 type: boolean
145 default: 'false'
146 description: Enable if you need to keep container after the test and debug
147 SKIP_LIST_PATH:
148 type: string
149 default: "cvp-configuration/tempest/skip-list.yaml"
150 description: Path to skip list in container
151 SALT_MASTER_URL:
152 type: string
153 default: "${_param:jenkins_salt_api_url}"
154 description: Full Salt API address [e.g. https://10.10.10.2:6969]
155 SALT_MASTER_CREDENTIALS:
156 type: string
157 default: "salt"
158 description: Credentials to the Salt API
159 TEST_IMAGE:
160 type: string
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500161 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600162 description: Docker image to use for running Rally/Tempest
163 TARGET_NODE:
164 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400165 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600166 description: Node where container with Tempest will be run
167 PROXY:
168 type: string
169 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500170 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600171 TEMPEST_TEST_PATTERN:
172 type: string
173 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500174 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600175 TEMPEST_ENDPOINT_TYPE:
176 type: choice
177 choices:
178 - internalURL
179 - adminURL
180 - publicURL
181 description: Openstack endpoint type to use during test run
182 TEMPEST_REPO:
183 type: string
184 default: "https://github.com/openstack/tempest"
185 description: URL to Tempest repo (local or remote) or path to tempest folder in container
186 TOOLS_REPO:
187 type: string
188 default: "https://github.com/Mirantis/cvp-configuration"
189 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600190 cvp-ha:
191 type: workflow-scm
192 name: cvp-ha
193 display_name: "CVP - HA tests"
194 discard:
195 build:
196 keep_num: 20
197 artifact:
198 keep_num: 20
199 concurrent: false
200 scm:
201 type: git
202 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500203 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400204 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600205 script: cvp-ha.groovy
206 param:
207 SALT_MASTER_URL:
208 type: string
209 default: "${_param:jenkins_salt_api_url}"
210 description: Full Salt API address [e.g. https://10.10.10.2:6969]
211 SALT_MASTER_CREDENTIALS:
212 type: string
213 default: "salt"
214 description: Credentials to the Salt API
215 TEMPEST_TARGET_NODE:
216 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400217 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600218 description: Node where container with tempest will be run
219 TEST_IMAGE:
220 type: string
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500221 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600222 description: Docker image to use for running Rally/Tempest
223 TARGET_NODES:
224 type: string
225 default: "ctl*"
226 description: Nodes to test
227 DEBUG_MODE:
228 type: boolean
229 default: 'false'
230 description: If you need to debug (keep container after test), please enabled this
231 RETRY_CHECK_STATUS:
232 type: string
233 default: "200"
234 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
235 SKIP_LIST_PATH:
236 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500237 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600238 description: path to skip-list file inside container
239 PROXY:
240 type: string
241 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500242 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600243 TEMPEST_TEST_PATTERN:
244 type: string
245 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500246 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600247 MANUAL_CONFIRMATION:
248 type: boolean
249 default: 'false'
250 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
251 TEMPEST_REPO:
252 type: string
253 default: "https://github.com/openstack/tempest"
254 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
255 TOOLS_REPO:
256 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500257 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600258 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba35fd4f82019-03-26 16:26:43 -0500259 cvp-tempest:
260 type: workflow-scm
261 name: cvp-tempest
Oleksii Zhurba904c3a62019-05-30 15:56:05 -0500262 display_name: "CVP - Tempest (new)"
Oleksii Zhurba35fd4f82019-03-26 16:26:43 -0500263 discard:
264 build:
265 keep_num: 20
266 artifact:
267 keep_num: 20
268 concurrent: false
269 scm:
270 type: git
271 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
272 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400273 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba35fd4f82019-03-26 16:26:43 -0500274 script: cvp-tempest.groovy
275 param:
276 PREPARE_RESOURCES:
277 type: boolean
278 default: true
279 description: Prepare resources for Tempest
280 SALT_MASTER_URL:
281 type: string
282 default: "${_param:jenkins_salt_api_url}"
283 description: SALT_MASTER_URL
284 TEMPEST_TEST_PATTERN:
285 type: string
286 default: "set=smoke"
287 description: Use set=smoke, set=full or just test name (regex)
288 TEMPEST_ENDPOINT_TYPE:
289 type: choice
290 choices:
291 - internalURL
292 - adminURL
293 - publicURL
294 description: Openstack endpoint type to use during test run.
295 EXTRA_PARAMS:
296 type: text
297 default: |
298 ---
299 DEBUG_MODE: false
300 GENERATE_CONFIG: true
Oleksii Zhurba2eed0302019-07-17 12:55:27 -0500301 TEST_IMAGE: "${_param:docker_image_cvp_tempest}"
Oleksii Zhurba35fd4f82019-03-26 16:26:43 -0500302 report_prefix: "cvp_"
303 description: YAML context with additional parameters
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600304 cvp-perf:
305 type: workflow-scm
306 name: cvp-perf
307 display_name: "CVP - Performance 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"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500317 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400318 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600319 script: cvp-perf.groovy
320 param:
321 DEBUG_MODE:
322 type: boolean
323 default: 'false'
324 description: Enable if you need to keep container after the test and debug
325 RALLY_SCENARIO_FILE:
326 type: string
327 default: "cvp-configuration/rally/rally_scenarios.json"
328 description: Path to scenario file in container
329 TEST_IMAGE:
330 type: string
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500331 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600332 description: Docker image to use for running Rally/Tempest
333 SALT_MASTER_URL:
334 type: string
335 default: "${_param:jenkins_salt_api_url}"
336 description: Full Salt API address [e.g. https://10.10.10.2:6969]
337 SALT_MASTER_CREDENTIALS:
338 type: string
339 default: "salt"
340 description: Credentials to the Salt API
341 TARGET_NODE:
342 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400343 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600344 description: Node where docker container with Rally will be run
345 TOOLS_REPO:
346 type: string
347 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500348 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600349 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 Zhurba68ad5042018-02-16 20:13:07 -0600353 cvp-stacklight:
354 type: workflow-scm
355 name: cvp-stacklight
356 display_name: "CVP - Stacklight tests"
357 discard:
358 build:
359 keep_num: 20
360 artifact:
361 keep_num: 20
362 concurrent: false
363 scm:
364 type: git
365 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
366 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400367 credentials: ${_param:jenkins_gerrit_credentials}
Hanna Arhipova8285e612019-02-14 13:45:17 +0200368 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600369 param:
Hanna Arhipova8285e612019-02-14 13:45:17 +0200370 IMAGE:
371 type: string
372 default: ${_param:docker_image_cvp_sanity_checks}
373 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600374 SALT_MASTER_URL:
375 type: string
376 default: "${_param:jenkins_salt_api_url}"
377 description: Full Salt API address [e.g. https://10.10.10.2:6969]
378 SALT_MASTER_CREDENTIALS:
379 type: string
380 default: "salt"
Hanna Arhipova8285e612019-02-14 13:45:17 +0200381 EXTRA_PARAMS:
382 type: text
383 default: |
384 envs:
385 - SL_AUTOCONF=True
386 description: YAML context with additional parameters
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500387 cvp-spt:
388 type: workflow-scm
389 name: cvp-spt
390 display_name: "CVP - Simplified Performance Tests (SPT)"
391 discard:
392 build:
393 keep_num: 20
394 artifact:
395 keep_num: 20
396 concurrent: false
397 scm:
398 type: git
399 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
400 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400401 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500402 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500403 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500404 IMAGE:
405 type: string
azvyagintsev33afffc2019-02-22 14:20:20 +0200406 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500407 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500408 SALT_MASTER_URL:
409 type: string
410 default: "${_param:jenkins_salt_api_url}"
411 description: Full Salt API address [e.g. https://10.10.10.2:6969]
412 SALT_MASTER_CREDENTIALS:
413 type: string
414 default: "salt"
Hanna Arhipova718fbf62019-01-24 18:50:02 +0200415 EXTRA_PARAMS:
416 type: text
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500417 default: |
418 envs:
419 - tests_set=''
Hanna Arhipova5bccdcf2019-07-16 18:04:04 +0300420 - image_name=Ubuntu
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500421 - networks=10.101.0.0/24
422 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 +0100423 cvp-shaker:
424 type: workflow-scm
425 name: cvp-shaker
426 display_name: "CVP - Shaker network tests"
427 discard:
428 build:
429 keep_num: 20
430 artifact:
431 keep_num: 20
432 concurrent: false
433 scm:
434 type: git
435 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
436 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400437 credentials: ${_param:jenkins_gerrit_credentials}
Oleg Basove8143de2019-01-29 01:36:06 +0100438 script: cvp-shaker.groovy
439 param:
440 IMAGE:
441 type: string
Oleg Basov06938fe2019-04-01 20:41:24 +0200442 default: "${_param:docker_image_cvp_shaker_checks}"
Oleg Basove8143de2019-01-29 01:36:06 +0100443 description: Docker image to use for running Shaker.
444 SALT_MASTER_URL:
445 type: string
446 default: "${_param:jenkins_salt_api_url}"
447 description: Full Salt API address [e.g. https://10.10.10.2:6969].
448 SALT_MASTER_CREDENTIALS:
449 type: string
450 default: "salt"
451 description: Credentials to the Salt API.
452 SHAKER_PARAMS:
453 type: text
454 default: |
455 ---
456 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
457 SHAKER_SCENARIOS: 'scenarios/essential'
458 SKIP_LIST: ''
Oleg Basovc3602a72019-02-15 15:49:09 +0100459 MATRIX: ''
Oleg Basove8143de2019-01-29 01:36:06 +0100460 image_builder:
461 # - SHAKER_FLAVOR_DISK=4
462 # - SHAKER_FLAVOR_RAM=512
463 # - SHAKER_FLAVOR_VCPUS=1
464 # - SHAKER_IMAGE_BUILDER_MODE='dib'
465 shaker:
466 # - SHAKER_AGENT_JOIN_TIMEOUT=300
467 # - SHAKER_AGENT_LOSS_TIMEOUT=120
468 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
469 # - SCENARIO_COMPUTE_NODES=2
470 # - SHAKER_EXTERNAL_NET='public'
471 description: |
472 YAML context with parameters for running Shaker tests, where
473 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible
474 from tenant's VM network (usually equals to public address of cicd node)
475 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
476 (can be directory or specific file). Main categories are
477 scenarios/essential/l2
478 scenarios/essential/l3
479 scenarios/additional/cross_az
480 scenarios/additional/external
481 scenarios/additional/qos
Oleg Basovc3602a72019-02-15 15:49:09 +0100482 "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format.
483 To override a scenario duration one may provide "{time: 10}", or to override list of hosts:
484 "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are
485 tested. It is a required field for some of external-category scenarios when the host name with iperf3
486 server needs to be provided as a command-line parameter, e.g. "{host: 10.13.100.4}".
Oleg Basove8143de2019-01-29 01:36:06 +0100487 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
488 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
489 "image_builder" - shaker-image-builder env variables
490 SHAKER_FLAVOR_DISK=4
491 SHAKER_FLAVOR_RAM=512
492 SHAKER_FLAVOR_VCPUS=1
493 SHAKER_IMAGE_BUILDER_MODE='dib'
494 "shaker" - main shaker runner env variables
495 SHAKER_AGENT_JOIN_TIMEOUT=300
496 SHAKER_AGENT_LOSS_TIMEOUT=120
497 SCENARIO_AVAILABILITY_ZONE='nova,internal'
498 SCENARIO_COMPUTE_NODES=2
499 SHAKER_EXTERNAL_NET='public'
500 For the more detailed description of the last two categories please refer to the shaker documentation
501 https://pyshaker.readthedocs.io/en/latest/tools.html
Oleksii Zhurbaa31172e2019-04-23 12:23:11 -0500502 cvp-rebuild:
503 type: workflow-scm
504 name: cvp-rebuild
505 display_name: "CVP-rebuild job for images"
506 discard:
507 build:
508 keep_num: 20
509 artifact:
510 keep_num: 20
511 concurrent: false
512 scm:
513 type: git
514 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
515 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400516 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbaa31172e2019-04-23 12:23:11 -0500517 script: cvp-rebuild.groovy
518 param:
519 DESTINATION_IMAGE:
520 type: string
521 default: ""
522 description: "Specify address of local registry and name of the image e.g. _cid_vip_:5000/ci-tempest:v1"
523 SALT_MASTER_URL:
524 type: string
525 default: "${_param:jenkins_salt_api_url}"
526 description: Full Salt API address [e.g. https://10.10.10.2:6969]
527 SALT_MASTER_CREDENTIALS:
528 type: string
529 default: "salt"
530 REPO:
531 type: string
532 default: ""
533 description: Specify repo that will be used to rebuild image
534 BRANCH:
535 type: string
536 default: ""
537 description: Branch or version of REPO to checkout