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