blob: a020a730cab9374545f4d6e538715329448a08b3 [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
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000209 default: "cvp-sanity-check/cvp_checks/tests/"
210 description: Leave empty for full run or choose a file, e.g. test_mtu.py
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500211 PROXY:
212 type: string
213 default: ""
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000214 description: Proxy address to clone repo and install python requirements
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
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000249 default: "xrally/xrally-openstack:0.9.1"
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: ""
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000258 description: Proxy address to clone repo and install python requirements
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
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000312 default: "xrally/xrally-openstack:0.9.1"
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: ""
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000333 description: Proxy address to clone repo and install python requirements
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
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000376 default: "xrally/xrally-openstack:0.9.1"
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"
393 PROXY:
394 type: string
395 default: ""
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600396 cvp-stacklight:
397 type: workflow-scm
398 name: cvp-stacklight
399 display_name: "CVP - Stacklight tests"
400 discard:
401 build:
402 keep_num: 20
403 artifact:
404 keep_num: 20
405 concurrent: false
406 scm:
407 type: git
408 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
409 branch: "${_param:jenkins_pipelines_branch}"
410 credentials: "gerrit"
411 script: cvp-runner.groovy
412 param:
413 SALT_MASTER_URL:
414 type: string
415 default: "${_param:jenkins_salt_api_url}"
416 description: Full Salt API address [e.g. https://10.10.10.2:6969]
417 SALT_MASTER_CREDENTIALS:
418 type: string
419 default: "salt"
420 TESTS_REPO:
421 type: string
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000422 default: "https://github.com/legan4ik/stacklight-pytest"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600423 description: Url for cvp-stacklight-tests
424 TESTS_SETTINGS:
425 type: string
426 default: "SL_AUTOCONF=True"
427 description: "Additional environment variables to export"
428 TESTS_SET:
429 type: string
430 default: "stacklight-pytest/stacklight_tests/tests/prometheus/"
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000431 description: "Leave empty for full run or choose a file, e.g. test_dashboards.py"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600432 PROXY:
433 type: string
434 default: ""
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000435 description: Proxy address to clone repo and install python requirements
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500436 cvp-spt:
437 type: workflow-scm
438 name: cvp-spt
439 display_name: "CVP - Simplified Performance Tests (SPT)"
440 discard:
441 build:
442 keep_num: 20
443 artifact:
444 keep_num: 20
445 concurrent: false
446 scm:
447 type: git
448 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
449 branch: "${_param:jenkins_pipelines_branch}"
450 credentials: "gerrit"
451 script: cvp-spt.groovy
452 param:
453 SALT_MASTER_URL:
454 type: string
455 default: "${_param:jenkins_salt_api_url}"
456 description: Full Salt API address [e.g. https://10.10.10.2:6969]
457 SALT_MASTER_CREDENTIALS:
458 type: string
459 default: "salt"
460 TESTS_REPO:
461 type: string
462 default: "https://github.com/Mirantis/cvp-spt"
463 description: Url for cvp-spt repository
464 TESTS_SETTINGS:
465 type: string
466 default: ""
467 description: "Additional environment variables to export"
468 TESTS_SET:
469 type: string
470 default: "cvp-spt/cvp_spt/tests/"
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000471 description: "Leave empty for full run or choose a file, e.g. test_glance.py"
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500472 PROXY:
473 type: string
474 default: ""
Vasyl Saienkod2d3d072018-08-14 09:15:38 +0000475 description: Proxy address to clone repo and install python requirements