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