| 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 | 
|  | 262 | display_name: "CVP - Functional tests (new)" | 
|  | 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 | 
|  | 301 | TARGET_NODE: "I@gerrit:client" | 
|  | 302 | SKIP_LIST_PATH: "" | 
|  | 303 | TEST_IMAGE: "docker-prod-virtual.docker.mirantis.net/mirantis/cicd/ci-tempest:${_param:openstack_version}" | 
|  | 304 | report_prefix: "cvp_" | 
|  | 305 | description: YAML context with additional parameters | 
| Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 306 | cvp-perf: | 
|  | 307 | type: workflow-scm | 
|  | 308 | name: cvp-perf | 
|  | 309 | display_name: "CVP - Performance tests" | 
|  | 310 | discard: | 
|  | 311 | build: | 
|  | 312 | keep_num: 20 | 
|  | 313 | artifact: | 
|  | 314 | keep_num: 20 | 
|  | 315 | concurrent: false | 
|  | 316 | scm: | 
|  | 317 | type: git | 
|  | 318 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | 
| Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 319 | branch: "${_param:jenkins_pipelines_branch}" | 
| Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 320 | credentials: ${_param:jenkins_gerrit_credentials} | 
| Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 321 | script: cvp-perf.groovy | 
|  | 322 | param: | 
|  | 323 | DEBUG_MODE: | 
|  | 324 | type: boolean | 
|  | 325 | default: 'false' | 
|  | 326 | description: Enable if you need to keep container after the test and debug | 
|  | 327 | RALLY_SCENARIO_FILE: | 
|  | 328 | type: string | 
|  | 329 | default: "cvp-configuration/rally/rally_scenarios.json" | 
|  | 330 | description: Path to scenario file in container | 
|  | 331 | TEST_IMAGE: | 
|  | 332 | type: string | 
| Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame] | 333 | default: "xrally/xrally-openstack:0.11.2" | 
| Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 334 | description: Docker image to use for running Rally/Tempest | 
|  | 335 | SALT_MASTER_URL: | 
|  | 336 | type: string | 
|  | 337 | default: "${_param:jenkins_salt_api_url}" | 
|  | 338 | description: Full Salt API address [e.g. https://10.10.10.2:6969] | 
|  | 339 | SALT_MASTER_CREDENTIALS: | 
|  | 340 | type: string | 
|  | 341 | default: "salt" | 
|  | 342 | description: Credentials to the Salt API | 
|  | 343 | TARGET_NODE: | 
|  | 344 | type: string | 
| mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 345 | default: "" | 
| Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 346 | description: Node where docker container with Rally will be run | 
|  | 347 | TOOLS_REPO: | 
|  | 348 | type: string | 
|  | 349 | default: "https://github.com/Mirantis/cvp-configuration" | 
| Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 350 | description: URL of repo where testing tools, scenarios, configs are located. | 
| Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 351 | PROXY: | 
|  | 352 | type: string | 
|  | 353 | default: "" | 
| Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 354 | 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] | 355 | cvp-stacklight: | 
|  | 356 | type: workflow-scm | 
|  | 357 | name: cvp-stacklight | 
|  | 358 | display_name: "CVP - Stacklight tests" | 
|  | 359 | discard: | 
|  | 360 | build: | 
|  | 361 | keep_num: 20 | 
|  | 362 | artifact: | 
|  | 363 | keep_num: 20 | 
|  | 364 | concurrent: false | 
|  | 365 | scm: | 
|  | 366 | type: git | 
|  | 367 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | 
|  | 368 | branch: "${_param:jenkins_pipelines_branch}" | 
| Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 369 | credentials: ${_param:jenkins_gerrit_credentials} | 
| Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 370 | script: cvp-runner.groovy | 
| Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 371 | param: | 
| Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 372 | IMAGE: | 
|  | 373 | type: string | 
|  | 374 | default: ${_param:docker_image_cvp_sanity_checks} | 
|  | 375 | 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] | 376 | SALT_MASTER_URL: | 
|  | 377 | type: string | 
|  | 378 | default: "${_param:jenkins_salt_api_url}" | 
|  | 379 | description: Full Salt API address [e.g. https://10.10.10.2:6969] | 
|  | 380 | SALT_MASTER_CREDENTIALS: | 
|  | 381 | type: string | 
|  | 382 | default: "salt" | 
| Hanna Arhipova | 8285e61 | 2019-02-14 13:45:17 +0200 | [diff] [blame] | 383 | EXTRA_PARAMS: | 
|  | 384 | type: text | 
|  | 385 | default: | | 
|  | 386 | envs: | 
|  | 387 | - SL_AUTOCONF=True | 
|  | 388 | description: YAML context with additional parameters | 
| Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 389 | cvp-spt: | 
|  | 390 | type: workflow-scm | 
|  | 391 | name: cvp-spt | 
|  | 392 | display_name: "CVP - Simplified Performance Tests (SPT)" | 
|  | 393 | discard: | 
|  | 394 | build: | 
|  | 395 | keep_num: 20 | 
|  | 396 | artifact: | 
|  | 397 | keep_num: 20 | 
|  | 398 | concurrent: false | 
|  | 399 | scm: | 
|  | 400 | type: git | 
|  | 401 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | 
|  | 402 | branch: "${_param:jenkins_pipelines_branch}" | 
| Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 403 | credentials: ${_param:jenkins_gerrit_credentials} | 
| Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 404 | script: cvp-runner.groovy | 
| Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 405 | param: | 
| Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 406 | IMAGE: | 
|  | 407 | type: string | 
| azvyagintsev | 33afffc | 2019-02-22 14:20:20 +0200 | [diff] [blame] | 408 | default: ${_param:docker_image_cvp_sanity_checks} | 
| Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 409 | 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] | 410 | SALT_MASTER_URL: | 
|  | 411 | type: string | 
|  | 412 | default: "${_param:jenkins_salt_api_url}" | 
|  | 413 | description: Full Salt API address [e.g. https://10.10.10.2:6969] | 
|  | 414 | SALT_MASTER_CREDENTIALS: | 
|  | 415 | type: string | 
|  | 416 | default: "salt" | 
| Hanna Arhipova | 718fbf6 | 2019-01-24 18:50:02 +0200 | [diff] [blame] | 417 | EXTRA_PARAMS: | 
|  | 418 | type: text | 
| Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame] | 419 | default: | | 
|  | 420 | envs: | 
|  | 421 | - tests_set='' | 
| Hanna Arhipova | 5bccdcf | 2019-07-16 18:04:04 +0300 | [diff] [blame^] | 422 | - image_name=Ubuntu | 
| Oleksii Zhurba | 592e14c | 2019-04-16 17:44:57 -0500 | [diff] [blame] | 423 | - networks=10.101.0.0/24 | 
|  | 424 | 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] | 425 | cvp-shaker: | 
|  | 426 | type: workflow-scm | 
|  | 427 | name: cvp-shaker | 
|  | 428 | display_name: "CVP - Shaker network tests" | 
|  | 429 | discard: | 
|  | 430 | build: | 
|  | 431 | keep_num: 20 | 
|  | 432 | artifact: | 
|  | 433 | keep_num: 20 | 
|  | 434 | concurrent: false | 
|  | 435 | scm: | 
|  | 436 | type: git | 
|  | 437 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | 
|  | 438 | branch: "${_param:jenkins_pipelines_branch}" | 
| Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 439 | credentials: ${_param:jenkins_gerrit_credentials} | 
| Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 440 | script: cvp-shaker.groovy | 
|  | 441 | param: | 
|  | 442 | IMAGE: | 
|  | 443 | type: string | 
| Oleg Basov | 06938fe | 2019-04-01 20:41:24 +0200 | [diff] [blame] | 444 | default: "${_param:docker_image_cvp_shaker_checks}" | 
| Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 445 | description: Docker image to use for running Shaker. | 
|  | 446 | SALT_MASTER_URL: | 
|  | 447 | type: string | 
|  | 448 | default: "${_param:jenkins_salt_api_url}" | 
|  | 449 | description: Full Salt API address [e.g. https://10.10.10.2:6969]. | 
|  | 450 | SALT_MASTER_CREDENTIALS: | 
|  | 451 | type: string | 
|  | 452 | default: "salt" | 
|  | 453 | description: Credentials to the Salt API. | 
|  | 454 | SHAKER_PARAMS: | 
|  | 455 | type: text | 
|  | 456 | default:  | | 
|  | 457 | --- | 
|  | 458 | SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999' | 
|  | 459 | SHAKER_SCENARIOS: 'scenarios/essential' | 
|  | 460 | SKIP_LIST: '' | 
| Oleg Basov | c3602a7 | 2019-02-15 15:49:09 +0100 | [diff] [blame] | 461 | MATRIX: '' | 
| Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 462 | image_builder: | 
|  | 463 | #  - SHAKER_FLAVOR_DISK=4 | 
|  | 464 | #  - SHAKER_FLAVOR_RAM=512 | 
|  | 465 | #  - SHAKER_FLAVOR_VCPUS=1 | 
|  | 466 | #  - SHAKER_IMAGE_BUILDER_MODE='dib' | 
|  | 467 | shaker: | 
|  | 468 | #  - SHAKER_AGENT_JOIN_TIMEOUT=300 | 
|  | 469 | #  - SHAKER_AGENT_LOSS_TIMEOUT=120 | 
|  | 470 | #  - SCENARIO_AVAILABILITY_ZONE='nova,internal' | 
|  | 471 | #  - SCENARIO_COMPUTE_NODES=2 | 
|  | 472 | #  - SHAKER_EXTERNAL_NET='public' | 
|  | 473 | description: | | 
|  | 474 | YAML context with parameters for running Shaker tests, where | 
|  | 475 | "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible | 
|  | 476 | from tenant's VM network (usually equals to public address of cicd node) | 
|  | 477 | "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image | 
|  | 478 | (can be directory or specific file). Main categories are | 
|  | 479 | scenarios/essential/l2 | 
|  | 480 | scenarios/essential/l3 | 
|  | 481 | scenarios/additional/cross_az | 
|  | 482 | scenarios/additional/external | 
|  | 483 | scenarios/additional/qos | 
| Oleg Basov | c3602a7 | 2019-02-15 15:49:09 +0100 | [diff] [blame] | 484 | "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format. | 
|  | 485 | To override a scenario duration one may provide "{time: 10}", or to override list of hosts: | 
|  | 486 | "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are | 
|  | 487 | tested. It is a required field for some of external-category scenarios when the host name with iperf3 | 
|  | 488 | 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] | 489 | "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/ | 
|  | 490 | of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3" | 
|  | 491 | "image_builder" - shaker-image-builder env variables | 
|  | 492 | SHAKER_FLAVOR_DISK=4 | 
|  | 493 | SHAKER_FLAVOR_RAM=512 | 
|  | 494 | SHAKER_FLAVOR_VCPUS=1 | 
|  | 495 | SHAKER_IMAGE_BUILDER_MODE='dib' | 
|  | 496 | "shaker" - main shaker runner env variables | 
|  | 497 | SHAKER_AGENT_JOIN_TIMEOUT=300 | 
|  | 498 | SHAKER_AGENT_LOSS_TIMEOUT=120 | 
|  | 499 | SCENARIO_AVAILABILITY_ZONE='nova,internal' | 
|  | 500 | SCENARIO_COMPUTE_NODES=2 | 
|  | 501 | SHAKER_EXTERNAL_NET='public' | 
|  | 502 | For the more detailed description of the last two categories please refer to the shaker documentation | 
|  | 503 | https://pyshaker.readthedocs.io/en/latest/tools.html | 
| Oleksii Zhurba | a31172e | 2019-04-23 12:23:11 -0500 | [diff] [blame] | 504 | cvp-rebuild: | 
|  | 505 | type: workflow-scm | 
|  | 506 | name: cvp-rebuild | 
|  | 507 | display_name: "CVP-rebuild job for images" | 
|  | 508 | discard: | 
|  | 509 | build: | 
|  | 510 | keep_num: 20 | 
|  | 511 | artifact: | 
|  | 512 | keep_num: 20 | 
|  | 513 | concurrent: false | 
|  | 514 | scm: | 
|  | 515 | type: git | 
|  | 516 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | 
|  | 517 | branch: "${_param:jenkins_pipelines_branch}" | 
| Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 518 | credentials: ${_param:jenkins_gerrit_credentials} | 
| Oleksii Zhurba | a31172e | 2019-04-23 12:23:11 -0500 | [diff] [blame] | 519 | script: cvp-rebuild.groovy | 
|  | 520 | param: | 
|  | 521 | DESTINATION_IMAGE: | 
|  | 522 | type: string | 
|  | 523 | default: "" | 
|  | 524 | description: "Specify address of local registry and name of the image e.g. _cid_vip_:5000/ci-tempest:v1" | 
|  | 525 | SALT_MASTER_URL: | 
|  | 526 | type: string | 
|  | 527 | default: "${_param:jenkins_salt_api_url}" | 
|  | 528 | description: Full Salt API address [e.g. https://10.10.10.2:6969] | 
|  | 529 | SALT_MASTER_CREDENTIALS: | 
|  | 530 | type: string | 
|  | 531 | default: "salt" | 
|  | 532 | REPO: | 
|  | 533 | type: string | 
|  | 534 | default: "" | 
|  | 535 | description: Specify repo that will be used to rebuild image | 
|  | 536 | BRANCH: | 
|  | 537 | type: string | 
|  | 538 | default: "" | 
|  | 539 | description: Branch or version of REPO to checkout |