blob: 112cb3df2f35db2650b4c9fcbd1c4854439f57db [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
40 default: "docker-prod-local.artifactory.mirantis.com/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
135 RALLY_TASK_ARGS_FILE:
136 type: string
137 default: ""
138 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700139 AVAILABILITY_ZONE:
140 type: string
141 default: "nova"
142 description: Name of availability zone
143 GENERATE_REPORT:
144 type: boolean
145 default: 'true'
146 description: If chosen then at the end of the test run HTML report will be generated
147 ACCUMULATE_RESULTS:
148 type: boolean
149 default: 'true'
150 description: If chosen then previous build results will be used in the current build
mkraynovdc3b3ee2018-07-25 15:58:29 +0400151 RALLY_PLUGINS_REPO:
152 type: string
153 default: ""
154 description: Git repository with Rally plugins
155 RALLY_PLUGINS_BRANCH:
156 type: string
157 default: ""
158 description: Git branch which will be used during the checkout
159 K8S_RALLY:
160 type: boolean
161 default: 'false'
162 description: If chosen then K8S Rally test will be executed
163 JOB_TIMEOUT:
164 type: string
165 default: "3"
166 description: Job timeout in hours
167 REPORT_DIR:
168 type: string
169 default: ""
170 description: Path for reports outside docker image
mkraynov3fcda252018-08-07 18:35:18 +0400171 SKIP_LIST:
172 type: string
173 description: "Skip list for Rally test"
174 default: ""
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500175 cvp-sanity:
176 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600177 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500178 display_name: "CVP - Sanity checks"
179 discard:
180 build:
181 keep_num: 20
182 artifact:
183 keep_num: 20
184 concurrent: false
185 scm:
186 type: git
187 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100188 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500189 credentials: "gerrit"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500190 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500191 param:
192 SALT_MASTER_URL:
193 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600194 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500195 description: Full Salt API address [e.g. https://10.10.10.2:6969]
196 SALT_MASTER_CREDENTIALS:
197 type: string
198 default: "salt"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500199 TESTS_REPO:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500200 type: string
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500201 default: "${_param:cvp_sanity_default_repo}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500202 description: Url for cvp-sanity-checks
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500203 TESTS_SETTINGS:
Oleksii Zhurba07076052017-11-08 12:59:25 -0600204 type: string
205 default: ""
206 description: e.g. skipped_nodes=nal01.local.com,ntw01.local.com
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500207 TESTS_SET:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500208 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500209 default: "cvp-sanity-checks/cvp_checks/tests/"
210 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 -0500211 PROXY:
212 type: string
213 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500214 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600215 cvp-func:
216 type: workflow-scm
217 name: cvp-func
218 display_name: "CVP - Functional tests"
219 discard:
220 build:
221 keep_num: 20
222 artifact:
223 keep_num: 20
224 concurrent: false
225 scm:
226 type: git
227 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
228 credentials: "gerrit"
229 script: cvp-func.groovy
230 param:
231 DEBUG_MODE:
232 type: boolean
233 default: 'false'
234 description: Enable if you need to keep container after the test and debug
235 SKIP_LIST_PATH:
236 type: string
237 default: "cvp-configuration/tempest/skip-list.yaml"
238 description: Path to skip list in container
239 SALT_MASTER_URL:
240 type: string
241 default: "${_param:jenkins_salt_api_url}"
242 description: Full Salt API address [e.g. https://10.10.10.2:6969]
243 SALT_MASTER_CREDENTIALS:
244 type: string
245 default: "salt"
246 description: Credentials to the Salt API
247 TEST_IMAGE:
248 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500249 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600250 description: Docker image to use for running Rally/Tempest
251 TARGET_NODE:
252 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400253 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600254 description: Node where container with Tempest will be run
255 PROXY:
256 type: string
257 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500258 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600259 TEMPEST_TEST_PATTERN:
260 type: string
261 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500262 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600263 TEMPEST_ENDPOINT_TYPE:
264 type: choice
265 choices:
266 - internalURL
267 - adminURL
268 - publicURL
269 description: Openstack endpoint type to use during test run
270 TEMPEST_REPO:
271 type: string
272 default: "https://github.com/openstack/tempest"
273 description: URL to Tempest repo (local or remote) or path to tempest folder in container
274 TOOLS_REPO:
275 type: string
276 default: "https://github.com/Mirantis/cvp-configuration"
277 description: URL of repo where testing tools, scenarios, configs are located.
dtsapikov27d8d472018-07-17 15:10:30 +0400278 TEMPEST_VERSION:
279 type: string
280 default: "15.0.0"
281 description: Version of Tempest
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600282 cvp-ha:
283 type: workflow-scm
284 name: cvp-ha
285 display_name: "CVP - HA tests"
286 discard:
287 build:
288 keep_num: 20
289 artifact:
290 keep_num: 20
291 concurrent: false
292 scm:
293 type: git
294 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
295 credentials: "gerrit"
296 script: cvp-ha.groovy
297 param:
298 SALT_MASTER_URL:
299 type: string
300 default: "${_param:jenkins_salt_api_url}"
301 description: Full Salt API address [e.g. https://10.10.10.2:6969]
302 SALT_MASTER_CREDENTIALS:
303 type: string
304 default: "salt"
305 description: Credentials to the Salt API
306 TEMPEST_TARGET_NODE:
307 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400308 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600309 description: Node where container with tempest will be run
310 TEST_IMAGE:
311 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500312 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600313 description: Docker image to use for running Rally/Tempest
314 TARGET_NODES:
315 type: string
316 default: "ctl*"
317 description: Nodes to test
318 DEBUG_MODE:
319 type: boolean
320 default: 'false'
321 description: If you need to debug (keep container after test), please enabled this
322 RETRY_CHECK_STATUS:
323 type: string
324 default: "200"
325 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
326 SKIP_LIST_PATH:
327 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500328 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600329 description: path to skip-list file inside container
330 PROXY:
331 type: string
332 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500333 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600334 TEMPEST_TEST_PATTERN:
335 type: string
336 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500337 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600338 MANUAL_CONFIRMATION:
339 type: boolean
340 default: 'false'
341 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
342 TEMPEST_REPO:
343 type: string
344 default: "https://github.com/openstack/tempest"
345 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
346 TOOLS_REPO:
347 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500348 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600349 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600350 cvp-perf:
351 type: workflow-scm
352 name: cvp-perf
353 display_name: "CVP - Performance tests"
354 discard:
355 build:
356 keep_num: 20
357 artifact:
358 keep_num: 20
359 concurrent: false
360 scm:
361 type: git
362 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
363 credentials: "gerrit"
364 script: cvp-perf.groovy
365 param:
366 DEBUG_MODE:
367 type: boolean
368 default: 'false'
369 description: Enable if you need to keep container after the test and debug
370 RALLY_SCENARIO_FILE:
371 type: string
372 default: "cvp-configuration/rally/rally_scenarios.json"
373 description: Path to scenario file in container
374 TEST_IMAGE:
375 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500376 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600377 description: Docker image to use for running Rally/Tempest
378 SALT_MASTER_URL:
379 type: string
380 default: "${_param:jenkins_salt_api_url}"
381 description: Full Salt API address [e.g. https://10.10.10.2:6969]
382 SALT_MASTER_CREDENTIALS:
383 type: string
384 default: "salt"
385 description: Credentials to the Salt API
386 TARGET_NODE:
387 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400388 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600389 description: Node where docker container with Rally will be run
390 TOOLS_REPO:
391 type: string
392 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500393 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600394 PROXY:
395 type: string
396 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500397 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600398 cvp-stacklight:
399 type: workflow-scm
400 name: cvp-stacklight
401 display_name: "CVP - Stacklight tests"
402 discard:
403 build:
404 keep_num: 20
405 artifact:
406 keep_num: 20
407 concurrent: false
408 scm:
409 type: git
410 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
411 branch: "${_param:jenkins_pipelines_branch}"
412 credentials: "gerrit"
413 script: cvp-runner.groovy
414 param:
415 SALT_MASTER_URL:
416 type: string
417 default: "${_param:jenkins_salt_api_url}"
418 description: Full Salt API address [e.g. https://10.10.10.2:6969]
419 SALT_MASTER_CREDENTIALS:
420 type: string
421 default: "salt"
422 TESTS_REPO:
423 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500424 default: "https://github.com/Mirantis/stacklight-pytest -b cvp_stacklight"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600425 description: Url for cvp-stacklight-tests
426 TESTS_SETTINGS:
427 type: string
428 default: "SL_AUTOCONF=True"
429 description: "Additional environment variables to export"
430 TESTS_SET:
431 type: string
432 default: "stacklight-pytest/stacklight_tests/tests/prometheus/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500433 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 -0600434 PROXY:
435 type: string
436 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500437 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500438 cvp-spt:
439 type: workflow-scm
440 name: cvp-spt
441 display_name: "CVP - Simplified Performance Tests (SPT)"
442 discard:
443 build:
444 keep_num: 20
445 artifact:
446 keep_num: 20
447 concurrent: false
448 scm:
449 type: git
450 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
451 branch: "${_param:jenkins_pipelines_branch}"
452 credentials: "gerrit"
453 script: cvp-spt.groovy
454 param:
455 SALT_MASTER_URL:
456 type: string
457 default: "${_param:jenkins_salt_api_url}"
458 description: Full Salt API address [e.g. https://10.10.10.2:6969]
459 SALT_MASTER_CREDENTIALS:
460 type: string
461 default: "salt"
462 TESTS_REPO:
463 type: string
464 default: "https://github.com/Mirantis/cvp-spt"
465 description: Url for cvp-spt repository
466 TESTS_SETTINGS:
467 type: string
468 default: ""
469 description: "Additional environment variables to export"
470 TESTS_SET:
471 type: string
472 default: "cvp-spt/cvp_spt/tests/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500473 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 -0500474 PROXY:
475 type: string
476 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500477 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."