blob: 207296bd24366c718634d70d567c4a35de3cfb8f [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
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500171 cvp-sanity:
172 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600173 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500174 display_name: "CVP - Sanity checks"
175 discard:
176 build:
177 keep_num: 20
178 artifact:
179 keep_num: 20
180 concurrent: false
181 scm:
182 type: git
183 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100184 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500185 credentials: "gerrit"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500186 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500187 param:
188 SALT_MASTER_URL:
189 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600190 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500191 description: Full Salt API address [e.g. https://10.10.10.2:6969]
192 SALT_MASTER_CREDENTIALS:
193 type: string
194 default: "salt"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500195 TESTS_REPO:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500196 type: string
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500197 default: "${_param:cvp_sanity_default_repo}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500198 description: Url for cvp-sanity-checks
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500199 TESTS_SETTINGS:
Oleksii Zhurba07076052017-11-08 12:59:25 -0600200 type: string
201 default: ""
202 description: e.g. skipped_nodes=nal01.local.com,ntw01.local.com
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500203 TESTS_SET:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500204 type: string
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500205 default: "cvp-sanity-check/cvp_checks/tests/"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500206 description: Leave empty for full run or choose a file, e.g. test_mtu.py
207 PROXY:
208 type: string
209 default: ""
210 description: Proxy address to clone repo and install python requirements
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600211 cvp-func:
212 type: workflow-scm
213 name: cvp-func
214 display_name: "CVP - Functional tests"
215 discard:
216 build:
217 keep_num: 20
218 artifact:
219 keep_num: 20
220 concurrent: false
221 scm:
222 type: git
223 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
224 credentials: "gerrit"
225 script: cvp-func.groovy
226 param:
227 DEBUG_MODE:
228 type: boolean
229 default: 'false'
230 description: Enable if you need to keep container after the test and debug
231 SKIP_LIST_PATH:
232 type: string
233 default: "cvp-configuration/tempest/skip-list.yaml"
234 description: Path to skip list in container
235 SALT_MASTER_URL:
236 type: string
237 default: "${_param:jenkins_salt_api_url}"
238 description: Full Salt API address [e.g. https://10.10.10.2:6969]
239 SALT_MASTER_CREDENTIALS:
240 type: string
241 default: "salt"
242 description: Credentials to the Salt API
243 TEST_IMAGE:
244 type: string
245 default: "xrally/xrally-openstack:0.9.1"
246 description: Docker image to use for running Rally/Tempest
247 TARGET_NODE:
248 type: string
249 default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}"
250 description: Node where container with Tempest will be run
251 PROXY:
252 type: string
253 default: ""
254 description: Proxy address to clone repo and install python requirements
255 TEMPEST_TEST_PATTERN:
256 type: string
257 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500258 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600259 TEMPEST_ENDPOINT_TYPE:
260 type: choice
261 choices:
262 - internalURL
263 - adminURL
264 - publicURL
265 description: Openstack endpoint type to use during test run
266 TEMPEST_REPO:
267 type: string
268 default: "https://github.com/openstack/tempest"
269 description: URL to Tempest repo (local or remote) or path to tempest folder in container
270 TOOLS_REPO:
271 type: string
272 default: "https://github.com/Mirantis/cvp-configuration"
273 description: URL of repo where testing tools, scenarios, configs are located.
dtsapikov27d8d472018-07-17 15:10:30 +0400274 TEMPEST_VERSION:
275 type: string
276 default: "15.0.0"
277 description: Version of Tempest
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600278 cvp-ha:
279 type: workflow-scm
280 name: cvp-ha
281 display_name: "CVP - HA tests"
282 discard:
283 build:
284 keep_num: 20
285 artifact:
286 keep_num: 20
287 concurrent: false
288 scm:
289 type: git
290 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
291 credentials: "gerrit"
292 script: cvp-ha.groovy
293 param:
294 SALT_MASTER_URL:
295 type: string
296 default: "${_param:jenkins_salt_api_url}"
297 description: Full Salt API address [e.g. https://10.10.10.2:6969]
298 SALT_MASTER_CREDENTIALS:
299 type: string
300 default: "salt"
301 description: Credentials to the Salt API
302 TEMPEST_TARGET_NODE:
303 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500304 default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600305 description: Node where container with tempest will be run
306 TEST_IMAGE:
307 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500308 default: "xrally/xrally-openstack:0.9.1"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600309 description: Docker image to use for running Rally/Tempest
310 TARGET_NODES:
311 type: string
312 default: "ctl*"
313 description: Nodes to test
314 DEBUG_MODE:
315 type: boolean
316 default: 'false'
317 description: If you need to debug (keep container after test), please enabled this
318 RETRY_CHECK_STATUS:
319 type: string
320 default: "200"
321 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
322 SKIP_LIST_PATH:
323 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500324 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600325 description: path to skip-list file inside container
326 PROXY:
327 type: string
328 default: ""
329 description: Proxy address to clone repo and install python requirements
330 TEMPEST_TEST_PATTERN:
331 type: string
332 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500333 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600334 MANUAL_CONFIRMATION:
335 type: boolean
336 default: 'false'
337 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
338 TEMPEST_REPO:
339 type: string
340 default: "https://github.com/openstack/tempest"
341 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
342 TOOLS_REPO:
343 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500344 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600345 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600346 cvp-perf:
347 type: workflow-scm
348 name: cvp-perf
349 display_name: "CVP - Performance tests"
350 discard:
351 build:
352 keep_num: 20
353 artifact:
354 keep_num: 20
355 concurrent: false
356 scm:
357 type: git
358 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
359 credentials: "gerrit"
360 script: cvp-perf.groovy
361 param:
362 DEBUG_MODE:
363 type: boolean
364 default: 'false'
365 description: Enable if you need to keep container after the test and debug
366 RALLY_SCENARIO_FILE:
367 type: string
368 default: "cvp-configuration/rally/rally_scenarios.json"
369 description: Path to scenario file in container
370 TEST_IMAGE:
371 type: string
372 default: "xrally/xrally-openstack:0.9.1"
373 description: Docker image to use for running Rally/Tempest
374 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"
381 description: Credentials to the Salt API
382 TARGET_NODE:
383 type: string
384 default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}"
385 description: Node where docker container with Rally will be run
386 TOOLS_REPO:
387 type: string
388 default: "https://github.com/Mirantis/cvp-configuration"
389 PROXY:
390 type: string
391 default: ""
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600392 cvp-stacklight:
393 type: workflow-scm
394 name: cvp-stacklight
395 display_name: "CVP - Stacklight tests"
396 discard:
397 build:
398 keep_num: 20
399 artifact:
400 keep_num: 20
401 concurrent: false
402 scm:
403 type: git
404 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
405 branch: "${_param:jenkins_pipelines_branch}"
406 credentials: "gerrit"
407 script: cvp-runner.groovy
408 param:
409 SALT_MASTER_URL:
410 type: string
411 default: "${_param:jenkins_salt_api_url}"
412 description: Full Salt API address [e.g. https://10.10.10.2:6969]
413 SALT_MASTER_CREDENTIALS:
414 type: string
415 default: "salt"
416 TESTS_REPO:
417 type: string
418 default: "https://github.com/legan4ik/stacklight-pytest"
419 description: Url for cvp-stacklight-tests
420 TESTS_SETTINGS:
421 type: string
422 default: "SL_AUTOCONF=True"
423 description: "Additional environment variables to export"
424 TESTS_SET:
425 type: string
426 default: "stacklight-pytest/stacklight_tests/tests/prometheus/"
427 description: "Leave empty for full run or choose a file, e.g. test_dashboards.py"
428 PROXY:
429 type: string
430 default: ""
431 description: Proxy address to clone repo and install python requirements
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500432 cvp-spt:
433 type: workflow-scm
434 name: cvp-spt
435 display_name: "CVP - Simplified Performance Tests (SPT)"
436 discard:
437 build:
438 keep_num: 20
439 artifact:
440 keep_num: 20
441 concurrent: false
442 scm:
443 type: git
444 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
445 branch: "${_param:jenkins_pipelines_branch}"
446 credentials: "gerrit"
447 script: cvp-spt.groovy
448 param:
449 SALT_MASTER_URL:
450 type: string
451 default: "${_param:jenkins_salt_api_url}"
452 description: Full Salt API address [e.g. https://10.10.10.2:6969]
453 SALT_MASTER_CREDENTIALS:
454 type: string
455 default: "salt"
456 TESTS_REPO:
457 type: string
458 default: "https://github.com/Mirantis/cvp-spt"
459 description: Url for cvp-spt repository
460 TESTS_SETTINGS:
461 type: string
462 default: ""
463 description: "Additional environment variables to export"
464 TESTS_SET:
465 type: string
466 default: "cvp-spt/cvp_spt/tests/"
467 description: "Leave empty for full run or choose a file, e.g. test_glance.py"
468 PROXY:
469 type: string
470 default: ""
471 description: Proxy address to clone repo and install python requirements