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 |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame^] | 118 | default: | |
| 119 | envs: |
| 120 | - tests_set='' |
| 121 | description: "YAML context with additional parameters, e.g. skipped_nodes=nal01.local.com,ntw01.local.com or tests_set='tests/test_mtu.py'" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 122 | cvp-func: |
| 123 | type: workflow-scm |
| 124 | name: cvp-func |
| 125 | display_name: "CVP - Functional tests" |
| 126 | discard: |
| 127 | build: |
| 128 | keep_num: 20 |
| 129 | artifact: |
| 130 | keep_num: 20 |
| 131 | concurrent: false |
| 132 | scm: |
| 133 | type: git |
| 134 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 135 | branch: "${_param:jenkins_pipelines_branch}" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 136 | credentials: "gerrit" |
| 137 | script: cvp-func.groovy |
| 138 | param: |
| 139 | DEBUG_MODE: |
| 140 | type: boolean |
| 141 | default: 'false' |
| 142 | description: Enable if you need to keep container after the test and debug |
| 143 | SKIP_LIST_PATH: |
| 144 | type: string |
| 145 | default: "cvp-configuration/tempest/skip-list.yaml" |
| 146 | description: Path to skip list in container |
| 147 | SALT_MASTER_URL: |
| 148 | type: string |
| 149 | default: "${_param:jenkins_salt_api_url}" |
| 150 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 151 | SALT_MASTER_CREDENTIALS: |
| 152 | type: string |
| 153 | default: "salt" |
| 154 | description: Credentials to the Salt API |
| 155 | TEST_IMAGE: |
| 156 | type: string |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame^] | 157 | default: "xrally/xrally-openstack:0.11.2" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 158 | description: Docker image to use for running Rally/Tempest |
| 159 | TARGET_NODE: |
| 160 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 161 | default: "" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 162 | description: Node where container with Tempest will be run |
| 163 | PROXY: |
| 164 | type: string |
| 165 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 166 | 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] | 167 | TEMPEST_TEST_PATTERN: |
| 168 | type: string |
| 169 | default: "set=smoke" |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 170 | description: Use set=smoke (or identity,full...) or just test name |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 171 | TEMPEST_ENDPOINT_TYPE: |
| 172 | type: choice |
| 173 | choices: |
| 174 | - internalURL |
| 175 | - adminURL |
| 176 | - publicURL |
| 177 | description: Openstack endpoint type to use during test run |
| 178 | TEMPEST_REPO: |
| 179 | type: string |
| 180 | default: "https://github.com/openstack/tempest" |
| 181 | description: URL to Tempest repo (local or remote) or path to tempest folder in container |
| 182 | TOOLS_REPO: |
| 183 | type: string |
| 184 | default: "https://github.com/Mirantis/cvp-configuration" |
| 185 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 186 | cvp-ha: |
| 187 | type: workflow-scm |
| 188 | name: cvp-ha |
| 189 | display_name: "CVP - HA tests" |
| 190 | discard: |
| 191 | build: |
| 192 | keep_num: 20 |
| 193 | artifact: |
| 194 | keep_num: 20 |
| 195 | concurrent: false |
| 196 | scm: |
| 197 | type: git |
| 198 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 199 | branch: "${_param:jenkins_pipelines_branch}" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 200 | credentials: "gerrit" |
| 201 | script: cvp-ha.groovy |
| 202 | param: |
| 203 | SALT_MASTER_URL: |
| 204 | type: string |
| 205 | default: "${_param:jenkins_salt_api_url}" |
| 206 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 207 | SALT_MASTER_CREDENTIALS: |
| 208 | type: string |
| 209 | default: "salt" |
| 210 | description: Credentials to the Salt API |
| 211 | TEMPEST_TARGET_NODE: |
| 212 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 213 | default: "" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 214 | description: Node where container with tempest will be run |
| 215 | TEST_IMAGE: |
| 216 | type: string |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame^] | 217 | default: "xrally/xrally-openstack:0.11.2" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 218 | description: Docker image to use for running Rally/Tempest |
| 219 | TARGET_NODES: |
| 220 | type: string |
| 221 | default: "ctl*" |
| 222 | description: Nodes to test |
| 223 | DEBUG_MODE: |
| 224 | type: boolean |
| 225 | default: 'false' |
| 226 | description: If you need to debug (keep container after test), please enabled this |
| 227 | RETRY_CHECK_STATUS: |
| 228 | type: string |
| 229 | default: "200" |
| 230 | description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value |
| 231 | SKIP_LIST_PATH: |
| 232 | type: string |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 233 | default: "cvp-configuration/tempest/skip-list.yaml" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 234 | description: path to skip-list file inside container |
| 235 | PROXY: |
| 236 | type: string |
| 237 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 238 | 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] | 239 | TEMPEST_TEST_PATTERN: |
| 240 | type: string |
| 241 | default: "set=smoke" |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 242 | description: Use set=smoke (or identity,full...) or just test name |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 243 | MANUAL_CONFIRMATION: |
| 244 | type: boolean |
| 245 | default: 'false' |
| 246 | description: Ask for confirmation before doing something destructive (reboot/shutdown node) |
| 247 | TEMPEST_REPO: |
| 248 | type: string |
| 249 | default: "https://github.com/openstack/tempest" |
| 250 | description: Can be repo url (local or remote) or path to folder (inside container) with Tempest |
| 251 | TOOLS_REPO: |
| 252 | type: string |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 253 | default: "https://github.com/Mirantis/cvp-configuration" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 254 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 255 | cvp-perf: |
| 256 | type: workflow-scm |
| 257 | name: cvp-perf |
| 258 | display_name: "CVP - Performance tests" |
| 259 | discard: |
| 260 | build: |
| 261 | keep_num: 20 |
| 262 | artifact: |
| 263 | keep_num: 20 |
| 264 | concurrent: false |
| 265 | scm: |
| 266 | type: git |
| 267 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 268 | branch: "${_param:jenkins_pipelines_branch}" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 269 | credentials: "gerrit" |
| 270 | script: cvp-perf.groovy |
| 271 | param: |
| 272 | DEBUG_MODE: |
| 273 | type: boolean |
| 274 | default: 'false' |
| 275 | description: Enable if you need to keep container after the test and debug |
| 276 | RALLY_SCENARIO_FILE: |
| 277 | type: string |
| 278 | default: "cvp-configuration/rally/rally_scenarios.json" |
| 279 | description: Path to scenario file in container |
| 280 | TEST_IMAGE: |
| 281 | type: string |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame^] | 282 | default: "xrally/xrally-openstack:0.11.2" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 283 | description: Docker image to use for running Rally/Tempest |
| 284 | SALT_MASTER_URL: |
| 285 | type: string |
| 286 | default: "${_param:jenkins_salt_api_url}" |
| 287 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 288 | SALT_MASTER_CREDENTIALS: |
| 289 | type: string |
| 290 | default: "salt" |
| 291 | description: Credentials to the Salt API |
| 292 | TARGET_NODE: |
| 293 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 294 | default: "" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 295 | description: Node where docker container with Rally will be run |
| 296 | TOOLS_REPO: |
| 297 | type: string |
| 298 | default: "https://github.com/Mirantis/cvp-configuration" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 299 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 300 | PROXY: |
| 301 | type: string |
| 302 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 303 | 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] | 304 | cvp-stacklight: |
| 305 | type: workflow-scm |
| 306 | name: cvp-stacklight |
| 307 | display_name: "CVP - Stacklight tests" |
| 308 | discard: |
| 309 | build: |
| 310 | keep_num: 20 |
| 311 | artifact: |
| 312 | keep_num: 20 |
| 313 | concurrent: false |
| 314 | scm: |
| 315 | type: git |
| 316 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 317 | branch: "${_param:jenkins_pipelines_branch}" |
| 318 | credentials: "gerrit" |
Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 319 | script: cvp-runner.groovy |
Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 320 | param: |
Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 321 | IMAGE: |
| 322 | type: string |
| 323 | default: ${_param:docker_image_cvp_sanity_checks} |
| 324 | 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] | 325 | SALT_MASTER_URL: |
| 326 | type: string |
| 327 | default: "${_param:jenkins_salt_api_url}" |
| 328 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 329 | SALT_MASTER_CREDENTIALS: |
| 330 | type: string |
| 331 | default: "salt" |
Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 332 | EXTRA_PARAMS: |
| 333 | type: text |
| 334 | default: | |
| 335 | envs: |
| 336 | - SL_AUTOCONF=True |
| 337 | description: YAML context with additional parameters |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 338 | cvp-spt: |
| 339 | type: workflow-scm |
| 340 | name: cvp-spt |
| 341 | display_name: "CVP - Simplified Performance Tests (SPT)" |
| 342 | discard: |
| 343 | build: |
| 344 | keep_num: 20 |
| 345 | artifact: |
| 346 | keep_num: 20 |
| 347 | concurrent: false |
| 348 | scm: |
| 349 | type: git |
| 350 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 351 | branch: "${_param:jenkins_pipelines_branch}" |
| 352 | credentials: "gerrit" |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 353 | script: cvp-runner.groovy |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 354 | param: |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 355 | IMAGE: |
| 356 | type: string |
azvyagintsev | 33afffc | 2019-02-22 14:20:20 +0200 | [diff] [blame] | 357 | default: ${_param:docker_image_cvp_sanity_checks} |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 358 | 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] | 359 | SALT_MASTER_URL: |
| 360 | type: string |
| 361 | default: "${_param:jenkins_salt_api_url}" |
| 362 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 363 | SALT_MASTER_CREDENTIALS: |
| 364 | type: string |
| 365 | default: "salt" |
Hanna Arhipova | 718fbf6 | 2019-01-24 18:50:02 +0200 | [diff] [blame] | 366 | EXTRA_PARAMS: |
| 367 | type: text |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame^] | 368 | default: | |
| 369 | envs: |
| 370 | - tests_set='' |
| 371 | - image_name='Ubuntu' |
| 372 | - networks=10.101.0.0/24 |
| 373 | description: 'YAML context with additional parameters. Additional params: HW_NODES, CMP_HOSTS, salt_timeout, skipped_nodes, nova_timeout, iperf_prep_string, IMAGE_SIZE_MB' |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 374 | cvp-shaker: |
| 375 | type: workflow-scm |
| 376 | name: cvp-shaker |
| 377 | display_name: "CVP - Shaker network tests" |
| 378 | discard: |
| 379 | build: |
| 380 | keep_num: 20 |
| 381 | artifact: |
| 382 | keep_num: 20 |
| 383 | concurrent: false |
| 384 | scm: |
| 385 | type: git |
| 386 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 387 | branch: "${_param:jenkins_pipelines_branch}" |
| 388 | credentials: "gerrit" |
| 389 | script: cvp-shaker.groovy |
| 390 | param: |
| 391 | IMAGE: |
| 392 | type: string |
Oleg Basov | 06938fe | 2019-04-01 20:41:24 +0200 | [diff] [blame] | 393 | default: "${_param:docker_image_cvp_shaker_checks}" |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 394 | description: Docker image to use for running Shaker. |
| 395 | SALT_MASTER_URL: |
| 396 | type: string |
| 397 | default: "${_param:jenkins_salt_api_url}" |
| 398 | description: Full Salt API address [e.g. https://10.10.10.2:6969]. |
| 399 | SALT_MASTER_CREDENTIALS: |
| 400 | type: string |
| 401 | default: "salt" |
| 402 | description: Credentials to the Salt API. |
| 403 | SHAKER_PARAMS: |
| 404 | type: text |
| 405 | default: | |
| 406 | --- |
| 407 | SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999' |
| 408 | SHAKER_SCENARIOS: 'scenarios/essential' |
| 409 | SKIP_LIST: '' |
Oleg Basov | c3602a7 | 2019-02-15 15:49:09 +0100 | [diff] [blame] | 410 | MATRIX: '' |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 411 | image_builder: |
| 412 | # - SHAKER_FLAVOR_DISK=4 |
| 413 | # - SHAKER_FLAVOR_RAM=512 |
| 414 | # - SHAKER_FLAVOR_VCPUS=1 |
| 415 | # - SHAKER_IMAGE_BUILDER_MODE='dib' |
| 416 | shaker: |
| 417 | # - SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 418 | # - SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 419 | # - SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 420 | # - SCENARIO_COMPUTE_NODES=2 |
| 421 | # - SHAKER_EXTERNAL_NET='public' |
| 422 | description: | |
| 423 | YAML context with parameters for running Shaker tests, where |
| 424 | "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible |
| 425 | from tenant's VM network (usually equals to public address of cicd node) |
| 426 | "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image |
| 427 | (can be directory or specific file). Main categories are |
| 428 | scenarios/essential/l2 |
| 429 | scenarios/essential/l3 |
| 430 | scenarios/additional/cross_az |
| 431 | scenarios/additional/external |
| 432 | scenarios/additional/qos |
Oleg Basov | c3602a7 | 2019-02-15 15:49:09 +0100 | [diff] [blame] | 433 | "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format. |
| 434 | To override a scenario duration one may provide "{time: 10}", or to override list of hosts: |
| 435 | "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are |
| 436 | tested. It is a required field for some of external-category scenarios when the host name with iperf3 |
| 437 | 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] | 438 | "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/ |
| 439 | of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3" |
| 440 | "image_builder" - shaker-image-builder env variables |
| 441 | SHAKER_FLAVOR_DISK=4 |
| 442 | SHAKER_FLAVOR_RAM=512 |
| 443 | SHAKER_FLAVOR_VCPUS=1 |
| 444 | SHAKER_IMAGE_BUILDER_MODE='dib' |
| 445 | "shaker" - main shaker runner env variables |
| 446 | SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 447 | SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 448 | SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 449 | SCENARIO_COMPUTE_NODES=2 |
| 450 | SHAKER_EXTERNAL_NET='public' |
| 451 | For the more detailed description of the last two categories please refer to the shaker documentation |
| 452 | https://pyshaker.readthedocs.io/en/latest/tools.html |