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