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}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 24 | credentials: ${_param:jenkins_gerrit_credentials} |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 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' |
Oleg Basov | 54bde2f | 2019-05-27 16:43:26 +0200 | [diff] [blame] | 88 | # If you are running longevity scenarios with parallel performance enabled on a cicd node |
| 89 | # with less than 21GB, you may consider disabling generation of html reports. Each Rally |
| 90 | # process consumes ~ 4GB of memory when generating reports on top of week amount of data |
| 91 | GENERATE_REPORT: 'true' |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 92 | cvp-sanity: |
| 93 | type: workflow-scm |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 94 | name: cvp-sanity |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 95 | display_name: "CVP - Sanity checks" |
| 96 | discard: |
| 97 | build: |
| 98 | keep_num: 20 |
| 99 | artifact: |
| 100 | keep_num: 20 |
| 101 | concurrent: false |
| 102 | scm: |
| 103 | type: git |
| 104 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 105 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 106 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | c0af3f0 | 2018-06-14 13:47:54 -0500 | [diff] [blame] | 107 | script: cvp-runner.groovy |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 108 | param: |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 109 | IMAGE: |
| 110 | type: string |
azvyagintsev | 33afffc | 2019-02-22 14:20:20 +0200 | [diff] [blame] | 111 | default: ${_param:docker_image_cvp_sanity_checks} |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 112 | 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] | 113 | SALT_MASTER_URL: |
| 114 | type: string |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 115 | default: "${_param:jenkins_salt_api_url}" |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 116 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 117 | SALT_MASTER_CREDENTIALS: |
| 118 | type: string |
| 119 | default: "salt" |
Hanna Arhipova | 718fbf6 | 2019-01-24 18:50:02 +0200 | [diff] [blame] | 120 | EXTRA_PARAMS: |
| 121 | type: text |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame] | 122 | default: | |
| 123 | envs: |
| 124 | - tests_set='' |
| 125 | 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] | 126 | cvp-func: |
| 127 | type: workflow-scm |
| 128 | name: cvp-func |
| 129 | display_name: "CVP - Functional tests" |
| 130 | discard: |
| 131 | build: |
| 132 | keep_num: 20 |
| 133 | artifact: |
| 134 | keep_num: 20 |
| 135 | concurrent: false |
| 136 | scm: |
| 137 | type: git |
| 138 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 139 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 140 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 141 | script: cvp-func.groovy |
| 142 | param: |
| 143 | DEBUG_MODE: |
| 144 | type: boolean |
| 145 | default: 'false' |
| 146 | description: Enable if you need to keep container after the test and debug |
| 147 | SKIP_LIST_PATH: |
| 148 | type: string |
| 149 | default: "cvp-configuration/tempest/skip-list.yaml" |
| 150 | description: Path to skip list in container |
| 151 | SALT_MASTER_URL: |
| 152 | type: string |
| 153 | default: "${_param:jenkins_salt_api_url}" |
| 154 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 155 | SALT_MASTER_CREDENTIALS: |
| 156 | type: string |
| 157 | default: "salt" |
| 158 | description: Credentials to the Salt API |
| 159 | TEST_IMAGE: |
| 160 | type: string |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame] | 161 | default: "xrally/xrally-openstack:0.11.2" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 162 | description: Docker image to use for running Rally/Tempest |
| 163 | TARGET_NODE: |
| 164 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 165 | default: "" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 166 | description: Node where container with Tempest will be run |
| 167 | PROXY: |
| 168 | type: string |
| 169 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 170 | 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] | 171 | TEMPEST_TEST_PATTERN: |
| 172 | type: string |
| 173 | default: "set=smoke" |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 174 | description: Use set=smoke (or identity,full...) or just test name |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 175 | TEMPEST_ENDPOINT_TYPE: |
| 176 | type: choice |
| 177 | choices: |
| 178 | - internalURL |
| 179 | - adminURL |
| 180 | - publicURL |
| 181 | description: Openstack endpoint type to use during test run |
| 182 | TEMPEST_REPO: |
| 183 | type: string |
| 184 | default: "https://github.com/openstack/tempest" |
| 185 | description: URL to Tempest repo (local or remote) or path to tempest folder in container |
| 186 | TOOLS_REPO: |
| 187 | type: string |
| 188 | default: "https://github.com/Mirantis/cvp-configuration" |
| 189 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 190 | cvp-ha: |
| 191 | type: workflow-scm |
| 192 | name: cvp-ha |
| 193 | display_name: "CVP - HA 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" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 203 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 204 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 205 | script: cvp-ha.groovy |
| 206 | param: |
| 207 | SALT_MASTER_URL: |
| 208 | type: string |
| 209 | default: "${_param:jenkins_salt_api_url}" |
| 210 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 211 | SALT_MASTER_CREDENTIALS: |
| 212 | type: string |
| 213 | default: "salt" |
| 214 | description: Credentials to the Salt API |
| 215 | TEMPEST_TARGET_NODE: |
| 216 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 217 | default: "" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 218 | description: Node where container with tempest will be run |
| 219 | TEST_IMAGE: |
| 220 | type: string |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame] | 221 | default: "xrally/xrally-openstack:0.11.2" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 222 | description: Docker image to use for running Rally/Tempest |
| 223 | TARGET_NODES: |
| 224 | type: string |
| 225 | default: "ctl*" |
| 226 | description: Nodes to test |
| 227 | DEBUG_MODE: |
| 228 | type: boolean |
| 229 | default: 'false' |
| 230 | description: If you need to debug (keep container after test), please enabled this |
| 231 | RETRY_CHECK_STATUS: |
| 232 | type: string |
| 233 | default: "200" |
| 234 | description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value |
| 235 | SKIP_LIST_PATH: |
| 236 | type: string |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 237 | default: "cvp-configuration/tempest/skip-list.yaml" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 238 | description: path to skip-list file inside container |
| 239 | PROXY: |
| 240 | type: string |
| 241 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 242 | 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] | 243 | TEMPEST_TEST_PATTERN: |
| 244 | type: string |
| 245 | default: "set=smoke" |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 246 | description: Use set=smoke (or identity,full...) or just test name |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 247 | MANUAL_CONFIRMATION: |
| 248 | type: boolean |
| 249 | default: 'false' |
| 250 | description: Ask for confirmation before doing something destructive (reboot/shutdown node) |
| 251 | TEMPEST_REPO: |
| 252 | type: string |
| 253 | default: "https://github.com/openstack/tempest" |
| 254 | description: Can be repo url (local or remote) or path to folder (inside container) with Tempest |
| 255 | TOOLS_REPO: |
| 256 | type: string |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 257 | default: "https://github.com/Mirantis/cvp-configuration" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 258 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 35fd4f8 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 259 | cvp-tempest: |
| 260 | type: workflow-scm |
| 261 | name: cvp-tempest |
Oleksii Zhurba | 904c3a6 | 2019-05-30 15:56:05 -0500 | [diff] [blame] | 262 | display_name: "CVP - Tempest (new)" |
Oleksii Zhurba | 35fd4f8 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 263 | discard: |
| 264 | build: |
| 265 | keep_num: 20 |
| 266 | artifact: |
| 267 | keep_num: 20 |
| 268 | concurrent: false |
| 269 | scm: |
| 270 | type: git |
| 271 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 272 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 273 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 35fd4f8 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 274 | script: cvp-tempest.groovy |
| 275 | param: |
| 276 | PREPARE_RESOURCES: |
| 277 | type: boolean |
| 278 | default: true |
| 279 | description: Prepare resources for Tempest |
| 280 | SALT_MASTER_URL: |
| 281 | type: string |
| 282 | default: "${_param:jenkins_salt_api_url}" |
| 283 | description: SALT_MASTER_URL |
| 284 | TEMPEST_TEST_PATTERN: |
| 285 | type: string |
| 286 | default: "set=smoke" |
| 287 | description: Use set=smoke, set=full or just test name (regex) |
| 288 | TEMPEST_ENDPOINT_TYPE: |
| 289 | type: choice |
| 290 | choices: |
| 291 | - internalURL |
| 292 | - adminURL |
| 293 | - publicURL |
| 294 | description: Openstack endpoint type to use during test run. |
| 295 | EXTRA_PARAMS: |
| 296 | type: text |
| 297 | default: | |
| 298 | --- |
| 299 | DEBUG_MODE: false |
| 300 | GENERATE_CONFIG: true |
Oleksii Zhurba | 2eed030 | 2019-07-17 12:55:27 -0500 | [diff] [blame] | 301 | TEST_IMAGE: "${_param:docker_image_cvp_tempest}" |
Oleksii Zhurba | 35fd4f8 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 302 | report_prefix: "cvp_" |
| 303 | description: YAML context with additional parameters |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 304 | cvp-perf: |
| 305 | type: workflow-scm |
| 306 | name: cvp-perf |
| 307 | display_name: "CVP - Performance 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" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 317 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 318 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 319 | script: cvp-perf.groovy |
| 320 | param: |
| 321 | DEBUG_MODE: |
| 322 | type: boolean |
| 323 | default: 'false' |
| 324 | description: Enable if you need to keep container after the test and debug |
| 325 | RALLY_SCENARIO_FILE: |
| 326 | type: string |
| 327 | default: "cvp-configuration/rally/rally_scenarios.json" |
| 328 | description: Path to scenario file in container |
| 329 | TEST_IMAGE: |
| 330 | type: string |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame] | 331 | default: "xrally/xrally-openstack:0.11.2" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 332 | description: Docker image to use for running Rally/Tempest |
| 333 | SALT_MASTER_URL: |
| 334 | type: string |
| 335 | default: "${_param:jenkins_salt_api_url}" |
| 336 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 337 | SALT_MASTER_CREDENTIALS: |
| 338 | type: string |
| 339 | default: "salt" |
| 340 | description: Credentials to the Salt API |
| 341 | TARGET_NODE: |
| 342 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 343 | default: "" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 344 | description: Node where docker container with Rally will be run |
| 345 | TOOLS_REPO: |
| 346 | type: string |
| 347 | default: "https://github.com/Mirantis/cvp-configuration" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 348 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 349 | PROXY: |
| 350 | type: string |
| 351 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 352 | 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] | 353 | cvp-stacklight: |
| 354 | type: workflow-scm |
| 355 | name: cvp-stacklight |
| 356 | display_name: "CVP - Stacklight tests" |
| 357 | discard: |
| 358 | build: |
| 359 | keep_num: 20 |
| 360 | artifact: |
| 361 | keep_num: 20 |
| 362 | concurrent: false |
| 363 | scm: |
| 364 | type: git |
| 365 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 366 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 367 | credentials: ${_param:jenkins_gerrit_credentials} |
Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 368 | script: cvp-runner.groovy |
Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 369 | param: |
Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 370 | IMAGE: |
| 371 | type: string |
| 372 | default: ${_param:docker_image_cvp_sanity_checks} |
| 373 | 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] | 374 | SALT_MASTER_URL: |
| 375 | type: string |
| 376 | default: "${_param:jenkins_salt_api_url}" |
| 377 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 378 | SALT_MASTER_CREDENTIALS: |
| 379 | type: string |
| 380 | default: "salt" |
Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 381 | EXTRA_PARAMS: |
| 382 | type: text |
| 383 | default: | |
| 384 | envs: |
| 385 | - SL_AUTOCONF=True |
| 386 | description: YAML context with additional parameters |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 387 | cvp-spt: |
| 388 | type: workflow-scm |
| 389 | name: cvp-spt |
| 390 | display_name: "CVP - Simplified Performance Tests (SPT)" |
| 391 | discard: |
| 392 | build: |
| 393 | keep_num: 20 |
| 394 | artifact: |
| 395 | keep_num: 20 |
| 396 | concurrent: false |
| 397 | scm: |
| 398 | type: git |
| 399 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 400 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 401 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 402 | script: cvp-runner.groovy |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 403 | param: |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 404 | IMAGE: |
| 405 | type: string |
azvyagintsev | 33afffc | 2019-02-22 14:20:20 +0200 | [diff] [blame] | 406 | default: ${_param:docker_image_cvp_sanity_checks} |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 407 | 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] | 408 | SALT_MASTER_URL: |
| 409 | type: string |
| 410 | default: "${_param:jenkins_salt_api_url}" |
| 411 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 412 | SALT_MASTER_CREDENTIALS: |
| 413 | type: string |
| 414 | default: "salt" |
Hanna Arhipova | 718fbf6 | 2019-01-24 18:50:02 +0200 | [diff] [blame] | 415 | EXTRA_PARAMS: |
| 416 | type: text |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame] | 417 | default: | |
| 418 | envs: |
| 419 | - tests_set='' |
Hanna Arhipova | 5bccdcf | 2019-07-16 18:04:04 +0300 | [diff] [blame] | 420 | - image_name=Ubuntu |
Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame] | 421 | - networks=10.101.0.0/24 |
| 422 | 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] | 423 | cvp-shaker: |
| 424 | type: workflow-scm |
| 425 | name: cvp-shaker |
| 426 | display_name: "CVP - Shaker network tests" |
| 427 | discard: |
| 428 | build: |
| 429 | keep_num: 20 |
| 430 | artifact: |
| 431 | keep_num: 20 |
| 432 | concurrent: false |
| 433 | scm: |
| 434 | type: git |
| 435 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 436 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 437 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 438 | script: cvp-shaker.groovy |
| 439 | param: |
| 440 | IMAGE: |
| 441 | type: string |
Oleg Basov | 06938fe | 2019-04-01 20:41:24 +0200 | [diff] [blame] | 442 | default: "${_param:docker_image_cvp_shaker_checks}" |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 443 | description: Docker image to use for running Shaker. |
| 444 | SALT_MASTER_URL: |
| 445 | type: string |
| 446 | default: "${_param:jenkins_salt_api_url}" |
| 447 | description: Full Salt API address [e.g. https://10.10.10.2:6969]. |
| 448 | SALT_MASTER_CREDENTIALS: |
| 449 | type: string |
| 450 | default: "salt" |
| 451 | description: Credentials to the Salt API. |
| 452 | SHAKER_PARAMS: |
| 453 | type: text |
| 454 | default: | |
| 455 | --- |
| 456 | SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999' |
| 457 | SHAKER_SCENARIOS: 'scenarios/essential' |
| 458 | SKIP_LIST: '' |
Oleg Basov | c3602a7 | 2019-02-15 15:49:09 +0100 | [diff] [blame] | 459 | MATRIX: '' |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 460 | image_builder: |
| 461 | # - SHAKER_FLAVOR_DISK=4 |
| 462 | # - SHAKER_FLAVOR_RAM=512 |
| 463 | # - SHAKER_FLAVOR_VCPUS=1 |
| 464 | # - SHAKER_IMAGE_BUILDER_MODE='dib' |
| 465 | shaker: |
| 466 | # - SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 467 | # - SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 468 | # - SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 469 | # - SCENARIO_COMPUTE_NODES=2 |
| 470 | # - SHAKER_EXTERNAL_NET='public' |
| 471 | description: | |
| 472 | YAML context with parameters for running Shaker tests, where |
| 473 | "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible |
| 474 | from tenant's VM network (usually equals to public address of cicd node) |
| 475 | "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image |
| 476 | (can be directory or specific file). Main categories are |
| 477 | scenarios/essential/l2 |
| 478 | scenarios/essential/l3 |
| 479 | scenarios/additional/cross_az |
| 480 | scenarios/additional/external |
| 481 | scenarios/additional/qos |
Oleg Basov | c3602a7 | 2019-02-15 15:49:09 +0100 | [diff] [blame] | 482 | "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format. |
| 483 | To override a scenario duration one may provide "{time: 10}", or to override list of hosts: |
| 484 | "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are |
| 485 | tested. It is a required field for some of external-category scenarios when the host name with iperf3 |
| 486 | 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] | 487 | "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/ |
| 488 | of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3" |
| 489 | "image_builder" - shaker-image-builder env variables |
| 490 | SHAKER_FLAVOR_DISK=4 |
| 491 | SHAKER_FLAVOR_RAM=512 |
| 492 | SHAKER_FLAVOR_VCPUS=1 |
| 493 | SHAKER_IMAGE_BUILDER_MODE='dib' |
| 494 | "shaker" - main shaker runner env variables |
| 495 | SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 496 | SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 497 | SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 498 | SCENARIO_COMPUTE_NODES=2 |
| 499 | SHAKER_EXTERNAL_NET='public' |
| 500 | For the more detailed description of the last two categories please refer to the shaker documentation |
| 501 | https://pyshaker.readthedocs.io/en/latest/tools.html |
Oleksii Zhurba | a31172e | 2019-04-23 12:23:11 -0500 | [diff] [blame] | 502 | cvp-rebuild: |
| 503 | type: workflow-scm |
| 504 | name: cvp-rebuild |
| 505 | display_name: "CVP-rebuild job for images" |
| 506 | discard: |
| 507 | build: |
| 508 | keep_num: 20 |
| 509 | artifact: |
| 510 | keep_num: 20 |
| 511 | concurrent: false |
| 512 | scm: |
| 513 | type: git |
| 514 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 515 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 516 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | a31172e | 2019-04-23 12:23:11 -0500 | [diff] [blame] | 517 | script: cvp-rebuild.groovy |
| 518 | param: |
| 519 | DESTINATION_IMAGE: |
| 520 | type: string |
| 521 | default: "" |
| 522 | description: "Specify address of local registry and name of the image e.g. _cid_vip_:5000/ci-tempest:v1" |
| 523 | SALT_MASTER_URL: |
| 524 | type: string |
| 525 | default: "${_param:jenkins_salt_api_url}" |
| 526 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 527 | SALT_MASTER_CREDENTIALS: |
| 528 | type: string |
| 529 | default: "salt" |
| 530 | REPO: |
| 531 | type: string |
| 532 | default: "" |
| 533 | description: Specify repo that will be used to rebuild image |
| 534 | BRANCH: |
| 535 | type: string |
| 536 | default: "" |
| 537 | description: Branch or version of REPO to checkout |