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