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