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