blob: a3eb1eef2a2bbe3228cbedf39177f18c7771440d [file] [log] [blame]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -07001parameters:
Sam Stoelinga1539f3c2017-09-25 17:05:40 -07002 _param:
3 jenkins_salt_api_url: "http://${_param:salt_master_host}:6969"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -05004 cvp_sanity_default_repo: "https://github.com/Mirantis/cvp-sanity-checks"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -07005 jenkins:
6 client:
7 view:
8 Validation:
9 enabled: true
10 type: ListView
11 include_regex: "validate.*"
12 job:
13 validate_openstack:
14 type: workflow-scm
15 name: validate-openstack
16 display_name: "Validate - Openstack"
17 discard:
18 build:
Jakub Josef1a828962018-01-23 12:33:34 +010019 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070020 artifact:
Jakub Josef1a828962018-01-23 12:33:34 +010021 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070022 concurrent: false
23 scm:
24 type: git
25 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010026 branch: "${_param:jenkins_pipelines_branch}"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070027 credentials: "gerrit"
28 script: validate-cloud.groovy
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070029 param:
30 SALT_MASTER_URL:
31 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070032 default: "${_param:jenkins_salt_api_url}"
33 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070034 SALT_MASTER_CREDENTIALS:
35 type: string
36 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070037 description: Credentials to the Salt API
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070038 TEST_IMAGE:
39 type: string
azvyagintsev16ca7ce2018-08-21 17:20:33 +030040 default: "${_param:mcp_docker_registry}/mirantis/oss/qa-tools"
Tetiana Korchakd644b352017-08-25 10:30:57 -070041 description: Docker image to setup testing environment
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070042 TARGET_NODE:
43 type: string
44 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070045 description: Target node where this job will be executed from
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070046 RUN_RALLY_TESTS:
47 type: boolean
48 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070049 description: If chosen then Rally tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070050 RUN_TEMPEST_TESTS:
51 type: boolean
52 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070053 description: If chosen then Tempest tests will be executed
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070054 RUN_K8S_TESTS:
55 type: boolean
56 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070057 description: If chosen then K8S tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070058 TEMPEST_TEST_SET:
59 type: choice
60 choices:
61 - smoke
62 - full
Tetiana Korchakd644b352017-08-25 10:30:57 -070063 description: Set of Tempest tests to run
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -080064 TEMPEST_CONFIG_REPO:
65 type: string
66 default: ""
67 description: Git repository with configuration files for Tempest
68 TEMPEST_CONFIG_BRANCH:
69 type: string
70 default: ""
71 description: Git branch which will be used during the checkout
72 TEMPEST_REPO:
73 type: string
74 default: ""
75 description: Git repository with Tempest
76 TEMPEST_VERSION:
77 type: string
78 default: ""
79 description: Version of Tempest (tag, branch or commit)
Tetiana Korchakd644b352017-08-25 10:30:57 -070080 TEST_K8S_NODE:
81 type: string
82 default: ""
83 description: Kubernetes node to run tests from
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070084 TEST_K8S_API_SERVER:
85 type: string
86 default: "http://127.0.0.1:8080"
Tetiana Korchakd644b352017-08-25 10:30:57 -070087 description: API server parameter for K8S tests
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070088 TEST_K8S_CONFORMANCE_IMAGE:
89 type: string
vrovachev7e709802017-09-15 20:04:26 +040090 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Tetiana Korchakd644b352017-08-25 10:30:57 -070091 description: Docker image to run K8S tests
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070092 RUN_SPT_TESTS:
93 type: boolean
94 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070095 description: If chosen then SPT tests will be executed
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070096 SPT_SSH_USER:
97 type: string
98 default: "root"
Tetiana Korchakd644b352017-08-25 10:30:57 -070099 description: Username that is used to ssh between cluster nodes
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700100 FLOATING_NETWORK:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700101 type: string
102 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700103 description: External(floating) network name (used in both SPT and Rally)
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700104 SPT_IMAGE:
105 type: string
106 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700107 description: Image that is used for network-VM-to-VM-iperf-tests tests
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700108 SPT_IMAGE_USER:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700109 type: string
110 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700111 description: Username that is used to ssh to SPT_IMAGE
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700112 SPT_FLAVOR:
113 type: string
114 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700115 description: Flavor name for SPT_IMAGE (make sure you have required flavor created)
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700116 RALLY_IMAGE:
117 type: string
118 default: "cirros"
119 RALLY_FLAVOR:
120 type: string
121 default: "m1.tiny"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700122 description: Flavor name for Rally scenarios
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -0800123 RALLY_CONFIG_REPO:
124 type: string
125 default: ""
126 description: Git repository with configuration files for Rally
127 RALLY_CONFIG_BRANCH:
128 type: string
129 default: ""
130 description: Git branch which will be used during the checkout
Sergey Galkin42639302017-12-01 16:27:30 +0400131 RALLY_SCENARIOS:
132 type: string
133 default: ""
134 description: Rally scenarios directory or file with scenarios
Oleg Basov894f8c12018-09-04 21:44:12 +0200135 RALLY_SL_SCENARIOS:
136 type: string
137 default: ""
138 description: Stacklight Rally scenarios directory or file with scenarios
Sergey Galkin42639302017-12-01 16:27:30 +0400139 RALLY_TASK_ARGS_FILE:
140 type: string
141 default: ""
142 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700143 AVAILABILITY_ZONE:
144 type: string
145 default: "nova"
146 description: Name of availability zone
147 GENERATE_REPORT:
148 type: boolean
149 default: 'true'
150 description: If chosen then at the end of the test run HTML report will be generated
151 ACCUMULATE_RESULTS:
152 type: boolean
153 default: 'true'
154 description: If chosen then previous build results will be used in the current build
mkraynovdc3b3ee2018-07-25 15:58:29 +0400155 RALLY_PLUGINS_REPO:
156 type: string
157 default: ""
158 description: Git repository with Rally plugins
159 RALLY_PLUGINS_BRANCH:
160 type: string
161 default: ""
162 description: Git branch which will be used during the checkout
163 K8S_RALLY:
164 type: boolean
165 default: 'false'
166 description: If chosen then K8S Rally test will be executed
Oleg Basov894f8c12018-09-04 21:44:12 +0200167 STACKLIGHT_RALLY:
168 type: boolean
169 default: 'false'
170 description: If chosen then Stacklight Rally test will be executed
mkraynovdc3b3ee2018-07-25 15:58:29 +0400171 JOB_TIMEOUT:
172 type: string
173 default: "3"
174 description: Job timeout in hours
175 REPORT_DIR:
176 type: string
177 default: ""
178 description: Path for reports outside docker image
mkraynov3fcda252018-08-07 18:35:18 +0400179 SKIP_LIST:
180 type: string
181 description: "Skip list for Rally test"
182 default: ""
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500183 cvp-sanity:
184 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600185 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500186 display_name: "CVP - Sanity checks"
187 discard:
188 build:
189 keep_num: 20
190 artifact:
191 keep_num: 20
192 concurrent: false
193 scm:
194 type: git
195 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100196 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500197 credentials: "gerrit"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500198 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500199 param:
200 SALT_MASTER_URL:
201 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600202 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500203 description: Full Salt API address [e.g. https://10.10.10.2:6969]
204 SALT_MASTER_CREDENTIALS:
205 type: string
206 default: "salt"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500207 TESTS_REPO:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500208 type: string
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500209 default: "${_param:cvp_sanity_default_repo}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500210 description: Url for cvp-sanity-checks
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500211 TESTS_SETTINGS:
Oleksii Zhurba07076052017-11-08 12:59:25 -0600212 type: string
213 default: ""
214 description: e.g. skipped_nodes=nal01.local.com,ntw01.local.com
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500215 TESTS_SET:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500216 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500217 default: "cvp-sanity-checks/cvp_checks/tests/"
218 description: "Leave as is for full run or add a filename, e.g. _default_path_/test_mtu.py"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500219 PROXY:
220 type: string
221 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500222 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600223 cvp-func:
224 type: workflow-scm
225 name: cvp-func
226 display_name: "CVP - Functional tests"
227 discard:
228 build:
229 keep_num: 20
230 artifact:
231 keep_num: 20
232 concurrent: false
233 scm:
234 type: git
235 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
236 credentials: "gerrit"
237 script: cvp-func.groovy
238 param:
239 DEBUG_MODE:
240 type: boolean
241 default: 'false'
242 description: Enable if you need to keep container after the test and debug
243 SKIP_LIST_PATH:
244 type: string
245 default: "cvp-configuration/tempest/skip-list.yaml"
246 description: Path to skip list in container
247 SALT_MASTER_URL:
248 type: string
249 default: "${_param:jenkins_salt_api_url}"
250 description: Full Salt API address [e.g. https://10.10.10.2:6969]
251 SALT_MASTER_CREDENTIALS:
252 type: string
253 default: "salt"
254 description: Credentials to the Salt API
255 TEST_IMAGE:
256 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500257 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600258 description: Docker image to use for running Rally/Tempest
259 TARGET_NODE:
260 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400261 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600262 description: Node where container with Tempest will be run
263 PROXY:
264 type: string
265 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500266 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600267 TEMPEST_TEST_PATTERN:
268 type: string
269 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500270 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600271 TEMPEST_ENDPOINT_TYPE:
272 type: choice
273 choices:
274 - internalURL
275 - adminURL
276 - publicURL
277 description: Openstack endpoint type to use during test run
278 TEMPEST_REPO:
279 type: string
280 default: "https://github.com/openstack/tempest"
281 description: URL to Tempest repo (local or remote) or path to tempest folder in container
282 TOOLS_REPO:
283 type: string
284 default: "https://github.com/Mirantis/cvp-configuration"
285 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600286 cvp-ha:
287 type: workflow-scm
288 name: cvp-ha
289 display_name: "CVP - HA tests"
290 discard:
291 build:
292 keep_num: 20
293 artifact:
294 keep_num: 20
295 concurrent: false
296 scm:
297 type: git
298 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
299 credentials: "gerrit"
300 script: cvp-ha.groovy
301 param:
302 SALT_MASTER_URL:
303 type: string
304 default: "${_param:jenkins_salt_api_url}"
305 description: Full Salt API address [e.g. https://10.10.10.2:6969]
306 SALT_MASTER_CREDENTIALS:
307 type: string
308 default: "salt"
309 description: Credentials to the Salt API
310 TEMPEST_TARGET_NODE:
311 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400312 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600313 description: Node where container with tempest will be run
314 TEST_IMAGE:
315 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500316 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600317 description: Docker image to use for running Rally/Tempest
318 TARGET_NODES:
319 type: string
320 default: "ctl*"
321 description: Nodes to test
322 DEBUG_MODE:
323 type: boolean
324 default: 'false'
325 description: If you need to debug (keep container after test), please enabled this
326 RETRY_CHECK_STATUS:
327 type: string
328 default: "200"
329 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
330 SKIP_LIST_PATH:
331 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500332 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600333 description: path to skip-list file inside container
334 PROXY:
335 type: string
336 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500337 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600338 TEMPEST_TEST_PATTERN:
339 type: string
340 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500341 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600342 MANUAL_CONFIRMATION:
343 type: boolean
344 default: 'false'
345 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
346 TEMPEST_REPO:
347 type: string
348 default: "https://github.com/openstack/tempest"
349 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
350 TOOLS_REPO:
351 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500352 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600353 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600354 cvp-perf:
355 type: workflow-scm
356 name: cvp-perf
357 display_name: "CVP - Performance tests"
358 discard:
359 build:
360 keep_num: 20
361 artifact:
362 keep_num: 20
363 concurrent: false
364 scm:
365 type: git
366 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
367 credentials: "gerrit"
368 script: cvp-perf.groovy
369 param:
370 DEBUG_MODE:
371 type: boolean
372 default: 'false'
373 description: Enable if you need to keep container after the test and debug
374 RALLY_SCENARIO_FILE:
375 type: string
376 default: "cvp-configuration/rally/rally_scenarios.json"
377 description: Path to scenario file in container
378 TEST_IMAGE:
379 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500380 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600381 description: Docker image to use for running Rally/Tempest
382 SALT_MASTER_URL:
383 type: string
384 default: "${_param:jenkins_salt_api_url}"
385 description: Full Salt API address [e.g. https://10.10.10.2:6969]
386 SALT_MASTER_CREDENTIALS:
387 type: string
388 default: "salt"
389 description: Credentials to the Salt API
390 TARGET_NODE:
391 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400392 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600393 description: Node where docker container with Rally will be run
394 TOOLS_REPO:
395 type: string
396 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500397 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600398 PROXY:
399 type: string
400 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500401 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600402 cvp-stacklight:
403 type: workflow-scm
404 name: cvp-stacklight
405 display_name: "CVP - Stacklight tests"
406 discard:
407 build:
408 keep_num: 20
409 artifact:
410 keep_num: 20
411 concurrent: false
412 scm:
413 type: git
414 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
415 branch: "${_param:jenkins_pipelines_branch}"
416 credentials: "gerrit"
417 script: cvp-runner.groovy
418 param:
419 SALT_MASTER_URL:
420 type: string
421 default: "${_param:jenkins_salt_api_url}"
422 description: Full Salt API address [e.g. https://10.10.10.2:6969]
423 SALT_MASTER_CREDENTIALS:
424 type: string
425 default: "salt"
426 TESTS_REPO:
427 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500428 default: "https://github.com/Mirantis/stacklight-pytest -b cvp_stacklight"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600429 description: Url for cvp-stacklight-tests
430 TESTS_SETTINGS:
431 type: string
432 default: "SL_AUTOCONF=True"
433 description: "Additional environment variables to export"
434 TESTS_SET:
435 type: string
436 default: "stacklight-pytest/stacklight_tests/tests/prometheus/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500437 description: "Leave as is for full run or add a filename, e.g. _default_path_/test_dashboards.py"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600438 PROXY:
439 type: string
440 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500441 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500442 cvp-spt:
443 type: workflow-scm
444 name: cvp-spt
445 display_name: "CVP - Simplified Performance Tests (SPT)"
446 discard:
447 build:
448 keep_num: 20
449 artifact:
450 keep_num: 20
451 concurrent: false
452 scm:
453 type: git
454 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
455 branch: "${_param:jenkins_pipelines_branch}"
456 credentials: "gerrit"
457 script: cvp-spt.groovy
458 param:
459 SALT_MASTER_URL:
460 type: string
461 default: "${_param:jenkins_salt_api_url}"
462 description: Full Salt API address [e.g. https://10.10.10.2:6969]
463 SALT_MASTER_CREDENTIALS:
464 type: string
465 default: "salt"
466 TESTS_REPO:
467 type: string
468 default: "https://github.com/Mirantis/cvp-spt"
469 description: Url for cvp-spt repository
470 TESTS_SETTINGS:
471 type: string
472 default: ""
473 description: "Additional environment variables to export"
474 TESTS_SET:
475 type: string
476 default: "cvp-spt/cvp_spt/tests/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500477 description: "Leave as is for full run or add a filename, e.g. _default_path_/test_glance.py"
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500478 PROXY:
479 type: string
480 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500481 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."