blob: 32b0c0f866e361a830184e270b5c80e4d370bf70 [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.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600254 cvp-ha:
255 type: workflow-scm
256 name: cvp-ha
257 display_name: "CVP - HA tests"
258 discard:
259 build:
260 keep_num: 20
261 artifact:
262 keep_num: 20
263 concurrent: false
264 scm:
265 type: git
266 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
267 credentials: "gerrit"
268 script: cvp-ha.groovy
269 param:
270 SALT_MASTER_URL:
271 type: string
272 default: "${_param:jenkins_salt_api_url}"
273 description: Full Salt API address [e.g. https://10.10.10.2:6969]
274 SALT_MASTER_CREDENTIALS:
275 type: string
276 default: "salt"
277 description: Credentials to the Salt API
278 TEMPEST_TARGET_NODE:
279 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500280 default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600281 description: Node where container with tempest will be run
282 TEST_IMAGE:
283 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500284 default: "xrally/xrally-openstack:0.9.1"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600285 description: Docker image to use for running Rally/Tempest
286 TARGET_NODES:
287 type: string
288 default: "ctl*"
289 description: Nodes to test
290 DEBUG_MODE:
291 type: boolean
292 default: 'false'
293 description: If you need to debug (keep container after test), please enabled this
294 RETRY_CHECK_STATUS:
295 type: string
296 default: "200"
297 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
298 SKIP_LIST_PATH:
299 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500300 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600301 description: path to skip-list file inside container
302 PROXY:
303 type: string
304 default: ""
305 description: Proxy address to clone repo and install python requirements
306 TEMPEST_TEST_PATTERN:
307 type: string
308 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500309 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600310 MANUAL_CONFIRMATION:
311 type: boolean
312 default: 'false'
313 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
314 TEMPEST_REPO:
315 type: string
316 default: "https://github.com/openstack/tempest"
317 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
318 TOOLS_REPO:
319 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500320 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600321 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600322 cvp-perf:
323 type: workflow-scm
324 name: cvp-perf
325 display_name: "CVP - Performance tests"
326 discard:
327 build:
328 keep_num: 20
329 artifact:
330 keep_num: 20
331 concurrent: false
332 scm:
333 type: git
334 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
335 credentials: "gerrit"
336 script: cvp-perf.groovy
337 param:
338 DEBUG_MODE:
339 type: boolean
340 default: 'false'
341 description: Enable if you need to keep container after the test and debug
342 RALLY_SCENARIO_FILE:
343 type: string
344 default: "cvp-configuration/rally/rally_scenarios.json"
345 description: Path to scenario file in container
346 TEST_IMAGE:
347 type: string
348 default: "xrally/xrally-openstack:0.9.1"
349 description: Docker image to use for running Rally/Tempest
350 SALT_MASTER_URL:
351 type: string
352 default: "${_param:jenkins_salt_api_url}"
353 description: Full Salt API address [e.g. https://10.10.10.2:6969]
354 SALT_MASTER_CREDENTIALS:
355 type: string
356 default: "salt"
357 description: Credentials to the Salt API
358 TARGET_NODE:
359 type: string
360 default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}"
361 description: Node where docker container with Rally will be run
362 TOOLS_REPO:
363 type: string
364 default: "https://github.com/Mirantis/cvp-configuration"
365 PROXY:
366 type: string
367 default: ""
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600368 cvp-stacklight:
369 type: workflow-scm
370 name: cvp-stacklight
371 display_name: "CVP - Stacklight tests"
372 discard:
373 build:
374 keep_num: 20
375 artifact:
376 keep_num: 20
377 concurrent: false
378 scm:
379 type: git
380 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
381 branch: "${_param:jenkins_pipelines_branch}"
382 credentials: "gerrit"
383 script: cvp-runner.groovy
384 param:
385 SALT_MASTER_URL:
386 type: string
387 default: "${_param:jenkins_salt_api_url}"
388 description: Full Salt API address [e.g. https://10.10.10.2:6969]
389 SALT_MASTER_CREDENTIALS:
390 type: string
391 default: "salt"
392 TESTS_REPO:
393 type: string
394 default: "https://github.com/legan4ik/stacklight-pytest"
395 description: Url for cvp-stacklight-tests
396 TESTS_SETTINGS:
397 type: string
398 default: "SL_AUTOCONF=True"
399 description: "Additional environment variables to export"
400 TESTS_SET:
401 type: string
402 default: "stacklight-pytest/stacklight_tests/tests/prometheus/"
403 description: "Leave empty for full run or choose a file, e.g. test_dashboards.py"
404 PROXY:
405 type: string
406 default: ""
407 description: Proxy address to clone repo and install python requirements
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500408 cvp-spt:
409 type: workflow-scm
410 name: cvp-spt
411 display_name: "CVP - Simplified Performance Tests (SPT)"
412 discard:
413 build:
414 keep_num: 20
415 artifact:
416 keep_num: 20
417 concurrent: false
418 scm:
419 type: git
420 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
421 branch: "${_param:jenkins_pipelines_branch}"
422 credentials: "gerrit"
423 script: cvp-spt.groovy
424 param:
425 SALT_MASTER_URL:
426 type: string
427 default: "${_param:jenkins_salt_api_url}"
428 description: Full Salt API address [e.g. https://10.10.10.2:6969]
429 SALT_MASTER_CREDENTIALS:
430 type: string
431 default: "salt"
432 TESTS_REPO:
433 type: string
434 default: "https://github.com/Mirantis/cvp-spt"
435 description: Url for cvp-spt repository
436 TESTS_SETTINGS:
437 type: string
438 default: ""
439 description: "Additional environment variables to export"
440 TESTS_SET:
441 type: string
442 default: "cvp-spt/cvp_spt/tests/"
443 description: "Leave empty for full run or choose a file, e.g. test_glance.py"
444 PROXY:
445 type: string
446 default: ""
447 description: Proxy address to clone repo and install python requirements