Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | view: |
| 5 | Validation: |
| 6 | enabled: true |
| 7 | type: ListView |
| 8 | include_regex: "validate.*" |
| 9 | job: |
| 10 | validate_openstack: |
| 11 | type: workflow-scm |
| 12 | name: validate-openstack |
| 13 | display_name: "Validate - Openstack" |
| 14 | discard: |
| 15 | build: |
Jakub Josef | 1a82896 | 2018-01-23 12:33:34 +0100 | [diff] [blame] | 16 | keep_num: 50 |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 17 | artifact: |
Jakub Josef | 1a82896 | 2018-01-23 12:33:34 +0100 | [diff] [blame] | 18 | keep_num: 50 |
Oleg Basov | 8c0bbeb | 2019-03-27 01:19:14 +0100 | [diff] [blame^] | 19 | concurrent: true |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 20 | scm: |
| 21 | type: git |
| 22 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 23 | branch: "${_param:jenkins_pipelines_branch}" |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 24 | credentials: "gerrit" |
| 25 | script: validate-cloud.groovy |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 26 | param: |
Oleg Basov | f465e46 | 2019-03-05 23:54:47 +0100 | [diff] [blame] | 27 | ACCUMULATE_RESULTS: |
| 28 | type: boolean |
| 29 | default: 'true' |
| 30 | description: If chosen then previous build results will be used in the current build |
| 31 | JOB_TIMEOUT: |
| 32 | type: string |
| 33 | default: "3" |
| 34 | description: Job timeout in hours |
Oleg Basov | f465e46 | 2019-03-05 23:54:47 +0100 | [diff] [blame] | 35 | TEST_IMAGE: |
| 36 | type: string |
Oleg Basov | 8c0bbeb | 2019-03-27 01:19:14 +0100 | [diff] [blame^] | 37 | default: "xrally/xrally-openstack:latest" |
| 38 | description: Rally docker image to use for running tests |
Oleg Basov | f465e46 | 2019-03-05 23:54:47 +0100 | [diff] [blame] | 39 | TARGET_NODE: |
| 40 | type: string |
| 41 | default: "" |
| 42 | description: Target node where this job will be executed from |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 43 | SALT_MASTER_URL: |
| 44 | type: string |
Sam Stoelinga | 1539f3c | 2017-09-25 17:05:40 -0700 | [diff] [blame] | 45 | default: "${_param:jenkins_salt_api_url}" |
| 46 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 47 | SALT_MASTER_CREDENTIALS: |
| 48 | type: string |
| 49 | default: "salt" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 50 | description: Credentials to the Salt API |
Oleg Basov | f465e46 | 2019-03-05 23:54:47 +0100 | [diff] [blame] | 51 | VALIDATE_PARAMS: |
| 52 | type: text |
Oleg Basov | 8c0bbeb | 2019-03-27 01:19:14 +0100 | [diff] [blame^] | 53 | description: YAML of parameters for Rally test |
| 54 | default: | |
Oleg Basov | f465e46 | 2019-03-05 23:54:47 +0100 | [diff] [blame] | 55 | --- |
| 56 | rally: |
| 57 | # Name of availability zone |
| 58 | AVAILABILITY_ZONE: 'nova' |
| 59 | # External(floating) network name |
| 60 | FLOATING_NETWORK: 'public' |
| 61 | # Rally base image for glance |
| 62 | RALLY_IMAGE: 'cirros' |
| 63 | # Flavor name for Rally scenarios |
| 64 | RALLY_FLAVOR: 'm1.tiny' |
| 65 | # Git repository with configuration files for Rally |
| 66 | RALLY_CONFIG_REPO: 'https://github.com/Mirantis/scale-scenarios' |
| 67 | # Git branch which will be used during the checkout |
| 68 | RALLY_CONFIG_BRANCH: 'master' |
| 69 | # Git repository with Rally plugins |
| 70 | RALLY_PLUGINS_REPO: 'https://github.com/Mirantis/rally-plugins' |
| 71 | # Git branch which will be used during the checkout |
| 72 | RALLY_PLUGINS_BRANCH: 'master' |
| 73 | # Rally scenarios directory or file with scenarios |
| 74 | RALLY_SCENARIOS: 'rally-scenarios-light' |
| 75 | # Stacklight Rally scenarios directory or file with scenarios |
| 76 | RALLY_SL_SCENARIOS: 'rally-stacklight' |
| 77 | # Rally scenarios arguments file |
| 78 | RALLY_TASK_ARGS_FILE: 'job-params-light.yaml' |
| 79 | # Rally-compliant DB connection string for long-term results storing |
| 80 | RALLY_DB_CONN_STRING: '' |
| 81 | # List of tags for marking Rally tasks. Used as filter for Rally trends |
| 82 | RALLY_TAGS: |
| 83 | # - 'platform=openstack' |
| 84 | # - 'env=your_env_name' |
| 85 | # - 'cmp=2' |
| 86 | # Generate rally trends report. Requires an external DB |
| 87 | RALLY_TRENDS: 'false' |
| 88 | # If chosen K8S Rally plugin will be used to test K8S cluster |
| 89 | K8S_RALLY: 'false' |
| 90 | # If chosen then Stacklight Rally test will be executed |
| 91 | STACKLIGHT_RALLY: 'false' |
| 92 | # Path for reports outside docker image |
| 93 | REPORT_DIR: '/root/qa_results' |
| 94 | # Scenarios names/dirs to skip |
| 95 | SKIP_LIST: '' |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 96 | cvp-sanity: |
| 97 | type: workflow-scm |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 98 | name: cvp-sanity |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 99 | display_name: "CVP - Sanity checks" |
| 100 | discard: |
| 101 | build: |
| 102 | keep_num: 20 |
| 103 | artifact: |
| 104 | keep_num: 20 |
| 105 | concurrent: false |
| 106 | scm: |
| 107 | type: git |
| 108 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 109 | branch: "${_param:jenkins_pipelines_branch}" |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 110 | credentials: "gerrit" |
Oleksii Zhurba | c0af3f0 | 2018-06-14 13:47:54 -0500 | [diff] [blame] | 111 | script: cvp-runner.groovy |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 112 | param: |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 113 | IMAGE: |
| 114 | type: string |
azvyagintsev | 33afffc | 2019-02-22 14:20:20 +0200 | [diff] [blame] | 115 | default: ${_param:docker_image_cvp_sanity_checks} |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 116 | description: Docker image with tests and all pip dependecies to use for testing |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 117 | SALT_MASTER_URL: |
| 118 | type: string |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 119 | default: "${_param:jenkins_salt_api_url}" |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 120 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 121 | SALT_MASTER_CREDENTIALS: |
| 122 | type: string |
| 123 | default: "salt" |
Hanna Arhipova | 718fbf6 | 2019-01-24 18:50:02 +0200 | [diff] [blame] | 124 | EXTRA_PARAMS: |
| 125 | type: text |
| 126 | default: "---" |
| 127 | description: YAML context with additional parameters |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 128 | cvp-func: |
| 129 | type: workflow-scm |
| 130 | name: cvp-func |
| 131 | display_name: "CVP - Functional tests" |
| 132 | discard: |
| 133 | build: |
| 134 | keep_num: 20 |
| 135 | artifact: |
| 136 | keep_num: 20 |
| 137 | concurrent: false |
| 138 | scm: |
| 139 | type: git |
| 140 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 141 | branch: "${_param:jenkins_pipelines_branch}" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 142 | credentials: "gerrit" |
| 143 | script: cvp-func.groovy |
| 144 | param: |
| 145 | DEBUG_MODE: |
| 146 | type: boolean |
| 147 | default: 'false' |
| 148 | description: Enable if you need to keep container after the test and debug |
| 149 | SKIP_LIST_PATH: |
| 150 | type: string |
| 151 | default: "cvp-configuration/tempest/skip-list.yaml" |
| 152 | description: Path to skip list in container |
| 153 | SALT_MASTER_URL: |
| 154 | type: string |
| 155 | default: "${_param:jenkins_salt_api_url}" |
| 156 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 157 | SALT_MASTER_CREDENTIALS: |
| 158 | type: string |
| 159 | default: "salt" |
| 160 | description: Credentials to the Salt API |
| 161 | TEST_IMAGE: |
| 162 | type: string |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 163 | default: "xrally/xrally-openstack:0.10.1" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 164 | description: Docker image to use for running Rally/Tempest |
| 165 | TARGET_NODE: |
| 166 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 167 | default: "" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 168 | description: Node where container with Tempest will be run |
| 169 | PROXY: |
| 170 | type: string |
| 171 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 172 | description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value." |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 173 | TEMPEST_TEST_PATTERN: |
| 174 | type: string |
| 175 | default: "set=smoke" |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 176 | description: Use set=smoke (or identity,full...) or just test name |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 177 | TEMPEST_ENDPOINT_TYPE: |
| 178 | type: choice |
| 179 | choices: |
| 180 | - internalURL |
| 181 | - adminURL |
| 182 | - publicURL |
| 183 | description: Openstack endpoint type to use during test run |
| 184 | TEMPEST_REPO: |
| 185 | type: string |
| 186 | default: "https://github.com/openstack/tempest" |
| 187 | description: URL to Tempest repo (local or remote) or path to tempest folder in container |
| 188 | TOOLS_REPO: |
| 189 | type: string |
| 190 | default: "https://github.com/Mirantis/cvp-configuration" |
| 191 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 192 | cvp-ha: |
| 193 | type: workflow-scm |
| 194 | name: cvp-ha |
| 195 | display_name: "CVP - HA tests" |
| 196 | discard: |
| 197 | build: |
| 198 | keep_num: 20 |
| 199 | artifact: |
| 200 | keep_num: 20 |
| 201 | concurrent: false |
| 202 | scm: |
| 203 | type: git |
| 204 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 205 | branch: "${_param:jenkins_pipelines_branch}" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 206 | credentials: "gerrit" |
| 207 | script: cvp-ha.groovy |
| 208 | param: |
| 209 | SALT_MASTER_URL: |
| 210 | type: string |
| 211 | default: "${_param:jenkins_salt_api_url}" |
| 212 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 213 | SALT_MASTER_CREDENTIALS: |
| 214 | type: string |
| 215 | default: "salt" |
| 216 | description: Credentials to the Salt API |
| 217 | TEMPEST_TARGET_NODE: |
| 218 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 219 | default: "" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 220 | description: Node where container with tempest will be run |
| 221 | TEST_IMAGE: |
| 222 | type: string |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 223 | default: "xrally/xrally-openstack:0.10.1" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 224 | description: Docker image to use for running Rally/Tempest |
| 225 | TARGET_NODES: |
| 226 | type: string |
| 227 | default: "ctl*" |
| 228 | description: Nodes to test |
| 229 | DEBUG_MODE: |
| 230 | type: boolean |
| 231 | default: 'false' |
| 232 | description: If you need to debug (keep container after test), please enabled this |
| 233 | RETRY_CHECK_STATUS: |
| 234 | type: string |
| 235 | default: "200" |
| 236 | description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value |
| 237 | SKIP_LIST_PATH: |
| 238 | type: string |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 239 | default: "cvp-configuration/tempest/skip-list.yaml" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 240 | description: path to skip-list file inside container |
| 241 | PROXY: |
| 242 | type: string |
| 243 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 244 | description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value." |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 245 | TEMPEST_TEST_PATTERN: |
| 246 | type: string |
| 247 | default: "set=smoke" |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 248 | description: Use set=smoke (or identity,full...) or just test name |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 249 | MANUAL_CONFIRMATION: |
| 250 | type: boolean |
| 251 | default: 'false' |
| 252 | description: Ask for confirmation before doing something destructive (reboot/shutdown node) |
| 253 | TEMPEST_REPO: |
| 254 | type: string |
| 255 | default: "https://github.com/openstack/tempest" |
| 256 | description: Can be repo url (local or remote) or path to folder (inside container) with Tempest |
| 257 | TOOLS_REPO: |
| 258 | type: string |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 259 | default: "https://github.com/Mirantis/cvp-configuration" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 260 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 261 | cvp-perf: |
| 262 | type: workflow-scm |
| 263 | name: cvp-perf |
| 264 | display_name: "CVP - Performance tests" |
| 265 | discard: |
| 266 | build: |
| 267 | keep_num: 20 |
| 268 | artifact: |
| 269 | keep_num: 20 |
| 270 | concurrent: false |
| 271 | scm: |
| 272 | type: git |
| 273 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 274 | branch: "${_param:jenkins_pipelines_branch}" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 275 | credentials: "gerrit" |
| 276 | script: cvp-perf.groovy |
| 277 | param: |
| 278 | DEBUG_MODE: |
| 279 | type: boolean |
| 280 | default: 'false' |
| 281 | description: Enable if you need to keep container after the test and debug |
| 282 | RALLY_SCENARIO_FILE: |
| 283 | type: string |
| 284 | default: "cvp-configuration/rally/rally_scenarios.json" |
| 285 | description: Path to scenario file in container |
| 286 | TEST_IMAGE: |
| 287 | type: string |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 288 | default: "xrally/xrally-openstack:0.10.1" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 289 | description: Docker image to use for running Rally/Tempest |
| 290 | SALT_MASTER_URL: |
| 291 | type: string |
| 292 | default: "${_param:jenkins_salt_api_url}" |
| 293 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 294 | SALT_MASTER_CREDENTIALS: |
| 295 | type: string |
| 296 | default: "salt" |
| 297 | description: Credentials to the Salt API |
| 298 | TARGET_NODE: |
| 299 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 300 | default: "" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 301 | description: Node where docker container with Rally will be run |
| 302 | TOOLS_REPO: |
| 303 | type: string |
| 304 | default: "https://github.com/Mirantis/cvp-configuration" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 305 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 306 | PROXY: |
| 307 | type: string |
| 308 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 309 | description: "Proxy address to use to access the Internet. For offline mode, use \"offline\" value." |
Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 310 | cvp-stacklight: |
| 311 | type: workflow-scm |
| 312 | name: cvp-stacklight |
| 313 | display_name: "CVP - Stacklight tests" |
| 314 | discard: |
| 315 | build: |
| 316 | keep_num: 20 |
| 317 | artifact: |
| 318 | keep_num: 20 |
| 319 | concurrent: false |
| 320 | scm: |
| 321 | type: git |
| 322 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 323 | branch: "${_param:jenkins_pipelines_branch}" |
| 324 | credentials: "gerrit" |
Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 325 | script: cvp-runner.groovy |
Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 326 | param: |
Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 327 | IMAGE: |
| 328 | type: string |
| 329 | default: ${_param:docker_image_cvp_sanity_checks} |
| 330 | description: Docker image with tests and all pip dependecies to use for testing |
Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 331 | SALT_MASTER_URL: |
| 332 | type: string |
| 333 | default: "${_param:jenkins_salt_api_url}" |
| 334 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 335 | SALT_MASTER_CREDENTIALS: |
| 336 | type: string |
| 337 | default: "salt" |
Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 338 | EXTRA_PARAMS: |
| 339 | type: text |
| 340 | default: | |
| 341 | envs: |
| 342 | - SL_AUTOCONF=True |
| 343 | description: YAML context with additional parameters |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 344 | cvp-spt: |
| 345 | type: workflow-scm |
| 346 | name: cvp-spt |
| 347 | display_name: "CVP - Simplified Performance Tests (SPT)" |
| 348 | discard: |
| 349 | build: |
| 350 | keep_num: 20 |
| 351 | artifact: |
| 352 | keep_num: 20 |
| 353 | concurrent: false |
| 354 | scm: |
| 355 | type: git |
| 356 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 357 | branch: "${_param:jenkins_pipelines_branch}" |
| 358 | credentials: "gerrit" |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 359 | script: cvp-runner.groovy |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 360 | param: |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 361 | IMAGE: |
| 362 | type: string |
azvyagintsev | 33afffc | 2019-02-22 14:20:20 +0200 | [diff] [blame] | 363 | default: ${_param:docker_image_cvp_sanity_checks} |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 364 | description: Docker image with tests and all pip dependecies to use for testing |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 365 | SALT_MASTER_URL: |
| 366 | type: string |
| 367 | default: "${_param:jenkins_salt_api_url}" |
| 368 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 369 | SALT_MASTER_CREDENTIALS: |
| 370 | type: string |
| 371 | default: "salt" |
Hanna Arhipova | 718fbf6 | 2019-01-24 18:50:02 +0200 | [diff] [blame] | 372 | EXTRA_PARAMS: |
| 373 | type: text |
| 374 | default: "---" |
| 375 | description: YAML context with additional parameters |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 376 | cvp-shaker: |
| 377 | type: workflow-scm |
| 378 | name: cvp-shaker |
| 379 | display_name: "CVP - Shaker network tests" |
| 380 | discard: |
| 381 | build: |
| 382 | keep_num: 20 |
| 383 | artifact: |
| 384 | keep_num: 20 |
| 385 | concurrent: false |
| 386 | scm: |
| 387 | type: git |
| 388 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 389 | branch: "${_param:jenkins_pipelines_branch}" |
| 390 | credentials: "gerrit" |
| 391 | script: cvp-shaker.groovy |
| 392 | param: |
| 393 | IMAGE: |
| 394 | type: string |
| 395 | default: "${_param:mcp_docker_registry}/mirantis/cvp/cvp-shaker:${_param:mcp_version}" |
| 396 | description: Docker image to use for running Shaker. |
| 397 | SALT_MASTER_URL: |
| 398 | type: string |
| 399 | default: "${_param:jenkins_salt_api_url}" |
| 400 | description: Full Salt API address [e.g. https://10.10.10.2:6969]. |
| 401 | SALT_MASTER_CREDENTIALS: |
| 402 | type: string |
| 403 | default: "salt" |
| 404 | description: Credentials to the Salt API. |
| 405 | SHAKER_PARAMS: |
| 406 | type: text |
| 407 | default: | |
| 408 | --- |
| 409 | SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999' |
| 410 | SHAKER_SCENARIOS: 'scenarios/essential' |
| 411 | SKIP_LIST: '' |
Oleg Basov | c3602a7 | 2019-02-15 15:49:09 +0100 | [diff] [blame] | 412 | MATRIX: '' |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 413 | image_builder: |
| 414 | # - SHAKER_FLAVOR_DISK=4 |
| 415 | # - SHAKER_FLAVOR_RAM=512 |
| 416 | # - SHAKER_FLAVOR_VCPUS=1 |
| 417 | # - SHAKER_IMAGE_BUILDER_MODE='dib' |
| 418 | shaker: |
| 419 | # - SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 420 | # - SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 421 | # - SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 422 | # - SCENARIO_COMPUTE_NODES=2 |
| 423 | # - SHAKER_EXTERNAL_NET='public' |
| 424 | description: | |
| 425 | YAML context with parameters for running Shaker tests, where |
| 426 | "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible |
| 427 | from tenant's VM network (usually equals to public address of cicd node) |
| 428 | "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image |
| 429 | (can be directory or specific file). Main categories are |
| 430 | scenarios/essential/l2 |
| 431 | scenarios/essential/l3 |
| 432 | scenarios/additional/cross_az |
| 433 | scenarios/additional/external |
| 434 | scenarios/additional/qos |
Oleg Basov | c3602a7 | 2019-02-15 15:49:09 +0100 | [diff] [blame] | 435 | "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format. |
| 436 | To override a scenario duration one may provide "{time: 10}", or to override list of hosts: |
| 437 | "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are |
| 438 | tested. It is a required field for some of external-category scenarios when the host name with iperf3 |
| 439 | server needs to be provided as a command-line parameter, e.g. "{host: 10.13.100.4}". |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 440 | "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/ |
| 441 | of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3" |
| 442 | "image_builder" - shaker-image-builder env variables |
| 443 | SHAKER_FLAVOR_DISK=4 |
| 444 | SHAKER_FLAVOR_RAM=512 |
| 445 | SHAKER_FLAVOR_VCPUS=1 |
| 446 | SHAKER_IMAGE_BUILDER_MODE='dib' |
| 447 | "shaker" - main shaker runner env variables |
| 448 | SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 449 | SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 450 | SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 451 | SCENARIO_COMPUTE_NODES=2 |
| 452 | SHAKER_EXTERNAL_NET='public' |
| 453 | For the more detailed description of the last two categories please refer to the shaker documentation |
| 454 | https://pyshaker.readthedocs.io/en/latest/tools.html |