blob: 57db5399a13c671226238f6ddfcecf57c804686e [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
136 RALLY_TASK_ARGS_FILE:
137 type: string
138 default: ""
139 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700140 AVAILABILITY_ZONE:
141 type: string
142 default: "nova"
143 description: Name of availability zone
144 GENERATE_REPORT:
145 type: boolean
146 default: 'true'
147 description: If chosen then at the end of the test run HTML report will be generated
148 ACCUMULATE_RESULTS:
149 type: boolean
150 default: 'true'
151 description: If chosen then previous build results will be used in the current build
mkraynovdc3b3ee2018-07-25 15:58:29 +0400152 RALLY_PLUGINS_REPO:
153 type: string
154 default: ""
155 description: Git repository with Rally plugins
156 RALLY_PLUGINS_BRANCH:
157 type: string
158 default: ""
159 description: Git branch which will be used during the checkout
160 K8S_RALLY:
161 type: boolean
162 default: 'false'
163 description: If chosen then K8S Rally test will be executed
164 JOB_TIMEOUT:
165 type: string
166 default: "3"
167 description: Job timeout in hours
168 REPORT_DIR:
169 type: string
170 default: ""
171 description: Path for reports outside docker image
mkraynov3fcda252018-08-07 18:35:18 +0400172 SKIP_LIST:
173 type: string
174 description: "Skip list for Rally test"
175 default: ""
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500176 cvp-sanity:
177 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600178 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500179 display_name: "CVP - Sanity checks"
180 discard:
181 build:
182 keep_num: 20
183 artifact:
184 keep_num: 20
185 concurrent: false
186 scm:
187 type: git
188 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100189 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500190 credentials: "gerrit"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500191 script: cvp-runner.groovy
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500192 param:
193 SALT_MASTER_URL:
194 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600195 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500196 description: Full Salt API address [e.g. https://10.10.10.2:6969]
197 SALT_MASTER_CREDENTIALS:
198 type: string
199 default: "salt"
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500200 TESTS_REPO:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500201 type: string
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500202 default: "${_param:cvp_sanity_default_repo}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500203 description: Url for cvp-sanity-checks
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500204 TESTS_SETTINGS:
Oleksii Zhurba07076052017-11-08 12:59:25 -0600205 type: string
206 default: ""
207 description: e.g. skipped_nodes=nal01.local.com,ntw01.local.com
Oleksii Zhurbac0af3f02018-06-14 13:47:54 -0500208 TESTS_SET:
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500209 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500210 default: "cvp-sanity-checks/cvp_checks/tests/"
211 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 -0500212 PROXY:
213 type: string
214 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500215 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600216 cvp-func:
217 type: workflow-scm
218 name: cvp-func
219 display_name: "CVP - Functional tests"
220 discard:
221 build:
222 keep_num: 20
223 artifact:
224 keep_num: 20
225 concurrent: false
226 scm:
227 type: git
228 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
229 credentials: "gerrit"
230 script: cvp-func.groovy
231 param:
232 DEBUG_MODE:
233 type: boolean
234 default: 'false'
235 description: Enable if you need to keep container after the test and debug
236 SKIP_LIST_PATH:
237 type: string
238 default: "cvp-configuration/tempest/skip-list.yaml"
239 description: Path to skip list in container
240 SALT_MASTER_URL:
241 type: string
242 default: "${_param:jenkins_salt_api_url}"
243 description: Full Salt API address [e.g. https://10.10.10.2:6969]
244 SALT_MASTER_CREDENTIALS:
245 type: string
246 default: "salt"
247 description: Credentials to the Salt API
248 TEST_IMAGE:
249 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500250 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600251 description: Docker image to use for running Rally/Tempest
252 TARGET_NODE:
253 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400254 default: ""
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600255 description: Node where container with Tempest will be run
256 PROXY:
257 type: string
258 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500259 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600260 TEMPEST_TEST_PATTERN:
261 type: string
262 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500263 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600264 TEMPEST_ENDPOINT_TYPE:
265 type: choice
266 choices:
267 - internalURL
268 - adminURL
269 - publicURL
270 description: Openstack endpoint type to use during test run
271 TEMPEST_REPO:
272 type: string
273 default: "https://github.com/openstack/tempest"
274 description: URL to Tempest repo (local or remote) or path to tempest folder in container
275 TOOLS_REPO:
276 type: string
277 default: "https://github.com/Mirantis/cvp-configuration"
278 description: URL of repo where testing tools, scenarios, configs are located.
dtsapikov27d8d472018-07-17 15:10:30 +0400279 TEMPEST_VERSION:
280 type: string
281 default: "15.0.0"
282 description: Version of Tempest
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600283 cvp-ha:
284 type: workflow-scm
285 name: cvp-ha
286 display_name: "CVP - HA tests"
287 discard:
288 build:
289 keep_num: 20
290 artifact:
291 keep_num: 20
292 concurrent: false
293 scm:
294 type: git
295 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
296 credentials: "gerrit"
297 script: cvp-ha.groovy
298 param:
299 SALT_MASTER_URL:
300 type: string
301 default: "${_param:jenkins_salt_api_url}"
302 description: Full Salt API address [e.g. https://10.10.10.2:6969]
303 SALT_MASTER_CREDENTIALS:
304 type: string
305 default: "salt"
306 description: Credentials to the Salt API
307 TEMPEST_TARGET_NODE:
308 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400309 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600310 description: Node where container with tempest will be run
311 TEST_IMAGE:
312 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500313 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600314 description: Docker image to use for running Rally/Tempest
315 TARGET_NODES:
316 type: string
317 default: "ctl*"
318 description: Nodes to test
319 DEBUG_MODE:
320 type: boolean
321 default: 'false'
322 description: If you need to debug (keep container after test), please enabled this
323 RETRY_CHECK_STATUS:
324 type: string
325 default: "200"
326 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
327 SKIP_LIST_PATH:
328 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500329 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600330 description: path to skip-list file inside container
331 PROXY:
332 type: string
333 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500334 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600335 TEMPEST_TEST_PATTERN:
336 type: string
337 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500338 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600339 MANUAL_CONFIRMATION:
340 type: boolean
341 default: 'false'
342 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
343 TEMPEST_REPO:
344 type: string
345 default: "https://github.com/openstack/tempest"
346 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
347 TOOLS_REPO:
348 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500349 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600350 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600351 cvp-perf:
352 type: workflow-scm
353 name: cvp-perf
354 display_name: "CVP - Performance tests"
355 discard:
356 build:
357 keep_num: 20
358 artifact:
359 keep_num: 20
360 concurrent: false
361 scm:
362 type: git
363 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
364 credentials: "gerrit"
365 script: cvp-perf.groovy
366 param:
367 DEBUG_MODE:
368 type: boolean
369 default: 'false'
370 description: Enable if you need to keep container after the test and debug
371 RALLY_SCENARIO_FILE:
372 type: string
373 default: "cvp-configuration/rally/rally_scenarios.json"
374 description: Path to scenario file in container
375 TEST_IMAGE:
376 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500377 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600378 description: Docker image to use for running Rally/Tempest
379 SALT_MASTER_URL:
380 type: string
381 default: "${_param:jenkins_salt_api_url}"
382 description: Full Salt API address [e.g. https://10.10.10.2:6969]
383 SALT_MASTER_CREDENTIALS:
384 type: string
385 default: "salt"
386 description: Credentials to the Salt API
387 TARGET_NODE:
388 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400389 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600390 description: Node where docker container with Rally will be run
391 TOOLS_REPO:
392 type: string
393 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500394 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600395 PROXY:
396 type: string
397 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500398 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600399 cvp-stacklight:
400 type: workflow-scm
401 name: cvp-stacklight
402 display_name: "CVP - Stacklight tests"
403 discard:
404 build:
405 keep_num: 20
406 artifact:
407 keep_num: 20
408 concurrent: false
409 scm:
410 type: git
411 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
412 branch: "${_param:jenkins_pipelines_branch}"
413 credentials: "gerrit"
414 script: cvp-runner.groovy
415 param:
416 SALT_MASTER_URL:
417 type: string
418 default: "${_param:jenkins_salt_api_url}"
419 description: Full Salt API address [e.g. https://10.10.10.2:6969]
420 SALT_MASTER_CREDENTIALS:
421 type: string
422 default: "salt"
423 TESTS_REPO:
424 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500425 default: "https://github.com/Mirantis/stacklight-pytest -b cvp_stacklight"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600426 description: Url for cvp-stacklight-tests
427 TESTS_SETTINGS:
428 type: string
429 default: "SL_AUTOCONF=True"
430 description: "Additional environment variables to export"
431 TESTS_SET:
432 type: string
433 default: "stacklight-pytest/stacklight_tests/tests/prometheus/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500434 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 -0600435 PROXY:
436 type: string
437 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500438 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500439 cvp-spt:
440 type: workflow-scm
441 name: cvp-spt
442 display_name: "CVP - Simplified Performance Tests (SPT)"
443 discard:
444 build:
445 keep_num: 20
446 artifact:
447 keep_num: 20
448 concurrent: false
449 scm:
450 type: git
451 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
452 branch: "${_param:jenkins_pipelines_branch}"
453 credentials: "gerrit"
454 script: cvp-spt.groovy
455 param:
456 SALT_MASTER_URL:
457 type: string
458 default: "${_param:jenkins_salt_api_url}"
459 description: Full Salt API address [e.g. https://10.10.10.2:6969]
460 SALT_MASTER_CREDENTIALS:
461 type: string
462 default: "salt"
463 TESTS_REPO:
464 type: string
465 default: "https://github.com/Mirantis/cvp-spt"
466 description: Url for cvp-spt repository
467 TESTS_SETTINGS:
468 type: string
469 default: ""
470 description: "Additional environment variables to export"
471 TESTS_SET:
472 type: string
473 default: "cvp-spt/cvp_spt/tests/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500474 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 -0500475 PROXY:
476 type: string
477 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500478 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."