blob: b0546c31b91d39a77ca08ce24d850851e0553404 [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"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -07004 jenkins:
5 client:
6 view:
7 Validation:
8 enabled: true
9 type: ListView
10 include_regex: "validate.*"
11 job:
12 validate_openstack:
13 type: workflow-scm
14 name: validate-openstack
15 display_name: "Validate - Openstack"
16 discard:
17 build:
Jakub Josef1a828962018-01-23 12:33:34 +010018 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070019 artifact:
Jakub Josef1a828962018-01-23 12:33:34 +010020 keep_num: 50
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070021 concurrent: false
22 scm:
23 type: git
24 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010025 branch: "${_param:jenkins_pipelines_branch}"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070026 credentials: "gerrit"
27 script: validate-cloud.groovy
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070028 param:
29 SALT_MASTER_URL:
30 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070031 default: "${_param:jenkins_salt_api_url}"
32 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070033 SALT_MASTER_CREDENTIALS:
34 type: string
35 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070036 description: Credentials to the Salt API
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070037 TEST_IMAGE:
38 type: string
39 default: "docker-prod-local.artifactory.mirantis.com/mirantis/oss/qa-tools"
Tetiana Korchakd644b352017-08-25 10:30:57 -070040 description: Docker image to setup testing environment
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070041 TARGET_NODE:
42 type: string
43 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070044 description: Target node where this job will be executed from
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070045 RUN_RALLY_TESTS:
46 type: boolean
47 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070048 description: If chosen then Rally tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070049 RUN_TEMPEST_TESTS:
50 type: boolean
51 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070052 description: If chosen then Tempest tests will be executed
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070053 RUN_K8S_TESTS:
54 type: boolean
55 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070056 description: If chosen then K8S tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070057 TEMPEST_TEST_SET:
58 type: choice
59 choices:
60 - smoke
61 - full
Tetiana Korchakd644b352017-08-25 10:30:57 -070062 description: Set of Tempest tests to run
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -080063 TEMPEST_CONFIG_REPO:
64 type: string
65 default: ""
66 description: Git repository with configuration files for Tempest
67 TEMPEST_CONFIG_BRANCH:
68 type: string
69 default: ""
70 description: Git branch which will be used during the checkout
71 TEMPEST_REPO:
72 type: string
73 default: ""
74 description: Git repository with Tempest
75 TEMPEST_VERSION:
76 type: string
77 default: ""
78 description: Version of Tempest (tag, branch or commit)
Tetiana Korchakd644b352017-08-25 10:30:57 -070079 TEST_K8S_NODE:
80 type: string
81 default: ""
82 description: Kubernetes node to run tests from
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070083 TEST_K8S_API_SERVER:
84 type: string
85 default: "http://127.0.0.1:8080"
Tetiana Korchakd644b352017-08-25 10:30:57 -070086 description: API server parameter for K8S tests
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070087 TEST_K8S_CONFORMANCE_IMAGE:
88 type: string
vrovachev7e709802017-09-15 20:04:26 +040089 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Tetiana Korchakd644b352017-08-25 10:30:57 -070090 description: Docker image to run K8S tests
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070091 RUN_SPT_TESTS:
92 type: boolean
93 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070094 description: If chosen then SPT tests will be executed
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070095 SPT_SSH_USER:
96 type: string
97 default: "root"
Tetiana Korchakd644b352017-08-25 10:30:57 -070098 description: Username that is used to ssh between cluster nodes
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -070099 FLOATING_NETWORK:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700100 type: string
101 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700102 description: External(floating) network name (used in both SPT and Rally)
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700103 SPT_IMAGE:
104 type: string
105 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700106 description: Image that is used for network-VM-to-VM-iperf-tests tests
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700107 SPT_IMAGE_USER:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700108 type: string
109 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700110 description: Username that is used to ssh to SPT_IMAGE
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700111 SPT_FLAVOR:
112 type: string
113 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700114 description: Flavor name for SPT_IMAGE (make sure you have required flavor created)
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700115 RALLY_IMAGE:
116 type: string
117 default: "cirros"
118 RALLY_FLAVOR:
119 type: string
120 default: "m1.tiny"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700121 description: Flavor name for Rally scenarios
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -0800122 RALLY_CONFIG_REPO:
123 type: string
124 default: ""
125 description: Git repository with configuration files for Rally
126 RALLY_CONFIG_BRANCH:
127 type: string
128 default: ""
129 description: Git branch which will be used during the checkout
Sergey Galkin42639302017-12-01 16:27:30 +0400130 RALLY_SCENARIOS:
131 type: string
132 default: ""
133 description: Rally scenarios directory or file with scenarios
134 RALLY_TASK_ARGS_FILE:
135 type: string
136 default: ""
137 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700138 AVAILABILITY_ZONE:
139 type: string
140 default: "nova"
141 description: Name of availability zone
142 GENERATE_REPORT:
143 type: boolean
144 default: 'true'
145 description: If chosen then at the end of the test run HTML report will be generated
146 ACCUMULATE_RESULTS:
147 type: boolean
148 default: 'true'
149 description: If chosen then previous build results will be used in the current build
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500150 cvp-sanity:
151 type: workflow-scm
Oleksii Zhurba07076052017-11-08 12:59:25 -0600152 name: cvp-sanity
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500153 display_name: "CVP - Sanity checks"
154 discard:
155 build:
156 keep_num: 20
157 artifact:
158 keep_num: 20
159 concurrent: false
160 scm:
161 type: git
162 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100163 branch: "${_param:jenkins_pipelines_branch}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500164 credentials: "gerrit"
165 script: cvp-sanity.groovy
166 param:
167 SALT_MASTER_URL:
168 type: string
Oleksii Zhurba07076052017-11-08 12:59:25 -0600169 default: "${_param:jenkins_salt_api_url}"
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500170 description: Full Salt API address [e.g. https://10.10.10.2:6969]
171 SALT_MASTER_CREDENTIALS:
172 type: string
173 default: "salt"
174 SANITY_TESTS_REPO:
175 type: string
176 default: "https://github.com/Mirantis/cvp-sanity-checks"
177 description: Url for cvp-sanity-checks
Oleksii Zhurba07076052017-11-08 12:59:25 -0600178 SANITY_TESTS_SETTINGS:
179 type: string
180 default: ""
181 description: e.g. skipped_nodes=nal01.local.com,ntw01.local.com
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500182 SANITY_TESTS_SET:
183 type: string
184 default: ""
185 description: Leave empty for full run or choose a file, e.g. test_mtu.py
186 PROXY:
187 type: string
188 default: ""
189 description: Proxy address to clone repo and install python requirements
Oleksii Zhurba852a1fa2017-12-12 16:27:18 -0600190 cvp-func:
191 type: workflow-scm
192 name: cvp-func
193 display_name: "CVP - Functional tests"
194 discard:
195 build:
196 keep_num: 20
197 artifact:
198 keep_num: 20
199 concurrent: false
200 scm:
201 type: git
202 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
203 credentials: "gerrit"
204 script: cvp-func.groovy
205 param:
206 DEBUG_MODE:
207 type: boolean
208 default: 'false'
209 description: Enable if you need to keep container after the test and debug
210 SKIP_LIST_PATH:
211 type: string
212 default: "cvp-configuration/tempest/skip-list.yaml"
213 description: Path to skip list in container
214 SALT_MASTER_URL:
215 type: string
216 default: "${_param:jenkins_salt_api_url}"
217 description: Full Salt API address [e.g. https://10.10.10.2:6969]
218 SALT_MASTER_CREDENTIALS:
219 type: string
220 default: "salt"
221 description: Credentials to the Salt API
222 TEST_IMAGE:
223 type: string
224 default: "xrally/xrally-openstack:0.9.1"
225 description: Docker image to use for running Rally/Tempest
226 TARGET_NODE:
227 type: string
228 default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}"
229 description: Node where container with Tempest will be run
230 PROXY:
231 type: string
232 default: ""
233 description: Proxy address to clone repo and install python requirements
234 TEMPEST_TEST_PATTERN:
235 type: string
236 default: "set=smoke"
237 description: Use set=smoke (or identity,full...] or just test name
238 TEMPEST_ENDPOINT_TYPE:
239 type: choice
240 choices:
241 - internalURL
242 - adminURL
243 - publicURL
244 description: Openstack endpoint type to use during test run
245 TEMPEST_REPO:
246 type: string
247 default: "https://github.com/openstack/tempest"
248 description: URL to Tempest repo (local or remote) or path to tempest folder in container
249 TOOLS_REPO:
250 type: string
251 default: "https://github.com/Mirantis/cvp-configuration"
252 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurbaf59df9f2017-12-07 14:38:49 -0600253 cvp-ha:
254 type: workflow-scm
255 name: cvp-ha
256 display_name: "CVP - HA tests"
257 discard:
258 build:
259 keep_num: 20
260 artifact:
261 keep_num: 20
262 concurrent: false
263 scm:
264 type: git
265 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
266 credentials: "gerrit"
267 script: cvp-ha.groovy
268 param:
269 SALT_MASTER_URL:
270 type: string
271 default: "${_param:jenkins_salt_api_url}"
272 description: Full Salt API address [e.g. https://10.10.10.2:6969]
273 SALT_MASTER_CREDENTIALS:
274 type: string
275 default: "salt"
276 description: Credentials to the Salt API
277 TEMPEST_TARGET_NODE:
278 type: string
279 default: ""
280 description: Node where container with tempest will be run
281 TEST_IMAGE:
282 type: string
283 default: "rallyforge/rally"
284 description: Docker image to use for running Rally/Tempest
285 TARGET_NODES:
286 type: string
287 default: "ctl*"
288 description: Nodes to test
289 DEBUG_MODE:
290 type: boolean
291 default: 'false'
292 description: If you need to debug (keep container after test), please enabled this
293 RETRY_CHECK_STATUS:
294 type: string
295 default: "200"
296 description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value
297 SKIP_LIST_PATH:
298 type: string
299 default: "/home/rally/cvp-configuration/tempest/skip-list.yaml"
300 description: path to skip-list file inside container
301 PROXY:
302 type: string
303 default: ""
304 description: Proxy address to clone repo and install python requirements
305 TEMPEST_TEST_PATTERN:
306 type: string
307 default: "set=smoke"
308 description: Use set=smoke (or identity,full...] or just test name
309 MANUAL_CONFIRMATION:
310 type: boolean
311 default: 'false'
312 description: Ask for confirmation before doing something destructive (reboot/shutdown node)
313 TEMPEST_REPO:
314 type: string
315 default: "https://github.com/openstack/tempest"
316 description: Can be repo url (local or remote) or path to folder (inside container) with Tempest
317 TOOLS_REPO:
318 type: string
319 default: "${_param:gerrit_public_host}/cvp-configuration"
320 description: URL of repo where testing tools, scenarios, configs are located.
Oleksii Zhurba535032c2017-12-12 16:31:57 -0600321 cvp-perf:
322 type: workflow-scm
323 name: cvp-perf
324 display_name: "CVP - Performance tests"
325 discard:
326 build:
327 keep_num: 20
328 artifact:
329 keep_num: 20
330 concurrent: false
331 scm:
332 type: git
333 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
334 credentials: "gerrit"
335 script: cvp-perf.groovy
336 param:
337 DEBUG_MODE:
338 type: boolean
339 default: 'false'
340 description: Enable if you need to keep container after the test and debug
341 RALLY_SCENARIO_FILE:
342 type: string
343 default: "cvp-configuration/rally/rally_scenarios.json"
344 description: Path to scenario file in container
345 TEST_IMAGE:
346 type: string
347 default: "xrally/xrally-openstack:0.9.1"
348 description: Docker image to use for running Rally/Tempest
349 SALT_MASTER_URL:
350 type: string
351 default: "${_param:jenkins_salt_api_url}"
352 description: Full Salt API address [e.g. https://10.10.10.2:6969]
353 SALT_MASTER_CREDENTIALS:
354 type: string
355 default: "salt"
356 description: Credentials to the Salt API
357 TARGET_NODE:
358 type: string
359 default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}"
360 description: Node where docker container with Rally will be run
361 TOOLS_REPO:
362 type: string
363 default: "https://github.com/Mirantis/cvp-configuration"
364 PROXY:
365 type: string
366 default: ""