blob: 6187e93cab30ef189ceb6423cf02c6681eb97f4b [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.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600279 cvp-ha:
280 type: workflow-scm
281 name: cvp-ha
282 display_name: "CVP - HA tests"
283 discard:
284 build:
285 keep_num: 20
286 artifact:
287 keep_num: 20
288 concurrent: false
289 scm:
290 type: git
291 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
292 credentials: "gerrit"
293 script: cvp-ha.groovy
294 param:
295 SALT_MASTER_URL:
296 type: string
297 default: "${_param:jenkins_salt_api_url}"
298 description: Full Salt API address [e.g. https://10.10.10.2:6969]
299 SALT_MASTER_CREDENTIALS:
300 type: string
301 default: "salt"
302 description: Credentials to the Salt API
303 TEMPEST_TARGET_NODE:
304 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400305 default: ""
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600306 description: Node where container with tempest will be run
307 TEST_IMAGE:
308 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500309 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600310 description: Docker image to use for running Rally/Tempest
311 TARGET_NODES:
312 type: string
313 default: "ctl*"
314 description: Nodes to test
315 DEBUG_MODE:
316 type: boolean
317 default: 'false'
318 description: If you need to debug (keep container after test), please enabled this
319 RETRY_CHECK_STATUS:
320 type: string
321 default: "200"
322 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
323 SKIP_LIST_PATH:
324 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500325 default: "cvp-configuration/tempest/skip-list.yaml"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600326 description: path to skip-list file inside container
327 PROXY:
328 type: string
329 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500330 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600331 TEMPEST_TEST_PATTERN:
332 type: string
333 default: "set=smoke"
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500334 description: Use set=smoke (or identity,full...) or just test name
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600335 MANUAL_CONFIRMATION:
336 type: boolean
337 default: 'false'
338 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
339 TEMPEST_REPO:
340 type: string
341 default: "https://github.com/openstack/tempest"
342 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
343 TOOLS_REPO:
344 type: string
Oleksii Zhurba7bb22762018-03-21 15:52:38 -0500345 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600346 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600347 cvp-perf:
348 type: workflow-scm
349 name: cvp-perf
350 display_name: "CVP - Performance tests"
351 discard:
352 build:
353 keep_num: 20
354 artifact:
355 keep_num: 20
356 concurrent: false
357 scm:
358 type: git
359 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
360 credentials: "gerrit"
361 script: cvp-perf.groovy
362 param:
363 DEBUG_MODE:
364 type: boolean
365 default: 'false'
366 description: Enable if you need to keep container after the test and debug
367 RALLY_SCENARIO_FILE:
368 type: string
369 default: "cvp-configuration/rally/rally_scenarios.json"
370 description: Path to scenario file in container
371 TEST_IMAGE:
372 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500373 default: "xrally/xrally-openstack:0.9.2"
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600374 description: Docker image to use for running Rally/Tempest
375 SALT_MASTER_URL:
376 type: string
377 default: "${_param:jenkins_salt_api_url}"
378 description: Full Salt API address [e.g. https://10.10.10.2:6969]
379 SALT_MASTER_CREDENTIALS:
380 type: string
381 default: "salt"
382 description: Credentials to the Salt API
383 TARGET_NODE:
384 type: string
mkraynov16a69cb2018-08-01 15:39:16 +0400385 default: ""
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600386 description: Node where docker container with Rally will be run
387 TOOLS_REPO:
388 type: string
389 default: "https://github.com/Mirantis/cvp-configuration"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500390 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600391 PROXY:
392 type: string
393 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500394 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600395 cvp-stacklight:
396 type: workflow-scm
397 name: cvp-stacklight
398 display_name: "CVP - Stacklight tests"
399 discard:
400 build:
401 keep_num: 20
402 artifact:
403 keep_num: 20
404 concurrent: false
405 scm:
406 type: git
407 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
408 branch: "${_param:jenkins_pipelines_branch}"
409 credentials: "gerrit"
410 script: cvp-runner.groovy
411 param:
412 SALT_MASTER_URL:
413 type: string
414 default: "${_param:jenkins_salt_api_url}"
415 description: Full Salt API address [e.g. https://10.10.10.2:6969]
416 SALT_MASTER_CREDENTIALS:
417 type: string
418 default: "salt"
419 TESTS_REPO:
420 type: string
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500421 default: "https://github.com/Mirantis/stacklight-pytest -b cvp_stacklight"
Oleksii Zhurba68ad5042018-02-16 20:13:07 -0600422 description: Url for cvp-stacklight-tests
423 TESTS_SETTINGS:
424 type: string
425 default: "SL_AUTOCONF=True"
426 description: "Additional environment variables to export"
427 TESTS_SET:
428 type: string
429 default: "stacklight-pytest/stacklight_tests/tests/prometheus/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500430 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 -0600431 PROXY:
432 type: string
433 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500434 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."
Oleksii Zhurbae729cf72018-06-13 11:29:46 -0500435 cvp-spt:
436 type: workflow-scm
437 name: cvp-spt
438 display_name: "CVP - Simplified Performance Tests (SPT)"
439 discard:
440 build:
441 keep_num: 20
442 artifact:
443 keep_num: 20
444 concurrent: false
445 scm:
446 type: git
447 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
448 branch: "${_param:jenkins_pipelines_branch}"
449 credentials: "gerrit"
450 script: cvp-spt.groovy
451 param:
452 SALT_MASTER_URL:
453 type: string
454 default: "${_param:jenkins_salt_api_url}"
455 description: Full Salt API address [e.g. https://10.10.10.2:6969]
456 SALT_MASTER_CREDENTIALS:
457 type: string
458 default: "salt"
459 TESTS_REPO:
460 type: string
461 default: "https://github.com/Mirantis/cvp-spt"
462 description: Url for cvp-spt repository
463 TESTS_SETTINGS:
464 type: string
465 default: ""
466 description: "Additional environment variables to export"
467 TESTS_SET:
468 type: string
469 default: "cvp-spt/cvp_spt/tests/"
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500470 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 -0500471 PROXY:
472 type: string
473 default: ""
Oleksii Zhurba462124e2018-08-14 10:20:26 -0500474 description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value."