blob: c0ebf4042209a0b8e493cfffb79baae275b379fb [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"
azvyagintsev16ca7ce2018-08-21 17:20:33 +03005 mcp_docker_registry: 'docker-prod-local.artifactory.mirantis.com'
Dmitrii Kabanovb908f302017-08-11 00:21:59 -07006 jenkins:
7 client:
8 view:
9 Validation:
10 enabled: true
11 type: ListView
12 include_regex: "validate.*"
13 job:
14 validate_openstack:
15 type: workflow-scm
16 name: validate-openstack
17 display_name: "Validate - Openstack"
18 discard:
19 build:
Jakub Josef1a828962018-01-23 12:33:34 +010020 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070021 artifact:
Jakub Josef1a828962018-01-23 12:33:34 +010022 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070023 concurrent: false
24 scm:
25 type: git
26 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010027 branch: "${_param:jenkins_pipelines_branch}"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070028 credentials: "gerrit"
29 script: validate-cloud.groovy
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070030 param:
31 SALT_MASTER_URL:
32 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070033 default: "${_param:jenkins_salt_api_url}"
34 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070035 SALT_MASTER_CREDENTIALS:
36 type: string
37 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070038 description: Credentials to the Salt API
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070039 TEST_IMAGE:
40 type: string
azvyagintsev16ca7ce2018-08-21 17:20:33 +030041 default: "${_param:mcp_docker_registry}/mirantis/oss/qa-tools"
Tetiana Korchakd644b352017-08-25 10:30:57 -070042 description: Docker image to setup testing environment
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070043 TARGET_NODE:
44 type: string
45 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070046 description: Target node where this job will be executed from
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070047 RUN_RALLY_TESTS:
48 type: boolean
49 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070050 description: If chosen then Rally tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070051 RUN_TEMPEST_TESTS:
52 type: boolean
53 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070054 description: If chosen then Tempest tests will be executed
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070055 RUN_K8S_TESTS:
56 type: boolean
57 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070058 description: If chosen then K8S tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070059 TEMPEST_TEST_SET:
60 type: choice
61 choices:
62 - smoke
63 - full
Tetiana Korchakd644b352017-08-25 10:30:57 -070064 description: Set of Tempest tests to run
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -080065 TEMPEST_CONFIG_REPO:
66 type: string
67 default: ""
68 description: Git repository with configuration files for Tempest
69 TEMPEST_CONFIG_BRANCH:
70 type: string
71 default: ""
72 description: Git branch which will be used during the checkout
73 TEMPEST_REPO:
74 type: string
75 default: ""
76 description: Git repository with Tempest
77 TEMPEST_VERSION:
78 type: string
79 default: ""
80 description: Version of Tempest (tag, branch or commit)
Tetiana Korchakd644b352017-08-25 10:30:57 -070081 TEST_K8S_NODE:
82 type: string
83 default: ""
84 description: Kubernetes node to run tests from
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070085 TEST_K8S_API_SERVER:
86 type: string
87 default: "http://127.0.0.1:8080"
Tetiana Korchakd644b352017-08-25 10:30:57 -070088 description: API server parameter for K8S tests
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070089 TEST_K8S_CONFORMANCE_IMAGE:
90 type: string
vrovachev7e709802017-09-15 20:04:26 +040091 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Tetiana Korchakd644b352017-08-25 10:30:57 -070092 description: Docker image to run K8S tests
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070093 RUN_SPT_TESTS:
94 type: boolean
95 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070096 description: If chosen then SPT tests will be executed
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070097 SPT_SSH_USER:
98 type: string
99 default: "root"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700100 description: Username that is used to ssh between cluster nodes
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700101 FLOATING_NETWORK:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700102 type: string
103 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700104 description: External(floating) network name (used in both SPT and Rally)
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700105 SPT_IMAGE:
106 type: string
107 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700108 description: Image that is used for network-VM-to-VM-iperf-tests tests
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700109 SPT_IMAGE_USER:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700110 type: string
111 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700112 description: Username that is used to ssh to SPT_IMAGE
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700113 SPT_FLAVOR:
114 type: string
115 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700116 description: Flavor name for SPT_IMAGE (make sure you have required flavor created)
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700117 RALLY_IMAGE:
118 type: string
119 default: "cirros"
120 RALLY_FLAVOR:
121 type: string
122 default: "m1.tiny"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700123 description: Flavor name for Rally scenarios
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -0800124 RALLY_CONFIG_REPO:
125 type: string
126 default: ""
127 description: Git repository with configuration files for Rally
128 RALLY_CONFIG_BRANCH:
129 type: string
130 default: ""
131 description: Git branch which will be used during the checkout
Sergey Galkin42639302017-12-01 16:27:30 +0400132 RALLY_SCENARIOS:
133 type: string
134 default: ""
135 description: Rally scenarios directory or file with scenarios
Oleg Basov894f8c12018-09-04 21:44:12 +0200136 RALLY_SL_SCENARIOS:
137 type: string
138 default: ""
139 description: Stacklight Rally scenarios directory or file with scenarios
Sergey Galkin42639302017-12-01 16:27:30 +0400140 RALLY_TASK_ARGS_FILE:
141 type: string
142 default: ""
143 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700144 AVAILABILITY_ZONE:
145 type: string
146 default: "nova"
147 description: Name of availability zone
148 GENERATE_REPORT:
149 type: boolean
150 default: 'true'
151 description: If chosen then at the end of the test run HTML report will be generated
152 ACCUMULATE_RESULTS:
153 type: boolean
154 default: 'true'
155 description: If chosen then previous build results will be used in the current build
mkraynovdc3b3ee2018-07-25 15:58:29 +0400156 RALLY_PLUGINS_REPO:
157 type: string
158 default: ""
159 description: Git repository with Rally plugins
160 RALLY_PLUGINS_BRANCH:
161 type: string
162 default: ""
163 description: Git branch which will be used during the checkout
164 K8S_RALLY:
165 type: boolean
166 default: 'false'
167 description: If chosen then K8S Rally test will be executed
Oleg Basov894f8c12018-09-04 21:44:12 +0200168 STACKLIGHT_RALLY:
169 type: boolean
170 default: 'false'
171 description: If chosen then Stacklight Rally test will be executed
mkraynovdc3b3ee2018-07-25 15:58:29 +0400172 JOB_TIMEOUT:
173 type: string
174 default: "3"
175 description: Job timeout in hours
176 REPORT_DIR:
177 type: string
178 default: ""
179 description: Path for reports outside docker image
mkraynov3fcda252018-08-07 18:35:18 +0400180 SKIP_LIST:
181 type: string
182 description: "Skip list for Rally test"
183 default: ""
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500184 cvp-sanity:
185 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600186 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500187 display_name: "CVP - Sanity checks"
188 discard:
189 build:
190 keep_num: 20
191 artifact:
192 keep_num: 20
193 concurrent: false
194 scm:
195 type: git
196 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100197 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500198 credentials: "gerrit"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500199 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500200 param:
201 SALT_MASTER_URL:
202 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600203 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500204 description: Full Salt API address [e.g. https://10.10.10.2:6969]
205 SALT_MASTER_CREDENTIALS:
206 type: string
207 default: "salt"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500208 TESTS_REPO:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500209 type: string
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500210 default: "${_param:cvp_sanity_default_repo}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500211 description: Url for cvp-sanity-checks
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500212 TESTS_SETTINGS:
Oleksii Zhurba07076052017-11-08 12:59:25 -0600213 type: string
214 default: ""
215 description: e.g. skipped_nodes=nal01.local.com,ntw01.local.com
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500216 TESTS_SET:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500217 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500218 default: "cvp-sanity-checks/cvp_checks/tests/"
219 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 -0500220 PROXY:
221 type: string
222 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500223 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600224 cvp-func:
225 type: workflow-scm
226 name: cvp-func
227 display_name: "CVP - Functional tests"
228 discard:
229 build:
230 keep_num: 20
231 artifact:
232 keep_num: 20
233 concurrent: false
234 scm:
235 type: git
236 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
237 credentials: "gerrit"
238 script: cvp-func.groovy
239 param:
240 DEBUG_MODE:
241 type: boolean
242 default: 'false'
243 description: Enable if you need to keep container after the test and debug
244 SKIP_LIST_PATH:
245 type: string
246 default: "cvp-configuration/tempest/skip-list.yaml"
247 description: Path to skip list in container
248 SALT_MASTER_URL:
249 type: string
250 default: "${_param:jenkins_salt_api_url}"
251 description: Full Salt API address [e.g. https://10.10.10.2:6969]
252 SALT_MASTER_CREDENTIALS:
253 type: string
254 default: "salt"
255 description: Credentials to the Salt API
256 TEST_IMAGE:
257 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500258 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600259 description: Docker image to use for running Rally/Tempest
260 TARGET_NODE:
261 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400262 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600263 description: Node where container with Tempest will be run
264 PROXY:
265 type: string
266 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500267 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600268 TEMPEST_TEST_PATTERN:
269 type: string
270 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500271 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600272 TEMPEST_ENDPOINT_TYPE:
273 type: choice
274 choices:
275 - internalURL
276 - adminURL
277 - publicURL
278 description: Openstack endpoint type to use during test run
279 TEMPEST_REPO:
280 type: string
281 default: "https://github.com/openstack/tempest"
282 description: URL to Tempest repo (local or remote) or path to tempest folder in container
283 TOOLS_REPO:
284 type: string
285 default: "https://github.com/Mirantis/cvp-configuration"
286 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600287 cvp-ha:
288 type: workflow-scm
289 name: cvp-ha
290 display_name: "CVP - HA tests"
291 discard:
292 build:
293 keep_num: 20
294 artifact:
295 keep_num: 20
296 concurrent: false
297 scm:
298 type: git
299 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
300 credentials: "gerrit"
301 script: cvp-ha.groovy
302 param:
303 SALT_MASTER_URL:
304 type: string
305 default: "${_param:jenkins_salt_api_url}"
306 description: Full Salt API address [e.g. https://10.10.10.2:6969]
307 SALT_MASTER_CREDENTIALS:
308 type: string
309 default: "salt"
310 description: Credentials to the Salt API
311 TEMPEST_TARGET_NODE:
312 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400313 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600314 description: Node where container with tempest will be run
315 TEST_IMAGE:
316 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500317 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600318 description: Docker image to use for running Rally/Tempest
319 TARGET_NODES:
320 type: string
321 default: "ctl*"
322 description: Nodes to test
323 DEBUG_MODE:
324 type: boolean
325 default: 'false'
326 description: If you need to debug (keep container after test), please enabled this
327 RETRY_CHECK_STATUS:
328 type: string
329 default: "200"
330 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
331 SKIP_LIST_PATH:
332 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500333 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600334 description: path to skip-list file inside container
335 PROXY:
336 type: string
337 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500338 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600339 TEMPEST_TEST_PATTERN:
340 type: string
341 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500342 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600343 MANUAL_CONFIRMATION:
344 type: boolean
345 default: 'false'
346 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
347 TEMPEST_REPO:
348 type: string
349 default: "https://github.com/openstack/tempest"
350 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
351 TOOLS_REPO:
352 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500353 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600354 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600355 cvp-perf:
356 type: workflow-scm
357 name: cvp-perf
358 display_name: "CVP - Performance tests"
359 discard:
360 build:
361 keep_num: 20
362 artifact:
363 keep_num: 20
364 concurrent: false
365 scm:
366 type: git
367 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
368 credentials: "gerrit"
369 script: cvp-perf.groovy
370 param:
371 DEBUG_MODE:
372 type: boolean
373 default: 'false'
374 description: Enable if you need to keep container after the test and debug
375 RALLY_SCENARIO_FILE:
376 type: string
377 default: "cvp-configuration/rally/rally_scenarios.json"
378 description: Path to scenario file in container
379 TEST_IMAGE:
380 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500381 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600382 description: Docker image to use for running Rally/Tempest
383 SALT_MASTER_URL:
384 type: string
385 default: "${_param:jenkins_salt_api_url}"
386 description: Full Salt API address [e.g. https://10.10.10.2:6969]
387 SALT_MASTER_CREDENTIALS:
388 type: string
389 default: "salt"
390 description: Credentials to the Salt API
391 TARGET_NODE:
392 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400393 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600394 description: Node where docker container with Rally will be run
395 TOOLS_REPO:
396 type: string
397 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500398 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600399 PROXY:
400 type: string
401 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500402 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600403 cvp-stacklight:
404 type: workflow-scm
405 name: cvp-stacklight
406 display_name: "CVP - Stacklight tests"
407 discard:
408 build:
409 keep_num: 20
410 artifact:
411 keep_num: 20
412 concurrent: false
413 scm:
414 type: git
415 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
416 branch: "${_param:jenkins_pipelines_branch}"
417 credentials: "gerrit"
418 script: cvp-runner.groovy
419 param:
420 SALT_MASTER_URL:
421 type: string
422 default: "${_param:jenkins_salt_api_url}"
423 description: Full Salt API address [e.g. https://10.10.10.2:6969]
424 SALT_MASTER_CREDENTIALS:
425 type: string
426 default: "salt"
427 TESTS_REPO:
428 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500429 default: "https://github.com/Mirantis/stacklight-pytest -b cvp_stacklight"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600430 description: Url for cvp-stacklight-tests
431 TESTS_SETTINGS:
432 type: string
433 default: "SL_AUTOCONF=True"
434 description: "Additional environment variables to export"
435 TESTS_SET:
436 type: string
437 default: "stacklight-pytest/stacklight_tests/tests/prometheus/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500438 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 -0600439 PROXY:
440 type: string
441 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500442 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500443 cvp-spt:
444 type: workflow-scm
445 name: cvp-spt
446 display_name: "CVP - Simplified Performance Tests (SPT)"
447 discard:
448 build:
449 keep_num: 20
450 artifact:
451 keep_num: 20
452 concurrent: false
453 scm:
454 type: git
455 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
456 branch: "${_param:jenkins_pipelines_branch}"
457 credentials: "gerrit"
458 script: cvp-spt.groovy
459 param:
460 SALT_MASTER_URL:
461 type: string
462 default: "${_param:jenkins_salt_api_url}"
463 description: Full Salt API address [e.g. https://10.10.10.2:6969]
464 SALT_MASTER_CREDENTIALS:
465 type: string
466 default: "salt"
467 TESTS_REPO:
468 type: string
469 default: "https://github.com/Mirantis/cvp-spt"
470 description: Url for cvp-spt repository
471 TESTS_SETTINGS:
472 type: string
473 default: ""
474 description: "Additional environment variables to export"
475 TESTS_SET:
476 type: string
477 default: "cvp-spt/cvp_spt/tests/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500478 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 -0500479 PROXY:
480 type: string
481 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500482 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."