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