blob: a99c583db9cedc02c70ab6ba1042da3af203d46b [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
262 display_name: "CVP - Functional tests (new)"
263 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
301 TARGET_NODE: "I@gerrit:client"
302 SKIP_LIST_PATH: ""
303 TEST_IMAGE: "docker-prod-virtual.docker.mirantis.net/mirantis/cicd/ci-tempest:${_param:openstack_version}"
304 report_prefix: "cvp_"
305 description: YAML context with additional parameters
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600306 cvp-perf:
307 type: workflow-scm
308 name: cvp-perf
309 display_name: "CVP - Performance tests"
310 discard:
311 build:
312 keep_num: 20
313 artifact:
314 keep_num: 20
315 concurrent: false
316 scm:
317 type: git
318 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Oleksii Zhurba0edf9e52018-10-24 19:00:41 -0500319 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400320 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600321 script: cvp-perf.groovy
322 param:
323 DEBUG_MODE:
324 type: boolean
325 default: 'false'
326 description: Enable if you need to keep container after the test and debug
327 RALLY_SCENARIO_FILE:
328 type: string
329 default: "cvp-configuration/rally/rally_scenarios.json"
330 description: Path to scenario file in container
331 TEST_IMAGE:
332 type: string
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500333 default: "xrally/xrally-openstack:0.11.2"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600334 description: Docker image to use for running Rally/Tempest
335 SALT_MASTER_URL:
336 type: string
337 default: "${_param:jenkins_salt_api_url}"
338 description: Full Salt API address [e.g. https://10.10.10.2:6969]
339 SALT_MASTER_CREDENTIALS:
340 type: string
341 default: "salt"
342 description: Credentials to the Salt API
343 TARGET_NODE:
344 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400345 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600346 description: Node where docker container with Rally will be run
347 TOOLS_REPO:
348 type: string
349 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500350 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600351 PROXY:
352 type: string
353 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500354 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600355 cvp-stacklight:
356 type: workflow-scm
357 name: cvp-stacklight
358 display_name: "CVP - Stacklight tests"
359 discard:
360 build:
361 keep_num: 20
362 artifact:
363 keep_num: 20
364 concurrent: false
365 scm:
366 type: git
367 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
368 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400369 credentials: ${_param:jenkins_gerrit_credentials}
Hanna Arhipova8285e612019-02-14 13:45:17 +0200370 script: cvp-runner.groovy
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600371 param:
Hanna Arhipova8285e612019-02-14 13:45:17 +0200372 IMAGE:
373 type: string
374 default: ${_param:docker_image_cvp_sanity_checks}
375 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600376 SALT_MASTER_URL:
377 type: string
378 default: "${_param:jenkins_salt_api_url}"
379 description: Full Salt API address [e.g. https://10.10.10.2:6969]
380 SALT_MASTER_CREDENTIALS:
381 type: string
382 default: "salt"
Hanna Arhipova8285e612019-02-14 13:45:17 +0200383 EXTRA_PARAMS:
384 type: text
385 default: |
386 envs:
387 - SL_AUTOCONF=True
388 description: YAML context with additional parameters
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500389 cvp-spt:
390 type: workflow-scm
391 name: cvp-spt
392 display_name: "CVP - Simplified Performance Tests (SPT)"
393 discard:
394 build:
395 keep_num: 20
396 artifact:
397 keep_num: 20
398 concurrent: false
399 scm:
400 type: git
401 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
402 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400403 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500404 script: cvp-runner.groovy
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500405 param:
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500406 IMAGE:
407 type: string
azvyagintsev33afffc2019-02-22 14:20:20 +0200408 default: ${_param:docker_image_cvp_sanity_checks}
Oleksii Zhurba26848a62018-09-03 21:29:11 -0500409 description: Docker image with tests and all pip dependecies to use for testing
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500410 SALT_MASTER_URL:
411 type: string
412 default: "${_param:jenkins_salt_api_url}"
413 description: Full Salt API address [e.g. https://10.10.10.2:6969]
414 SALT_MASTER_CREDENTIALS:
415 type: string
416 default: "salt"
Hanna Arhipova718fbf62019-01-24 18:50:02 +0200417 EXTRA_PARAMS:
418 type: text
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500419 default: |
420 envs:
421 - tests_set=''
Hanna Arhipova5bccdcf2019-07-16 18:04:04 +0300422 - image_name=Ubuntu
Oleksii Zhurba592e14c2019-04-16 17:44:57 -0500423 - networks=10.101.0.0/24
424 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 +0100425 cvp-shaker:
426 type: workflow-scm
427 name: cvp-shaker
428 display_name: "CVP - Shaker network tests"
429 discard:
430 build:
431 keep_num: 20
432 artifact:
433 keep_num: 20
434 concurrent: false
435 scm:
436 type: git
437 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
438 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400439 credentials: ${_param:jenkins_gerrit_credentials}
Oleg Basove8143de2019-01-29 01:36:06 +0100440 script: cvp-shaker.groovy
441 param:
442 IMAGE:
443 type: string
Oleg Basov06938fe2019-04-01 20:41:24 +0200444 default: "${_param:docker_image_cvp_shaker_checks}"
Oleg Basove8143de2019-01-29 01:36:06 +0100445 description: Docker image to use for running Shaker.
446 SALT_MASTER_URL:
447 type: string
448 default: "${_param:jenkins_salt_api_url}"
449 description: Full Salt API address [e.g. https://10.10.10.2:6969].
450 SALT_MASTER_CREDENTIALS:
451 type: string
452 default: "salt"
453 description: Credentials to the Salt API.
454 SHAKER_PARAMS:
455 type: text
456 default: |
457 ---
458 SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999'
459 SHAKER_SCENARIOS: 'scenarios/essential'
460 SKIP_LIST: ''
Oleg Basovc3602a72019-02-15 15:49:09 +0100461 MATRIX: ''
Oleg Basove8143de2019-01-29 01:36:06 +0100462 image_builder:
463 # - SHAKER_FLAVOR_DISK=4
464 # - SHAKER_FLAVOR_RAM=512
465 # - SHAKER_FLAVOR_VCPUS=1
466 # - SHAKER_IMAGE_BUILDER_MODE='dib'
467 shaker:
468 # - SHAKER_AGENT_JOIN_TIMEOUT=300
469 # - SHAKER_AGENT_LOSS_TIMEOUT=120
470 # - SCENARIO_AVAILABILITY_ZONE='nova,internal'
471 # - SCENARIO_COMPUTE_NODES=2
472 # - SHAKER_EXTERNAL_NET='public'
473 description: |
474 YAML context with parameters for running Shaker tests, where
475 "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible
476 from tenant's VM network (usually equals to public address of cicd node)
477 "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image
478 (can be directory or specific file). Main categories are
479 scenarios/essential/l2
480 scenarios/essential/l3
481 scenarios/additional/cross_az
482 scenarios/additional/external
483 scenarios/additional/qos
Oleg Basovc3602a72019-02-15 15:49:09 +0100484 "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format.
485 To override a scenario duration one may provide "{time: 10}", or to override list of hosts:
486 "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are
487 tested. It is a required field for some of external-category scenarios when the host name with iperf3
488 server needs to be provided as a command-line parameter, e.g. "{host: 10.13.100.4}".
Oleg Basove8143de2019-01-29 01:36:06 +0100489 "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/
490 of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3"
491 "image_builder" - shaker-image-builder env variables
492 SHAKER_FLAVOR_DISK=4
493 SHAKER_FLAVOR_RAM=512
494 SHAKER_FLAVOR_VCPUS=1
495 SHAKER_IMAGE_BUILDER_MODE='dib'
496 "shaker" - main shaker runner env variables
497 SHAKER_AGENT_JOIN_TIMEOUT=300
498 SHAKER_AGENT_LOSS_TIMEOUT=120
499 SCENARIO_AVAILABILITY_ZONE='nova,internal'
500 SCENARIO_COMPUTE_NODES=2
501 SHAKER_EXTERNAL_NET='public'
502 For the more detailed description of the last two categories please refer to the shaker documentation
503 https://pyshaker.readthedocs.io/en/latest/tools.html
Oleksii Zhurbaa31172e2019-04-23 12:23:11 -0500504 cvp-rebuild:
505 type: workflow-scm
506 name: cvp-rebuild
507 display_name: "CVP-rebuild job for images"
508 discard:
509 build:
510 keep_num: 20
511 artifact:
512 keep_num: 20
513 concurrent: false
514 scm:
515 type: git
516 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
517 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +0400518 credentials: ${_param:jenkins_gerrit_credentials}
Oleksii Zhurbaa31172e2019-04-23 12:23:11 -0500519 script: cvp-rebuild.groovy
520 param:
521 DESTINATION_IMAGE:
522 type: string
523 default: ""
524 description: "Specify address of local registry and name of the image e.g. _cid_vip_:5000/ci-tempest:v1"
525 SALT_MASTER_URL:
526 type: string
527 default: "${_param:jenkins_salt_api_url}"
528 description: Full Salt API address [e.g. https://10.10.10.2:6969]
529 SALT_MASTER_CREDENTIALS:
530 type: string
531 default: "salt"
532 REPO:
533 type: string
534 default: ""
535 description: Specify repo that will be used to rebuild image
536 BRANCH:
537 type: string
538 default: ""
539 description: Branch or version of REPO to checkout