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='' |
| 217 | 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] | 218 | cvp-func: |
| 219 | type: workflow-scm |
| 220 | name: cvp-func |
| 221 | display_name: "CVP - Functional tests" |
| 222 | discard: |
| 223 | build: |
| 224 | keep_num: 20 |
| 225 | artifact: |
| 226 | keep_num: 20 |
| 227 | concurrent: false |
| 228 | scm: |
| 229 | type: git |
| 230 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 231 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 232 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 233 | script: cvp-func.groovy |
| 234 | param: |
| 235 | DEBUG_MODE: |
| 236 | type: boolean |
| 237 | default: 'false' |
| 238 | description: Enable if you need to keep container after the test and debug |
| 239 | SKIP_LIST_PATH: |
| 240 | type: string |
| 241 | default: "cvp-configuration/tempest/skip-list.yaml" |
| 242 | description: Path to skip list in container |
| 243 | SALT_MASTER_URL: |
| 244 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 245 | default: "http://${_param:salt_master_host}:6969" |
| 246 | 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] | 247 | SALT_MASTER_CREDENTIALS: |
| 248 | type: string |
| 249 | default: "salt" |
| 250 | description: Credentials to the Salt API |
| 251 | TEST_IMAGE: |
| 252 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 253 | default: "${_param:docker_image_cvp_xrally}" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 254 | description: Docker image to use for running Rally/Tempest |
| 255 | TARGET_NODE: |
| 256 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 257 | default: "" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 258 | description: Node where container with Tempest will be run |
| 259 | PROXY: |
| 260 | type: string |
| 261 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 262 | 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] | 263 | TEMPEST_TEST_PATTERN: |
| 264 | type: string |
| 265 | default: "set=smoke" |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 266 | description: Use set=smoke (or identity,full...) or just test name |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 267 | TEMPEST_ENDPOINT_TYPE: |
| 268 | type: choice |
| 269 | choices: |
| 270 | - internalURL |
| 271 | - adminURL |
| 272 | - publicURL |
| 273 | description: Openstack endpoint type to use during test run |
| 274 | TEMPEST_REPO: |
| 275 | type: string |
| 276 | default: "https://github.com/openstack/tempest" |
| 277 | description: URL to Tempest repo (local or remote) or path to tempest folder in container |
| 278 | TOOLS_REPO: |
| 279 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 280 | default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}" |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 281 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 282 | cvp-ha: |
| 283 | type: workflow-scm |
| 284 | name: cvp-ha |
| 285 | display_name: "CVP - HA tests" |
| 286 | discard: |
| 287 | build: |
| 288 | keep_num: 20 |
| 289 | artifact: |
| 290 | keep_num: 20 |
| 291 | concurrent: false |
| 292 | scm: |
| 293 | type: git |
| 294 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 295 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 296 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 297 | script: cvp-ha.groovy |
| 298 | param: |
| 299 | SALT_MASTER_URL: |
| 300 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 301 | default: "http://${_param:salt_master_host}:6969" |
| 302 | 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] | 303 | SALT_MASTER_CREDENTIALS: |
| 304 | type: string |
| 305 | default: "salt" |
| 306 | description: Credentials to the Salt API |
| 307 | TEMPEST_TARGET_NODE: |
| 308 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 309 | default: "" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 310 | description: Node where container with tempest will be run |
| 311 | TEST_IMAGE: |
| 312 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 313 | default: "${_param:docker_image_cvp_xrally}" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 314 | description: Docker image to use for running Rally/Tempest |
| 315 | TARGET_NODES: |
| 316 | type: string |
| 317 | default: "ctl*" |
| 318 | description: Nodes to test |
| 319 | DEBUG_MODE: |
| 320 | type: boolean |
| 321 | default: 'false' |
| 322 | description: If you need to debug (keep container after test), please enabled this |
| 323 | RETRY_CHECK_STATUS: |
| 324 | type: string |
| 325 | default: "200" |
| 326 | description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value |
| 327 | SKIP_LIST_PATH: |
| 328 | type: string |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 329 | default: "cvp-configuration/tempest/skip-list.yaml" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 330 | description: path to skip-list file inside container |
| 331 | PROXY: |
| 332 | type: string |
| 333 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 334 | 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] | 335 | TEMPEST_TEST_PATTERN: |
| 336 | type: string |
| 337 | default: "set=smoke" |
Oleksii Zhurba | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 338 | description: Use set=smoke (or identity,full...) or just test name |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 339 | MANUAL_CONFIRMATION: |
| 340 | type: boolean |
| 341 | default: 'false' |
| 342 | description: Ask for confirmation before doing something destructive (reboot/shutdown node) |
| 343 | TEMPEST_REPO: |
| 344 | type: string |
| 345 | default: "https://github.com/openstack/tempest" |
| 346 | description: Can be repo url (local or remote) or path to folder (inside container) with Tempest |
| 347 | TOOLS_REPO: |
| 348 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 349 | default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}" |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 350 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 5c37a23 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 351 | cvp-tempest: |
| 352 | type: workflow-scm |
| 353 | name: cvp-tempest |
| 354 | display_name: "CVP-Tempest (technical preview)" |
| 355 | discard: |
| 356 | build: |
| 357 | keep_num: 20 |
| 358 | artifact: |
| 359 | keep_num: 20 |
| 360 | concurrent: false |
| 361 | scm: |
| 362 | type: git |
| 363 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 364 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 365 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 5c37a23 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 366 | script: cvp-tempest.groovy |
| 367 | param: |
| 368 | PREPARE_RESOURCES: |
| 369 | type: boolean |
| 370 | default: true |
| 371 | description: Prepare resources for Tempest |
| 372 | SALT_MASTER_URL: |
| 373 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 374 | default: "http://${_param:salt_master_host}:6969" |
| 375 | 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] | 376 | TEMPEST_TEST_PATTERN: |
| 377 | type: string |
| 378 | default: "set=smoke" |
| 379 | description: Use set=smoke, set=full or just test name (regex) |
| 380 | TEMPEST_ENDPOINT_TYPE: |
| 381 | type: choice |
| 382 | choices: |
| 383 | - internalURL |
| 384 | - adminURL |
| 385 | - publicURL |
| 386 | description: Openstack endpoint type to use during test run. |
| 387 | EXTRA_PARAMS: |
| 388 | type: text |
| 389 | default: | |
| 390 | --- |
| 391 | DEBUG_MODE: false |
| 392 | GENERATE_CONFIG: true |
Oleksii Zhurba | 346fc6f | 2019-07-17 12:55:27 -0500 | [diff] [blame] | 393 | TEST_IMAGE: "${_param:docker_image_cvp_tempest}" |
Oleksii Zhurba | 5c37a23 | 2019-03-26 16:26:43 -0500 | [diff] [blame] | 394 | report_prefix: "cvp_" |
| 395 | description: YAML context with additional parameters |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 396 | cvp-perf: |
| 397 | type: workflow-scm |
| 398 | name: cvp-perf |
| 399 | display_name: "CVP - Performance tests" |
| 400 | discard: |
| 401 | build: |
| 402 | keep_num: 20 |
| 403 | artifact: |
| 404 | keep_num: 20 |
| 405 | concurrent: false |
| 406 | scm: |
| 407 | type: git |
| 408 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 409 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 410 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 411 | script: cvp-perf.groovy |
| 412 | param: |
| 413 | DEBUG_MODE: |
| 414 | type: boolean |
| 415 | default: 'false' |
| 416 | description: Enable if you need to keep container after the test and debug |
| 417 | RALLY_SCENARIO_FILE: |
| 418 | type: string |
| 419 | default: "cvp-configuration/rally/rally_scenarios.json" |
| 420 | description: Path to scenario file in container |
| 421 | TEST_IMAGE: |
| 422 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 423 | default: "${_param:docker_image_cvp_xrally}" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 424 | description: Docker image to use for running Rally/Tempest |
| 425 | SALT_MASTER_URL: |
| 426 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 427 | default: "http://${_param:salt_master_host}:6969" |
| 428 | 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] | 429 | SALT_MASTER_CREDENTIALS: |
| 430 | type: string |
| 431 | default: "salt" |
| 432 | description: Credentials to the Salt API |
| 433 | TARGET_NODE: |
| 434 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 435 | default: "" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 436 | description: Node where docker container with Rally will be run |
| 437 | TOOLS_REPO: |
| 438 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 439 | default: "https://github.com/Mirantis/cvp-configuration -b release/${_param:mcp_version}" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 440 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 441 | PROXY: |
| 442 | type: string |
| 443 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 444 | 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] | 445 | cvp-stacklight: |
| 446 | type: workflow-scm |
| 447 | name: cvp-stacklight |
| 448 | display_name: "CVP - Stacklight tests" |
| 449 | discard: |
| 450 | build: |
| 451 | keep_num: 20 |
| 452 | artifact: |
| 453 | keep_num: 20 |
| 454 | concurrent: false |
| 455 | scm: |
| 456 | type: git |
| 457 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 458 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 459 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 460 | script: cvp-runner.groovy |
Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 461 | param: |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 462 | IMAGE: |
| 463 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 464 | default: "${_param:docker_image_cvp_sanity_checks}" |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 465 | 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] | 466 | SALT_MASTER_URL: |
| 467 | type: string |
| 468 | default: "${_param:jenkins_salt_api_url}" |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 469 | 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] | 470 | SALT_MASTER_CREDENTIALS: |
| 471 | type: string |
| 472 | default: "salt" |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 473 | EXTRA_PARAMS: |
| 474 | type: text |
| 475 | default: | |
| 476 | envs: |
| 477 | - SL_AUTOCONF=True |
| 478 | description: YAML context with additional parameters |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 479 | cvp-spt: |
| 480 | type: workflow-scm |
| 481 | name: cvp-spt |
| 482 | display_name: "CVP - Simplified Performance Tests (SPT)" |
| 483 | discard: |
| 484 | build: |
| 485 | keep_num: 20 |
| 486 | artifact: |
| 487 | keep_num: 20 |
| 488 | concurrent: false |
| 489 | scm: |
| 490 | type: git |
| 491 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 492 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 493 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 494 | script: cvp-runner.groovy |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 495 | param: |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 496 | IMAGE: |
| 497 | type: string |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 498 | default: "${_param:docker_image_cvp_sanity_checks}" |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 499 | 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] | 500 | SALT_MASTER_URL: |
| 501 | type: string |
| 502 | default: "${_param:jenkins_salt_api_url}" |
Oleksii Zhurba | d415963 | 2019-07-17 12:58:35 -0500 | [diff] [blame] | 503 | 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] | 504 | SALT_MASTER_CREDENTIALS: |
| 505 | type: string |
| 506 | default: "salt" |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 507 | EXTRA_PARAMS: |
| 508 | type: text |
| 509 | default: | |
| 510 | envs: |
| 511 | - tests_set='' |
Hanna Arhipova | c200cd9 | 2019-07-16 18:04:04 +0300 | [diff] [blame] | 512 | - image_name=Ubuntu |
Oleksii Zhurba | 066242d | 2019-04-16 17:32:17 -0500 | [diff] [blame] | 513 | - networks=10.101.0.0/24 |
| 514 | 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] | 515 | cvp-shaker: |
| 516 | type: workflow-scm |
| 517 | name: cvp-shaker |
| 518 | display_name: "CVP - Shaker network tests" |
| 519 | discard: |
| 520 | build: |
| 521 | keep_num: 20 |
| 522 | artifact: |
| 523 | keep_num: 20 |
| 524 | concurrent: false |
| 525 | scm: |
| 526 | type: git |
| 527 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 528 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 529 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleg Basov | 0a090cb | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 530 | script: cvp-shaker.groovy |
| 531 | param: |
| 532 | IMAGE: |
| 533 | type: string |
| 534 | default: "${_param:docker_image_cvp_shaker_checks}" |
| 535 | description: Docker image to use for running Shaker. |
| 536 | SALT_MASTER_URL: |
| 537 | type: string |
| 538 | default: "${_param:jenkins_salt_api_url}" |
| 539 | description: Full Salt API address [e.g. https://10.10.10.2:6969]. |
| 540 | SALT_MASTER_CREDENTIALS: |
| 541 | type: string |
| 542 | default: "salt" |
| 543 | description: Credentials to the Salt API. |
| 544 | SHAKER_PARAMS: |
| 545 | type: text |
| 546 | default: | |
| 547 | --- |
| 548 | SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999' |
| 549 | SHAKER_SCENARIOS: 'scenarios/essential' |
| 550 | SKIP_LIST: '' |
| 551 | image_builder: |
| 552 | # - SHAKER_FLAVOR_DISK=4 |
| 553 | # - SHAKER_FLAVOR_RAM=512 |
| 554 | # - SHAKER_FLAVOR_VCPUS=1 |
| 555 | # - SHAKER_IMAGE_BUILDER_MODE='dib' |
| 556 | shaker: |
| 557 | # - SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 558 | # - SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 559 | # - SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 560 | # - SCENARIO_COMPUTE_NODES=2 |
| 561 | # - SHAKER_EXTERNAL_NET='public' |
| 562 | description: | |
| 563 | YAML context with parameters for running Shaker tests, where |
| 564 | "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible |
| 565 | from tenant's VM network (usually equals to public address of cicd node) |
| 566 | "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image |
| 567 | (can be directory or specific file). Main categories are |
| 568 | scenarios/essential/l2 |
| 569 | scenarios/essential/l3 |
| 570 | scenarios/additional/cross_az |
| 571 | scenarios/additional/external |
| 572 | scenarios/additional/qos |
| 573 | "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/ |
| 574 | of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3" |
| 575 | "image_builder" - shaker-image-builder env variables |
| 576 | SHAKER_FLAVOR_DISK=4 |
| 577 | SHAKER_FLAVOR_RAM=512 |
| 578 | SHAKER_FLAVOR_VCPUS=1 |
| 579 | SHAKER_IMAGE_BUILDER_MODE='dib' |
| 580 | "shaker" - main shaker runner env variables |
| 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 | For the more detailed description of the last two categories please refer to the shaker documentation |
| 587 | https://pyshaker.readthedocs.io/en/latest/tools.html |