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 | 1541f5b | 2019-07-24 16:46:11 -0500 | [diff] [blame] | 9 | CVP: |
Oleksii Zhurba | d415963 | 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 |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 23 | concurrent: false |
Ivan Berezovskiy | f4a5e41 | 2020-03-18 12:11:13 +0400 | [diff] [blame] | 24 | disabled: true |
| 25 | description: "Pipeline is outdated and no longer supported. Please do not use in production" |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 26 | scm: |
| 27 | type: git |
| 28 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 29 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 30 | credentials: ${_param:jenkins_gerrit_credentials} |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 31 | script: validate-cloud.groovy |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 32 | param: |
| 33 | SALT_MASTER_URL: |
| 34 | type: string |
Sam Stoelinga | 1539f3c | 2017-09-25 17:05:40 -0700 | [diff] [blame] | 35 | default: "${_param:jenkins_salt_api_url}" |
| 36 | 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] | 37 | SALT_MASTER_CREDENTIALS: |
| 38 | type: string |
| 39 | default: "salt" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 40 | description: Credentials to the Salt API |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 41 | TEST_IMAGE: |
| 42 | type: string |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame] | 43 | default: "${_param:mcp_docker_registry}/mirantis/oss/qa-tools" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 44 | description: Docker image to setup testing environment |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 45 | TARGET_NODE: |
| 46 | type: string |
| 47 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 48 | description: Target node where this job will be executed from |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 49 | RUN_RALLY_TESTS: |
| 50 | type: boolean |
| 51 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 52 | description: If chosen then Rally tests will be executed |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 53 | RUN_TEMPEST_TESTS: |
| 54 | type: boolean |
| 55 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 56 | description: If chosen then Tempest tests will be executed |
Dmitrii Kabanov | 58bd85e | 2017-08-14 16:37:39 -0700 | [diff] [blame] | 57 | RUN_K8S_TESTS: |
| 58 | type: boolean |
| 59 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 60 | description: If chosen then K8S tests will be executed |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 61 | TEMPEST_TEST_SET: |
| 62 | type: choice |
| 63 | choices: |
| 64 | - smoke |
| 65 | - full |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 66 | description: Set of Tempest tests to run |
Dmitrii Kabanov | 263cd8a | 2017-11-10 00:42:22 -0800 | [diff] [blame] | 67 | TEMPEST_CONFIG_REPO: |
| 68 | type: string |
| 69 | default: "" |
| 70 | description: Git repository with configuration files for Tempest |
| 71 | TEMPEST_CONFIG_BRANCH: |
| 72 | type: string |
| 73 | default: "" |
| 74 | description: Git branch which will be used during the checkout |
| 75 | TEMPEST_REPO: |
| 76 | type: string |
| 77 | default: "" |
| 78 | description: Git repository with Tempest |
| 79 | TEMPEST_VERSION: |
| 80 | type: string |
| 81 | default: "" |
| 82 | description: Version of Tempest (tag, branch or commit) |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 83 | TEST_K8S_NODE: |
| 84 | type: string |
| 85 | default: "" |
| 86 | description: Kubernetes node to run tests from |
Dmitrii Kabanov | 58bd85e | 2017-08-14 16:37:39 -0700 | [diff] [blame] | 87 | TEST_K8S_API_SERVER: |
| 88 | type: string |
| 89 | default: "http://127.0.0.1:8080" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 90 | description: API server parameter for K8S tests |
Dmitrii Kabanov | 58bd85e | 2017-08-14 16:37:39 -0700 | [diff] [blame] | 91 | TEST_K8S_CONFORMANCE_IMAGE: |
| 92 | type: string |
vrovachev | 7e70980 | 2017-09-15 20:04:26 +0400 | [diff] [blame] | 93 | default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 94 | description: Docker image to run K8S tests |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 95 | RUN_SPT_TESTS: |
| 96 | type: boolean |
| 97 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 98 | description: If chosen then SPT tests will be executed |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 99 | SPT_SSH_USER: |
| 100 | type: string |
| 101 | default: "root" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 102 | description: Username that is used to ssh between cluster nodes |
Dmitrii Kabanov | f984ed4 | 2017-09-29 10:32:35 -0700 | [diff] [blame] | 103 | FLOATING_NETWORK: |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 104 | type: string |
| 105 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 106 | description: External(floating) network name (used in both SPT and Rally) |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 107 | SPT_IMAGE: |
| 108 | type: string |
| 109 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 110 | description: Image that is used for network-VM-to-VM-iperf-tests tests |
Dmitrii Kabanov | f984ed4 | 2017-09-29 10:32:35 -0700 | [diff] [blame] | 111 | SPT_IMAGE_USER: |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 112 | type: string |
| 113 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 114 | description: Username that is used to ssh to SPT_IMAGE |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 115 | SPT_FLAVOR: |
| 116 | type: string |
| 117 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 118 | description: Flavor name for SPT_IMAGE (make sure you have required flavor created) |
Dmitrii Kabanov | f984ed4 | 2017-09-29 10:32:35 -0700 | [diff] [blame] | 119 | RALLY_IMAGE: |
| 120 | type: string |
| 121 | default: "cirros" |
| 122 | RALLY_FLAVOR: |
| 123 | type: string |
| 124 | default: "m1.tiny" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 125 | description: Flavor name for Rally scenarios |
Dmitrii Kabanov | 263cd8a | 2017-11-10 00:42:22 -0800 | [diff] [blame] | 126 | RALLY_CONFIG_REPO: |
| 127 | type: string |
| 128 | default: "" |
| 129 | description: Git repository with configuration files for Rally |
| 130 | RALLY_CONFIG_BRANCH: |
| 131 | type: string |
| 132 | default: "" |
| 133 | description: Git branch which will be used during the checkout |
Sergey Galkin | 4263930 | 2017-12-01 16:27:30 +0400 | [diff] [blame] | 134 | RALLY_SCENARIOS: |
| 135 | type: string |
| 136 | default: "" |
| 137 | description: Rally scenarios directory or file with scenarios |
Oleg Basov | 894f8c1 | 2018-09-04 21:44:12 +0200 | [diff] [blame] | 138 | RALLY_SL_SCENARIOS: |
| 139 | type: string |
| 140 | default: "" |
| 141 | description: Stacklight Rally scenarios directory or file with scenarios |
Sergey Galkin | 4263930 | 2017-12-01 16:27:30 +0400 | [diff] [blame] | 142 | RALLY_TASK_ARGS_FILE: |
| 143 | type: string |
| 144 | default: "" |
| 145 | description: Rally scenarios arguments file |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 146 | AVAILABILITY_ZONE: |
| 147 | type: string |
| 148 | default: "nova" |
| 149 | description: Name of availability zone |
| 150 | GENERATE_REPORT: |
| 151 | type: boolean |
| 152 | default: 'true' |
| 153 | description: If chosen then at the end of the test run HTML report will be generated |
| 154 | ACCUMULATE_RESULTS: |
| 155 | type: boolean |
| 156 | default: 'true' |
| 157 | description: If chosen then previous build results will be used in the current build |
mkraynov | dc3b3ee | 2018-07-25 15:58:29 +0400 | [diff] [blame] | 158 | RALLY_PLUGINS_REPO: |
| 159 | type: string |
| 160 | default: "" |
| 161 | description: Git repository with Rally plugins |
| 162 | RALLY_PLUGINS_BRANCH: |
| 163 | type: string |
| 164 | default: "" |
| 165 | description: Git branch which will be used during the checkout |
| 166 | K8S_RALLY: |
| 167 | type: boolean |
| 168 | default: 'false' |
| 169 | description: If chosen then K8S Rally test will be executed |
Oleg Basov | 894f8c1 | 2018-09-04 21:44:12 +0200 | [diff] [blame] | 170 | STACKLIGHT_RALLY: |
| 171 | type: boolean |
| 172 | default: 'false' |
| 173 | description: If chosen then Stacklight Rally test will be executed |
mkraynov | dc3b3ee | 2018-07-25 15:58:29 +0400 | [diff] [blame] | 174 | JOB_TIMEOUT: |
| 175 | type: string |
| 176 | default: "3" |
| 177 | description: Job timeout in hours |
| 178 | REPORT_DIR: |
| 179 | type: string |
| 180 | default: "" |
| 181 | description: Path for reports outside docker image |
mkraynov | 3fcda25 | 2018-08-07 18:35:18 +0400 | [diff] [blame] | 182 | SKIP_LIST: |
| 183 | type: string |
| 184 | description: "Skip list for Rally test" |
| 185 | default: "" |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 186 | cvp-sanity: |
| 187 | type: workflow-scm |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 188 | name: cvp-sanity |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 189 | display_name: "CVP - Sanity checks" |
| 190 | discard: |
| 191 | build: |
| 192 | keep_num: 20 |
| 193 | artifact: |
| 194 | keep_num: 20 |
| 195 | concurrent: false |
| 196 | scm: |
| 197 | type: git |
| 198 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 199 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 200 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | c0af3f0 | 2018-06-14 13:47:54 -0500 | [diff] [blame] | 201 | script: cvp-runner.groovy |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 202 | param: |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 203 | IMAGE: |
| 204 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 205 | default: "${_param:docker_image_cvp_sanity_checks}" |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 206 | 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] | 207 | SALT_MASTER_URL: |
| 208 | type: string |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 209 | default: "${_param:jenkins_salt_api_url}" |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 210 | 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] | 211 | SALT_MASTER_CREDENTIALS: |
| 212 | type: string |
| 213 | default: "salt" |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 214 | EXTRA_PARAMS: |
| 215 | type: text |
| 216 | default: | |
| 217 | envs: |
| 218 | - tests_set='' |
Ievgeniia Zadorozhna | 8cd9662 | 2019-11-13 18:37:39 +0300 | [diff] [blame] | 219 | override_config: |
| 220 | skipped_nodes: [] |
| 221 | description: | |
| 222 | YAML context with additional parameters. 'envs' key is for environment variables, 'override_config' key is for overriding the global config in YAML format (good for nested parameters). Example: |
| 223 | envs: |
| 224 | - tests_set='tests/test_mtu.py' |
| 225 | override_config: |
| 226 | drivetrain_version: 2019.2.0 |
| 227 | skipped_groups: |
| 228 | - log |
| 229 | test_duplicate_ips: |
| 230 | skipped_ifaces: |
| 231 | - lo |
| 232 | - virbr0 |
| 233 | - docker_gwbridge |
| 234 | - docker0 |
| 235 | test_packages: |
| 236 | skipped_packages: [] |
| 237 | skip_test: 'false' |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 238 | cvp-func: |
| 239 | type: workflow-scm |
| 240 | name: cvp-func |
| 241 | display_name: "CVP - Functional tests" |
| 242 | discard: |
| 243 | build: |
| 244 | keep_num: 20 |
| 245 | artifact: |
| 246 | keep_num: 20 |
| 247 | concurrent: false |
| 248 | scm: |
| 249 | type: git |
| 250 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 251 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 252 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 253 | script: cvp-func.groovy |
| 254 | param: |
| 255 | DEBUG_MODE: |
| 256 | type: boolean |
| 257 | default: 'false' |
| 258 | description: Enable if you need to keep container after the test and debug |
| 259 | SKIP_LIST_PATH: |
| 260 | type: string |
| 261 | default: "cvp-configuration/tempest/skip-list.yaml" |
| 262 | description: Path to skip list in container |
| 263 | SALT_MASTER_URL: |
| 264 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 265 | default: "http://${_param:salt_master_host}:6969" |
| 266 | 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] | 267 | SALT_MASTER_CREDENTIALS: |
| 268 | type: string |
| 269 | default: "salt" |
| 270 | description: Credentials to the Salt API |
| 271 | TEST_IMAGE: |
| 272 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 273 | default: "${_param:docker_image_cvp_xrally}" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 274 | description: Docker image to use for running Rally/Tempest |
| 275 | TARGET_NODE: |
| 276 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 277 | default: "" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 278 | description: Node where container with Tempest will be run |
| 279 | PROXY: |
| 280 | type: string |
| 281 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 282 | 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] | 283 | TEMPEST_TEST_PATTERN: |
| 284 | type: string |
| 285 | default: "set=smoke" |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 286 | description: Use set=smoke (or identity,full...) or just test name |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 287 | TEMPEST_ENDPOINT_TYPE: |
| 288 | type: choice |
| 289 | choices: |
| 290 | - internalURL |
| 291 | - adminURL |
| 292 | - publicURL |
| 293 | description: Openstack endpoint type to use during test run |
| 294 | TEMPEST_REPO: |
| 295 | type: string |
| 296 | default: "https://github.com/openstack/tempest" |
| 297 | description: URL to Tempest repo (local or remote) or path to tempest folder in container |
| 298 | TOOLS_REPO: |
| 299 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 300 | default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 301 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 302 | cvp-ha: |
| 303 | type: workflow-scm |
| 304 | name: cvp-ha |
| 305 | display_name: "CVP - HA tests" |
| 306 | discard: |
| 307 | build: |
| 308 | keep_num: 20 |
| 309 | artifact: |
| 310 | keep_num: 20 |
| 311 | concurrent: false |
| 312 | scm: |
| 313 | type: git |
| 314 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 315 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 316 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 317 | script: cvp-ha.groovy |
| 318 | param: |
| 319 | SALT_MASTER_URL: |
| 320 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 321 | default: "http://${_param:salt_master_host}:6969" |
| 322 | 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] | 323 | SALT_MASTER_CREDENTIALS: |
| 324 | type: string |
| 325 | default: "salt" |
| 326 | description: Credentials to the Salt API |
| 327 | TEMPEST_TARGET_NODE: |
| 328 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 329 | default: "" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 330 | description: Node where container with tempest will be run |
| 331 | TEST_IMAGE: |
| 332 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 333 | default: "${_param:docker_image_cvp_xrally}" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 334 | description: Docker image to use for running Rally/Tempest |
| 335 | TARGET_NODES: |
| 336 | type: string |
| 337 | default: "ctl*" |
| 338 | description: Nodes to test |
| 339 | DEBUG_MODE: |
| 340 | type: boolean |
| 341 | default: 'false' |
| 342 | description: If you need to debug (keep container after test), please enabled this |
| 343 | RETRY_CHECK_STATUS: |
| 344 | type: string |
| 345 | default: "200" |
| 346 | description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value |
| 347 | SKIP_LIST_PATH: |
| 348 | type: string |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 349 | default: "cvp-configuration/tempest/skip-list.yaml" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 350 | description: path to skip-list file inside container |
| 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 | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 355 | TEMPEST_TEST_PATTERN: |
| 356 | type: string |
| 357 | default: "set=smoke" |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 358 | description: Use set=smoke (or identity,full...) or just test name |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 359 | MANUAL_CONFIRMATION: |
| 360 | type: boolean |
| 361 | default: 'false' |
| 362 | description: Ask for confirmation before doing something destructive (reboot/shutdown node) |
| 363 | TEMPEST_REPO: |
| 364 | type: string |
| 365 | default: "https://github.com/openstack/tempest" |
| 366 | description: Can be repo url (local or remote) or path to folder (inside container) with Tempest |
| 367 | TOOLS_REPO: |
| 368 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 369 | default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 370 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 5c37a23 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 371 | cvp-tempest: |
| 372 | type: workflow-scm |
| 373 | name: cvp-tempest |
| 374 | display_name: "CVP-Tempest (technical preview)" |
| 375 | discard: |
| 376 | build: |
| 377 | keep_num: 20 |
| 378 | artifact: |
| 379 | keep_num: 20 |
| 380 | concurrent: false |
| 381 | scm: |
| 382 | type: git |
| 383 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 384 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 385 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 5c37a23 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 386 | script: cvp-tempest.groovy |
| 387 | param: |
| 388 | PREPARE_RESOURCES: |
| 389 | type: boolean |
| 390 | default: true |
| 391 | description: Prepare resources for Tempest |
| 392 | SALT_MASTER_URL: |
| 393 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 394 | default: "http://${_param:salt_master_host}:6969" |
| 395 | description: Full Salt API address [e.g. http://10.10.10.2:6969] |
Oleksii Zhurba | 5c37a23 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 396 | TEMPEST_TEST_PATTERN: |
| 397 | type: string |
| 398 | default: "set=smoke" |
| 399 | description: Use set=smoke, set=full or just test name (regex) |
| 400 | TEMPEST_ENDPOINT_TYPE: |
| 401 | type: choice |
| 402 | choices: |
| 403 | - internalURL |
| 404 | - adminURL |
| 405 | - publicURL |
| 406 | description: Openstack endpoint type to use during test run. |
| 407 | EXTRA_PARAMS: |
| 408 | type: text |
| 409 | default: | |
| 410 | --- |
| 411 | DEBUG_MODE: false |
| 412 | GENERATE_CONFIG: true |
Oleksii Zhurba | 346fc6f | 2019-07-17 12:55:27 -0500 | [diff] [blame] | 413 | TEST_IMAGE: "${_param:docker_image_cvp_tempest}" |
Oleksii Zhurba | 5c37a23 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 414 | report_prefix: "cvp_" |
| 415 | description: YAML context with additional parameters |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 416 | cvp-perf: |
| 417 | type: workflow-scm |
| 418 | name: cvp-perf |
| 419 | display_name: "CVP - Performance tests" |
| 420 | discard: |
| 421 | build: |
| 422 | keep_num: 20 |
| 423 | artifact: |
| 424 | keep_num: 20 |
| 425 | concurrent: false |
| 426 | scm: |
| 427 | type: git |
| 428 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 429 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 430 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 431 | script: cvp-perf.groovy |
| 432 | param: |
| 433 | DEBUG_MODE: |
| 434 | type: boolean |
| 435 | default: 'false' |
| 436 | description: Enable if you need to keep container after the test and debug |
| 437 | RALLY_SCENARIO_FILE: |
| 438 | type: string |
| 439 | default: "cvp-configuration/rally/rally_scenarios.json" |
| 440 | description: Path to scenario file in container |
| 441 | TEST_IMAGE: |
| 442 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 443 | default: "${_param:docker_image_cvp_xrally}" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 444 | description: Docker image to use for running Rally/Tempest |
| 445 | SALT_MASTER_URL: |
| 446 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 447 | default: "http://${_param:salt_master_host}:6969" |
| 448 | 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] | 449 | SALT_MASTER_CREDENTIALS: |
| 450 | type: string |
| 451 | default: "salt" |
| 452 | description: Credentials to the Salt API |
| 453 | TARGET_NODE: |
| 454 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 455 | default: "" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 456 | description: Node where docker container with Rally will be run |
| 457 | TOOLS_REPO: |
| 458 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 459 | default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 460 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 461 | PROXY: |
| 462 | type: string |
| 463 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 464 | 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] | 465 | cvp-stacklight: |
| 466 | type: workflow-scm |
| 467 | name: cvp-stacklight |
| 468 | display_name: "CVP - Stacklight tests" |
| 469 | discard: |
| 470 | build: |
| 471 | keep_num: 20 |
| 472 | artifact: |
| 473 | keep_num: 20 |
| 474 | concurrent: false |
| 475 | scm: |
| 476 | type: git |
| 477 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 478 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 479 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 480 | script: cvp-runner.groovy |
Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 481 | param: |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 482 | IMAGE: |
| 483 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 484 | default: "${_param:docker_image_cvp_sanity_checks}" |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 485 | 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] | 486 | SALT_MASTER_URL: |
| 487 | type: string |
| 488 | default: "${_param:jenkins_salt_api_url}" |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 489 | 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] | 490 | SALT_MASTER_CREDENTIALS: |
| 491 | type: string |
| 492 | default: "salt" |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 493 | EXTRA_PARAMS: |
| 494 | type: text |
| 495 | default: | |
| 496 | envs: |
| 497 | - SL_AUTOCONF=True |
| 498 | description: YAML context with additional parameters |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 499 | cvp-spt: |
| 500 | type: workflow-scm |
| 501 | name: cvp-spt |
| 502 | display_name: "CVP - Simplified Performance Tests (SPT)" |
| 503 | discard: |
| 504 | build: |
| 505 | keep_num: 20 |
| 506 | artifact: |
| 507 | keep_num: 20 |
| 508 | concurrent: false |
| 509 | scm: |
| 510 | type: git |
| 511 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 512 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 513 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 514 | script: cvp-runner.groovy |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 515 | param: |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 516 | IMAGE: |
| 517 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 518 | default: "${_param:docker_image_cvp_sanity_checks}" |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 519 | 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] | 520 | SALT_MASTER_URL: |
| 521 | type: string |
| 522 | default: "${_param:jenkins_salt_api_url}" |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 523 | 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] | 524 | SALT_MASTER_CREDENTIALS: |
| 525 | type: string |
| 526 | default: "salt" |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 527 | EXTRA_PARAMS: |
| 528 | type: text |
| 529 | default: | |
| 530 | envs: |
| 531 | - tests_set='' |
Hanna Arhipova | c200cd9 | 2019-07-16 18:04:04 +0300 | [diff] [blame] | 532 | - image_name=Ubuntu |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 533 | - networks=10.101.0.0/24 |
| 534 | 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 | 0a090cb | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 535 | cvp-shaker: |
| 536 | type: workflow-scm |
| 537 | name: cvp-shaker |
| 538 | display_name: "CVP - Shaker network tests" |
| 539 | discard: |
| 540 | build: |
| 541 | keep_num: 20 |
| 542 | artifact: |
| 543 | keep_num: 20 |
| 544 | concurrent: false |
| 545 | scm: |
| 546 | type: git |
| 547 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 548 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 549 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleg Basov | 0a090cb | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 550 | script: cvp-shaker.groovy |
| 551 | param: |
| 552 | IMAGE: |
| 553 | type: string |
| 554 | default: "${_param:docker_image_cvp_shaker_checks}" |
| 555 | description: Docker image to use for running Shaker. |
| 556 | SALT_MASTER_URL: |
| 557 | type: string |
| 558 | default: "${_param:jenkins_salt_api_url}" |
| 559 | description: Full Salt API address [e.g. https://10.10.10.2:6969]. |
| 560 | SALT_MASTER_CREDENTIALS: |
| 561 | type: string |
| 562 | default: "salt" |
| 563 | description: Credentials to the Salt API. |
Ievgeniia Zadorozhna | 4ec8541 | 2019-11-12 15:03:27 +0300 | [diff] [blame] | 564 | SLAVE_NODE: |
| 565 | type: string |
| 566 | default: "slave01" |
| 567 | description: Label or name of node to start the Shaker server (should be one of cicd nodes and should have the IP address of SHAKER_SERVER_ENDPOINT). |
Oleg Basov | 0a090cb | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 568 | SHAKER_PARAMS: |
| 569 | type: text |
| 570 | default: | |
| 571 | --- |
| 572 | SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999' |
| 573 | SHAKER_SCENARIOS: 'scenarios/essential' |
| 574 | SKIP_LIST: '' |
| 575 | image_builder: |
| 576 | # - SHAKER_FLAVOR_DISK=4 |
| 577 | # - SHAKER_FLAVOR_RAM=512 |
| 578 | # - SHAKER_FLAVOR_VCPUS=1 |
| 579 | # - SHAKER_IMAGE_BUILDER_MODE='dib' |
| 580 | shaker: |
| 581 | # - SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 582 | # - SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 583 | # - SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 584 | # - SCENARIO_COMPUTE_NODES=2 |
| 585 | # - SHAKER_EXTERNAL_NET='public' |
| 586 | description: | |
| 587 | YAML context with parameters for running Shaker tests, where |
Ievgeniia Zadorozhna | 4ec8541 | 2019-11-12 15:03:27 +0300 | [diff] [blame] | 588 | "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). The IP address of SLAVE_NODE with the port. Should be accessible |
| 589 | from tenant's VM network (floating network) |
Oleg Basov | 0a090cb | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 590 | "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image |
| 591 | (can be directory or specific file). Main categories are |
| 592 | scenarios/essential/l2 |
| 593 | scenarios/essential/l3 |
| 594 | scenarios/additional/cross_az |
| 595 | scenarios/additional/external |
| 596 | scenarios/additional/qos |
| 597 | "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/ |
| 598 | of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3" |
| 599 | "image_builder" - shaker-image-builder env variables |
| 600 | SHAKER_FLAVOR_DISK=4 |
| 601 | SHAKER_FLAVOR_RAM=512 |
| 602 | SHAKER_FLAVOR_VCPUS=1 |
| 603 | SHAKER_IMAGE_BUILDER_MODE='dib' |
| 604 | "shaker" - main shaker runner env variables |
| 605 | SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 606 | SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 607 | SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 608 | SCENARIO_COMPUTE_NODES=2 |
| 609 | SHAKER_EXTERNAL_NET='public' |
| 610 | For the more detailed description of the last two categories please refer to the shaker documentation |
| 611 | https://pyshaker.readthedocs.io/en/latest/tools.html |