Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 1 | parameters: |
Sam Stoelinga | 1539f3c | 2017-09-25 17:05:40 -0700 | [diff] [blame] | 2 | _param: |
| 3 | jenkins_salt_api_url: "http://${_param:salt_master_host}:6969" |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 4 | jenkins: |
| 5 | client: |
| 6 | view: |
| 7 | Validation: |
| 8 | enabled: true |
| 9 | type: ListView |
| 10 | include_regex: "validate.*" |
| 11 | job: |
| 12 | validate_openstack: |
| 13 | type: workflow-scm |
| 14 | name: validate-openstack |
| 15 | display_name: "Validate - Openstack" |
| 16 | discard: |
| 17 | build: |
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 | artifact: |
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 | concurrent: false |
| 22 | scm: |
| 23 | type: git |
| 24 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 25 | branch: "${_param:jenkins_pipelines_branch}" |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 26 | credentials: "gerrit" |
| 27 | script: validate-cloud.groovy |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 28 | param: |
| 29 | SALT_MASTER_URL: |
| 30 | type: string |
Sam Stoelinga | 1539f3c | 2017-09-25 17:05:40 -0700 | [diff] [blame] | 31 | default: "${_param:jenkins_salt_api_url}" |
| 32 | 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] | 33 | SALT_MASTER_CREDENTIALS: |
| 34 | type: string |
| 35 | default: "salt" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 36 | description: Credentials to the Salt API |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 37 | TEST_IMAGE: |
| 38 | type: string |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame] | 39 | default: "${_param:mcp_docker_registry}/mirantis/oss/qa-tools" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 40 | description: Docker image to setup testing environment |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 41 | TARGET_NODE: |
| 42 | type: string |
| 43 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 44 | description: Target node where this job will be executed from |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 45 | RUN_RALLY_TESTS: |
| 46 | type: boolean |
| 47 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 48 | description: If chosen then Rally tests will be executed |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 49 | RUN_TEMPEST_TESTS: |
| 50 | type: boolean |
| 51 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 52 | description: If chosen then Tempest tests will be executed |
Dmitrii Kabanov | 58bd85e | 2017-08-14 16:37:39 -0700 | [diff] [blame] | 53 | RUN_K8S_TESTS: |
| 54 | type: boolean |
| 55 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 56 | description: If chosen then K8S tests will be executed |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 57 | TEMPEST_TEST_SET: |
| 58 | type: choice |
| 59 | choices: |
| 60 | - smoke |
| 61 | - full |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 62 | description: Set of Tempest tests to run |
Dmitrii Kabanov | 263cd8a | 2017-11-10 00:42:22 -0800 | [diff] [blame] | 63 | TEMPEST_CONFIG_REPO: |
| 64 | type: string |
| 65 | default: "" |
| 66 | description: Git repository with configuration files for Tempest |
| 67 | TEMPEST_CONFIG_BRANCH: |
| 68 | type: string |
| 69 | default: "" |
| 70 | description: Git branch which will be used during the checkout |
| 71 | TEMPEST_REPO: |
| 72 | type: string |
| 73 | default: "" |
| 74 | description: Git repository with Tempest |
| 75 | TEMPEST_VERSION: |
| 76 | type: string |
| 77 | default: "" |
| 78 | description: Version of Tempest (tag, branch or commit) |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 79 | TEST_K8S_NODE: |
| 80 | type: string |
| 81 | default: "" |
| 82 | description: Kubernetes node to run tests from |
Dmitrii Kabanov | 58bd85e | 2017-08-14 16:37:39 -0700 | [diff] [blame] | 83 | TEST_K8S_API_SERVER: |
| 84 | type: string |
| 85 | default: "http://127.0.0.1:8080" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 86 | description: API server parameter for K8S tests |
Dmitrii Kabanov | 58bd85e | 2017-08-14 16:37:39 -0700 | [diff] [blame] | 87 | TEST_K8S_CONFORMANCE_IMAGE: |
| 88 | type: string |
vrovachev | 7e70980 | 2017-09-15 20:04:26 +0400 | [diff] [blame] | 89 | 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] | 90 | description: Docker image to run K8S tests |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 91 | RUN_SPT_TESTS: |
| 92 | type: boolean |
| 93 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 94 | description: If chosen then SPT tests will be executed |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 95 | SPT_SSH_USER: |
| 96 | type: string |
| 97 | default: "root" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 98 | description: Username that is used to ssh between cluster nodes |
Dmitrii Kabanov | f984ed4 | 2017-09-29 10:32:35 -0700 | [diff] [blame] | 99 | FLOATING_NETWORK: |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 100 | type: string |
| 101 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 102 | description: External(floating) network name (used in both SPT and Rally) |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 103 | SPT_IMAGE: |
| 104 | type: string |
| 105 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 106 | 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] | 107 | SPT_IMAGE_USER: |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 108 | type: string |
| 109 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 110 | description: Username that is used to ssh to SPT_IMAGE |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 111 | SPT_FLAVOR: |
| 112 | type: string |
| 113 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 114 | 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] | 115 | RALLY_IMAGE: |
| 116 | type: string |
| 117 | default: "cirros" |
| 118 | RALLY_FLAVOR: |
| 119 | type: string |
| 120 | default: "m1.tiny" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 121 | description: Flavor name for Rally scenarios |
Dmitrii Kabanov | 263cd8a | 2017-11-10 00:42:22 -0800 | [diff] [blame] | 122 | RALLY_CONFIG_REPO: |
| 123 | type: string |
| 124 | default: "" |
| 125 | description: Git repository with configuration files for Rally |
| 126 | RALLY_CONFIG_BRANCH: |
| 127 | type: string |
| 128 | default: "" |
| 129 | description: Git branch which will be used during the checkout |
Sergey Galkin | 4263930 | 2017-12-01 16:27:30 +0400 | [diff] [blame] | 130 | RALLY_SCENARIOS: |
| 131 | type: string |
| 132 | default: "" |
| 133 | description: Rally scenarios directory or file with scenarios |
Oleg Basov | 894f8c1 | 2018-09-04 21:44:12 +0200 | [diff] [blame] | 134 | RALLY_SL_SCENARIOS: |
| 135 | type: string |
| 136 | default: "" |
| 137 | description: Stacklight Rally scenarios directory or file with scenarios |
Sergey Galkin | 4263930 | 2017-12-01 16:27:30 +0400 | [diff] [blame] | 138 | RALLY_TASK_ARGS_FILE: |
| 139 | type: string |
| 140 | default: "" |
| 141 | description: Rally scenarios arguments file |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 142 | AVAILABILITY_ZONE: |
| 143 | type: string |
| 144 | default: "nova" |
| 145 | description: Name of availability zone |
| 146 | GENERATE_REPORT: |
| 147 | type: boolean |
| 148 | default: 'true' |
| 149 | description: If chosen then at the end of the test run HTML report will be generated |
| 150 | ACCUMULATE_RESULTS: |
| 151 | type: boolean |
| 152 | default: 'true' |
| 153 | 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] | 154 | RALLY_PLUGINS_REPO: |
| 155 | type: string |
| 156 | default: "" |
| 157 | description: Git repository with Rally plugins |
| 158 | RALLY_PLUGINS_BRANCH: |
| 159 | type: string |
| 160 | default: "" |
| 161 | description: Git branch which will be used during the checkout |
| 162 | K8S_RALLY: |
| 163 | type: boolean |
| 164 | default: 'false' |
| 165 | description: If chosen then K8S Rally test will be executed |
Oleg Basov | 894f8c1 | 2018-09-04 21:44:12 +0200 | [diff] [blame] | 166 | STACKLIGHT_RALLY: |
| 167 | type: boolean |
| 168 | default: 'false' |
| 169 | description: If chosen then Stacklight Rally test will be executed |
mkraynov | dc3b3ee | 2018-07-25 15:58:29 +0400 | [diff] [blame] | 170 | JOB_TIMEOUT: |
| 171 | type: string |
| 172 | default: "3" |
| 173 | description: Job timeout in hours |
| 174 | REPORT_DIR: |
| 175 | type: string |
| 176 | default: "" |
| 177 | description: Path for reports outside docker image |
mkraynov | 3fcda25 | 2018-08-07 18:35:18 +0400 | [diff] [blame] | 178 | SKIP_LIST: |
| 179 | type: string |
| 180 | description: "Skip list for Rally test" |
| 181 | default: "" |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 182 | cvp-sanity: |
| 183 | type: workflow-scm |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 184 | name: cvp-sanity |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 185 | display_name: "CVP - Sanity checks" |
| 186 | discard: |
| 187 | build: |
| 188 | keep_num: 20 |
| 189 | artifact: |
| 190 | keep_num: 20 |
| 191 | concurrent: false |
| 192 | scm: |
| 193 | type: git |
| 194 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 195 | branch: "${_param:jenkins_pipelines_branch}" |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 196 | credentials: "gerrit" |
Oleksii Zhurba | c0af3f0 | 2018-06-14 13:47:54 -0500 | [diff] [blame] | 197 | script: cvp-runner.groovy |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 198 | param: |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 199 | IMAGE: |
| 200 | type: string |
azvyagintsev | d80a235 | 2018-11-09 15:01:20 +0200 | [diff] [blame] | 201 | default: "${_param:mcp_docker_registry}/mirantis/cvp/cvp-sanity-checks:${_param:mcp_version}" |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 202 | 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] | 203 | SALT_MASTER_URL: |
| 204 | type: string |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 205 | default: "${_param:jenkins_salt_api_url}" |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 206 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 207 | SALT_MASTER_CREDENTIALS: |
| 208 | type: string |
| 209 | default: "salt" |
Hanna Arhipova | 718fbf6 | 2019-01-24 18:50:02 +0200 | [diff] [blame] | 210 | EXTRA_PARAMS: |
| 211 | type: text |
| 212 | default: "---" |
| 213 | description: YAML context with additional parameters |
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 | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 249 | default: "xrally/xrally-openstack:0.10.1" |
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 |
| 276 | default: "https://github.com/Mirantis/cvp-configuration" |
| 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 | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 309 | default: "xrally/xrally-openstack:0.10.1" |
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 | 7bb2276 | 2018-03-21 15:52:38 -0500 | [diff] [blame] | 345 | default: "https://github.com/Mirantis/cvp-configuration" |
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 | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 347 | cvp-perf: |
| 348 | type: workflow-scm |
| 349 | name: cvp-perf |
| 350 | display_name: "CVP - Performance tests" |
| 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" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 360 | branch: "${_param:jenkins_pipelines_branch}" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 361 | credentials: "gerrit" |
| 362 | script: cvp-perf.groovy |
| 363 | param: |
| 364 | DEBUG_MODE: |
| 365 | type: boolean |
| 366 | default: 'false' |
| 367 | description: Enable if you need to keep container after the test and debug |
| 368 | RALLY_SCENARIO_FILE: |
| 369 | type: string |
| 370 | default: "cvp-configuration/rally/rally_scenarios.json" |
| 371 | description: Path to scenario file in container |
| 372 | TEST_IMAGE: |
| 373 | type: string |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 374 | default: "xrally/xrally-openstack:0.10.1" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 375 | description: Docker image to use for running Rally/Tempest |
| 376 | SALT_MASTER_URL: |
| 377 | type: string |
| 378 | default: "${_param:jenkins_salt_api_url}" |
| 379 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 380 | SALT_MASTER_CREDENTIALS: |
| 381 | type: string |
| 382 | default: "salt" |
| 383 | description: Credentials to the Salt API |
| 384 | TARGET_NODE: |
| 385 | type: string |
mkraynov | 16a69cb | 2018-08-01 15:39:16 +0400 | [diff] [blame] | 386 | default: "" |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 387 | description: Node where docker container with Rally will be run |
| 388 | TOOLS_REPO: |
| 389 | type: string |
| 390 | default: "https://github.com/Mirantis/cvp-configuration" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 391 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame] | 392 | PROXY: |
| 393 | type: string |
| 394 | default: "" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 395 | 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] | 396 | cvp-stacklight: |
| 397 | type: workflow-scm |
| 398 | name: cvp-stacklight |
| 399 | display_name: "CVP - Stacklight 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" |
| 409 | branch: "${_param:jenkins_pipelines_branch}" |
| 410 | credentials: "gerrit" |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 411 | script: cvp-stacklight.groovy |
Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 412 | param: |
| 413 | SALT_MASTER_URL: |
| 414 | type: string |
| 415 | default: "${_param:jenkins_salt_api_url}" |
| 416 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 417 | SALT_MASTER_CREDENTIALS: |
| 418 | type: string |
| 419 | default: "salt" |
| 420 | TESTS_REPO: |
| 421 | type: string |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 422 | default: "https://github.com/Mirantis/stacklight-pytest -b cvp_stacklight" |
Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 423 | description: Url for cvp-stacklight-tests |
| 424 | TESTS_SETTINGS: |
| 425 | type: string |
| 426 | default: "SL_AUTOCONF=True" |
| 427 | description: "Additional environment variables to export" |
| 428 | TESTS_SET: |
| 429 | type: string |
| 430 | default: "stacklight-pytest/stacklight_tests/tests/prometheus/" |
Oleksii Zhurba | 462124e | 2018-08-14 10:20:26 -0500 | [diff] [blame] | 431 | description: "Leave as is for full run or add a filename, e.g. _default_path_/test_dashboards.py" |
Oleksii Zhurba | 68ad504 | 2018-02-16 20:13:07 -0600 | [diff] [blame] | 432 | PROXY: |
| 433 | type: string |
| 434 | default: "" |
Oleksii Zhurba | 0edf9e5 | 2018-10-24 19:00:41 -0500 | [diff] [blame] | 435 | description: "Proxy address to use to access the Internet." |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 436 | cvp-spt: |
| 437 | type: workflow-scm |
| 438 | name: cvp-spt |
| 439 | display_name: "CVP - Simplified Performance Tests (SPT)" |
| 440 | discard: |
| 441 | build: |
| 442 | keep_num: 20 |
| 443 | artifact: |
| 444 | keep_num: 20 |
| 445 | concurrent: false |
| 446 | scm: |
| 447 | type: git |
| 448 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 449 | branch: "${_param:jenkins_pipelines_branch}" |
| 450 | credentials: "gerrit" |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 451 | script: cvp-runner.groovy |
Oleksii Zhurba | e729cf7 | 2018-06-13 11:29:46 -0500 | [diff] [blame] | 452 | param: |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 453 | IMAGE: |
| 454 | type: string |
Hanna Arhipova | 718fbf6 | 2019-01-24 18:50:02 +0200 | [diff] [blame] | 455 | default: "${_param:mcp_docker_registry}/mirantis/cvp/cvp-sanity-checks:${_param:mcp_version}" |
Oleksii Zhurba | 26848a6 | 2018-09-03 21:29:11 -0500 | [diff] [blame] | 456 | 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] | 457 | SALT_MASTER_URL: |
| 458 | type: string |
| 459 | default: "${_param:jenkins_salt_api_url}" |
| 460 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 461 | SALT_MASTER_CREDENTIALS: |
| 462 | type: string |
| 463 | default: "salt" |
Hanna Arhipova | 718fbf6 | 2019-01-24 18:50:02 +0200 | [diff] [blame] | 464 | EXTRA_PARAMS: |
| 465 | type: text |
| 466 | default: "---" |
| 467 | description: YAML context with additional parameters |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 468 | cvp-shaker: |
| 469 | type: workflow-scm |
| 470 | name: cvp-shaker |
| 471 | display_name: "CVP - Shaker network tests" |
| 472 | discard: |
| 473 | build: |
| 474 | keep_num: 20 |
| 475 | artifact: |
| 476 | keep_num: 20 |
| 477 | concurrent: false |
| 478 | scm: |
| 479 | type: git |
| 480 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 481 | branch: "${_param:jenkins_pipelines_branch}" |
| 482 | credentials: "gerrit" |
| 483 | script: cvp-shaker.groovy |
| 484 | param: |
| 485 | IMAGE: |
| 486 | type: string |
| 487 | default: "${_param:mcp_docker_registry}/mirantis/cvp/cvp-shaker:${_param:mcp_version}" |
| 488 | description: Docker image to use for running Shaker. |
| 489 | SALT_MASTER_URL: |
| 490 | type: string |
| 491 | default: "${_param:jenkins_salt_api_url}" |
| 492 | description: Full Salt API address [e.g. https://10.10.10.2:6969]. |
| 493 | SALT_MASTER_CREDENTIALS: |
| 494 | type: string |
| 495 | default: "salt" |
| 496 | description: Credentials to the Salt API. |
| 497 | SHAKER_PARAMS: |
| 498 | type: text |
| 499 | default: | |
| 500 | --- |
| 501 | SHAKER_SERVER_ENDPOINT: '10.13.0.15:5999' |
| 502 | SHAKER_SCENARIOS: 'scenarios/essential' |
| 503 | SKIP_LIST: '' |
Oleg Basov | c3602a7 | 2019-02-15 15:49:09 +0100 | [diff] [blame^] | 504 | MATRIX: '' |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 505 | image_builder: |
| 506 | # - SHAKER_FLAVOR_DISK=4 |
| 507 | # - SHAKER_FLAVOR_RAM=512 |
| 508 | # - SHAKER_FLAVOR_VCPUS=1 |
| 509 | # - SHAKER_IMAGE_BUILDER_MODE='dib' |
| 510 | shaker: |
| 511 | # - SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 512 | # - SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 513 | # - SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 514 | # - SCENARIO_COMPUTE_NODES=2 |
| 515 | # - SHAKER_EXTERNAL_NET='public' |
| 516 | description: | |
| 517 | YAML context with parameters for running Shaker tests, where |
| 518 | "SHAKER_SERVER_ENDPOINT" - Address for Shaker server connections (host:port). Should be accessible |
| 519 | from tenant's VM network (usually equals to public address of cicd node) |
| 520 | "SHAKER_SCENARIOS" - Path to shaker scenarios in the cvp-shaker docker image |
| 521 | (can be directory or specific file). Main categories are |
| 522 | scenarios/essential/l2 |
| 523 | scenarios/essential/l3 |
| 524 | scenarios/additional/cross_az |
| 525 | scenarios/additional/external |
| 526 | scenarios/additional/qos |
Oleg Basov | c3602a7 | 2019-02-15 15:49:09 +0100 | [diff] [blame^] | 527 | "MATRIX" - Set the matrix of extra parameters for the scenario. The value is specified in JSON format. |
| 528 | To override a scenario duration one may provide "{time: 10}", or to override list of hosts: |
| 529 | "{host:[ping.online.net, iperf.eenet.ee]}". When several parameters are overridden all combinations are |
| 530 | tested. It is a required field for some of external-category scenarios when the host name with iperf3 |
| 531 | server needs to be provided as a command-line parameter, e.g. "{host: 10.13.100.4}". |
Oleg Basov | e8143de | 2019-01-29 01:36:06 +0100 | [diff] [blame] | 532 | "SKIP_LIST" - Comma-separated list of Shaker scenarios to skip, directories or files inside scenarios/ |
| 533 | of cvp-shaker, e.g. "dense_l2.yaml,full_l2.yaml,l3" |
| 534 | "image_builder" - shaker-image-builder env variables |
| 535 | SHAKER_FLAVOR_DISK=4 |
| 536 | SHAKER_FLAVOR_RAM=512 |
| 537 | SHAKER_FLAVOR_VCPUS=1 |
| 538 | SHAKER_IMAGE_BUILDER_MODE='dib' |
| 539 | "shaker" - main shaker runner env variables |
| 540 | SHAKER_AGENT_JOIN_TIMEOUT=300 |
| 541 | SHAKER_AGENT_LOSS_TIMEOUT=120 |
| 542 | SCENARIO_AVAILABILITY_ZONE='nova,internal' |
| 543 | SCENARIO_COMPUTE_NODES=2 |
| 544 | SHAKER_EXTERNAL_NET='public' |
| 545 | For the more detailed description of the last two categories please refer to the shaker documentation |
| 546 | https://pyshaker.readthedocs.io/en/latest/tools.html |