blob: 4d18225e3c999ac46f6c7d11246fe05f6721aa92 [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
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500151 cvp-sanity:
152 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600153 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500154 display_name: "CVP - Sanity checks"
155 discard:
156 build:
157 keep_num: 20
158 artifact:
159 keep_num: 20
160 concurrent: false
161 scm:
162 type: git
163 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100164 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500165 credentials: "gerrit"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500166 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500167 param:
168 SALT_MASTER_URL:
169 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600170 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500171 description: Full Salt API address [e.g. https://10.10.10.2:6969]
172 SALT_MASTER_CREDENTIALS:
173 type: string
174 default: "salt"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500175 TESTS_REPO:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500176 type: string
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500177 default: "${_param:cvp_sanity_default_repo}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500178 description: Url for cvp-sanity-checks
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500179 TESTS_SETTINGS:
Oleksii Zhurba07076052017-11-08 12:59:25 -0600180 type: string
181 default: ""
182 description: e.g. skipped_nodes=nal01.local.com,ntw01.local.com
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500183 TESTS_SET:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500184 type: string
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500185 default: "cvp-sanity-check/cvp_checks/tests/"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500186 description: Leave empty for full run or choose a file, e.g. test_mtu.py
187 PROXY:
188 type: string
189 default: ""
190 description: Proxy address to clone repo and install python requirements
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600191 cvp-func:
192 type: workflow-scm
193 name: cvp-func
194 display_name: "CVP - Functional tests"
195 discard:
196 build:
197 keep_num: 20
198 artifact:
199 keep_num: 20
200 concurrent: false
201 scm:
202 type: git
203 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
204 credentials: "gerrit"
205 script: cvp-func.groovy
206 param:
207 DEBUG_MODE:
208 type: boolean
209 default: 'false'
210 description: Enable if you need to keep container after the test and debug
211 SKIP_LIST_PATH:
212 type: string
213 default: "cvp-configuration/tempest/skip-list.yaml"
214 description: Path to skip list in container
215 SALT_MASTER_URL:
216 type: string
217 default: "${_param:jenkins_salt_api_url}"
218 description: Full Salt API address [e.g. https://10.10.10.2:6969]
219 SALT_MASTER_CREDENTIALS:
220 type: string
221 default: "salt"
222 description: Credentials to the Salt API
223 TEST_IMAGE:
224 type: string
225 default: "xrally/xrally-openstack:0.9.1"
226 description: Docker image to use for running Rally/Tempest
227 TARGET_NODE:
228 type: string
229 default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}"
230 description: Node where container with Tempest will be run
231 PROXY:
232 type: string
233 default: ""
234 description: Proxy address to clone repo and install python requirements
235 TEMPEST_TEST_PATTERN:
236 type: string
237 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500238 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600239 TEMPEST_ENDPOINT_TYPE:
240 type: choice
241 choices:
242 - internalURL
243 - adminURL
244 - publicURL
245 description: Openstack endpoint type to use during test run
246 TEMPEST_REPO:
247 type: string
248 default: "https://github.com/openstack/tempest"
249 description: URL to Tempest repo (local or remote) or path to tempest folder in container
250 TOOLS_REPO:
251 type: string
252 default: "https://github.com/Mirantis/cvp-configuration"
253 description: URL of repo where testing tools, scenarios, configs are located.
dtsapikov27d8d472018-07-17 15:10:30 +0400254 TEMPEST_VERSION:
255 type: string
256 default: "15.0.0"
257 description: Version of Tempest
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600258 cvp-ha:
259 type: workflow-scm
260 name: cvp-ha
261 display_name: "CVP - HA tests"
262 discard:
263 build:
264 keep_num: 20
265 artifact:
266 keep_num: 20
267 concurrent: false
268 scm:
269 type: git
270 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
271 credentials: "gerrit"
272 script: cvp-ha.groovy
273 param:
274 SALT_MASTER_URL:
275 type: string
276 default: "${_param:jenkins_salt_api_url}"
277 description: Full Salt API address [e.g. https://10.10.10.2:6969]
278 SALT_MASTER_CREDENTIALS:
279 type: string
280 default: "salt"
281 description: Credentials to the Salt API
282 TEMPEST_TARGET_NODE:
283 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500284 default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600285 description: Node where container with tempest will be run
286 TEST_IMAGE:
287 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500288 default: "xrally/xrally-openstack:0.9.1"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600289 description: Docker image to use for running Rally/Tempest
290 TARGET_NODES:
291 type: string
292 default: "ctl*"
293 description: Nodes to test
294 DEBUG_MODE:
295 type: boolean
296 default: 'false'
297 description: If you need to debug (keep container after test), please enabled this
298 RETRY_CHECK_STATUS:
299 type: string
300 default: "200"
301 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
302 SKIP_LIST_PATH:
303 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500304 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600305 description: path to skip-list file inside container
306 PROXY:
307 type: string
308 default: ""
309 description: Proxy address to clone repo and install python requirements
310 TEMPEST_TEST_PATTERN:
311 type: string
312 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500313 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600314 MANUAL_CONFIRMATION:
315 type: boolean
316 default: 'false'
317 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
318 TEMPEST_REPO:
319 type: string
320 default: "https://github.com/openstack/tempest"
321 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
322 TOOLS_REPO:
323 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500324 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600325 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600326 cvp-perf:
327 type: workflow-scm
328 name: cvp-perf
329 display_name: "CVP - Performance tests"
330 discard:
331 build:
332 keep_num: 20
333 artifact:
334 keep_num: 20
335 concurrent: false
336 scm:
337 type: git
338 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
339 credentials: "gerrit"
340 script: cvp-perf.groovy
341 param:
342 DEBUG_MODE:
343 type: boolean
344 default: 'false'
345 description: Enable if you need to keep container after the test and debug
346 RALLY_SCENARIO_FILE:
347 type: string
348 default: "cvp-configuration/rally/rally_scenarios.json"
349 description: Path to scenario file in container
350 TEST_IMAGE:
351 type: string
352 default: "xrally/xrally-openstack:0.9.1"
353 description: Docker image to use for running Rally/Tempest
354 SALT_MASTER_URL:
355 type: string
356 default: "${_param:jenkins_salt_api_url}"
357 description: Full Salt API address [e.g. https://10.10.10.2:6969]
358 SALT_MASTER_CREDENTIALS:
359 type: string
360 default: "salt"
361 description: Credentials to the Salt API
362 TARGET_NODE:
363 type: string
364 default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}"
365 description: Node where docker container with Rally will be run
366 TOOLS_REPO:
367 type: string
368 default: "https://github.com/Mirantis/cvp-configuration"
369 PROXY:
370 type: string
371 default: ""
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600372 cvp-stacklight:
373 type: workflow-scm
374 name: cvp-stacklight
375 display_name: "CVP - Stacklight tests"
376 discard:
377 build:
378 keep_num: 20
379 artifact:
380 keep_num: 20
381 concurrent: false
382 scm:
383 type: git
384 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
385 branch: "${_param:jenkins_pipelines_branch}"
386 credentials: "gerrit"
387 script: cvp-runner.groovy
388 param:
389 SALT_MASTER_URL:
390 type: string
391 default: "${_param:jenkins_salt_api_url}"
392 description: Full Salt API address [e.g. https://10.10.10.2:6969]
393 SALT_MASTER_CREDENTIALS:
394 type: string
395 default: "salt"
396 TESTS_REPO:
397 type: string
398 default: "https://github.com/legan4ik/stacklight-pytest"
399 description: Url for cvp-stacklight-tests
400 TESTS_SETTINGS:
401 type: string
402 default: "SL_AUTOCONF=True"
403 description: "Additional environment variables to export"
404 TESTS_SET:
405 type: string
406 default: "stacklight-pytest/stacklight_tests/tests/prometheus/"
407 description: "Leave empty for full run or choose a file, e.g. test_dashboards.py"
408 PROXY:
409 type: string
410 default: ""
411 description: Proxy address to clone repo and install python requirements
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500412 cvp-spt:
413 type: workflow-scm
414 name: cvp-spt
415 display_name: "CVP - Simplified Performance Tests (SPT)"
416 discard:
417 build:
418 keep_num: 20
419 artifact:
420 keep_num: 20
421 concurrent: false
422 scm:
423 type: git
424 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
425 branch: "${_param:jenkins_pipelines_branch}"
426 credentials: "gerrit"
427 script: cvp-spt.groovy
428 param:
429 SALT_MASTER_URL:
430 type: string
431 default: "${_param:jenkins_salt_api_url}"
432 description: Full Salt API address [e.g. https://10.10.10.2:6969]
433 SALT_MASTER_CREDENTIALS:
434 type: string
435 default: "salt"
436 TESTS_REPO:
437 type: string
438 default: "https://github.com/Mirantis/cvp-spt"
439 description: Url for cvp-spt repository
440 TESTS_SETTINGS:
441 type: string
442 default: ""
443 description: "Additional environment variables to export"
444 TESTS_SET:
445 type: string
446 default: "cvp-spt/cvp_spt/tests/"
447 description: "Leave empty for full run or choose a file, e.g. test_glance.py"
448 PROXY:
449 type: string
450 default: ""
451 description: Proxy address to clone repo and install python requirements