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