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 |
| 39 | default: "docker-prod-local.artifactory.mirantis.com/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 |
| 134 | RALLY_TASK_ARGS_FILE: |
| 135 | type: string |
| 136 | default: "" |
| 137 | description: Rally scenarios arguments file |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 138 | AVAILABILITY_ZONE: |
| 139 | type: string |
| 140 | default: "nova" |
| 141 | description: Name of availability zone |
| 142 | GENERATE_REPORT: |
| 143 | type: boolean |
| 144 | default: 'true' |
| 145 | description: If chosen then at the end of the test run HTML report will be generated |
| 146 | ACCUMULATE_RESULTS: |
| 147 | type: boolean |
| 148 | default: 'true' |
| 149 | description: If chosen then previous build results will be used in the current build |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 150 | cvp-sanity: |
| 151 | type: workflow-scm |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 152 | name: cvp-sanity |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 153 | display_name: "CVP - Sanity checks" |
| 154 | discard: |
| 155 | build: |
| 156 | keep_num: 20 |
| 157 | artifact: |
| 158 | keep_num: 20 |
| 159 | concurrent: false |
| 160 | scm: |
| 161 | type: git |
| 162 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 163 | branch: "${_param:jenkins_pipelines_branch}" |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 164 | credentials: "gerrit" |
| 165 | script: cvp-sanity.groovy |
| 166 | param: |
| 167 | SALT_MASTER_URL: |
| 168 | type: string |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 169 | default: "${_param:jenkins_salt_api_url}" |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 170 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 171 | SALT_MASTER_CREDENTIALS: |
| 172 | type: string |
| 173 | default: "salt" |
| 174 | SANITY_TESTS_REPO: |
| 175 | type: string |
| 176 | default: "https://github.com/Mirantis/cvp-sanity-checks" |
| 177 | description: Url for cvp-sanity-checks |
Oleksii Zhurba | 0707605 | 2017-11-08 12:59:25 -0600 | [diff] [blame] | 178 | SANITY_TESTS_SETTINGS: |
| 179 | type: string |
| 180 | default: "" |
| 181 | description: e.g. skipped_nodes=nal01.local.com,ntw01.local.com |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame] | 182 | SANITY_TESTS_SET: |
| 183 | type: string |
| 184 | default: "" |
| 185 | description: Leave empty for full run or choose a file, e.g. test_mtu.py |
| 186 | PROXY: |
| 187 | type: string |
| 188 | default: "" |
| 189 | description: Proxy address to clone repo and install python requirements |
Oleksii Zhurba | 852a1fa | 2017-12-12 16:27:18 -0600 | [diff] [blame] | 190 | cvp-func: |
| 191 | type: workflow-scm |
| 192 | name: cvp-func |
| 193 | display_name: "CVP - Functional tests" |
| 194 | discard: |
| 195 | build: |
| 196 | keep_num: 20 |
| 197 | artifact: |
| 198 | keep_num: 20 |
| 199 | concurrent: false |
| 200 | scm: |
| 201 | type: git |
| 202 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 203 | credentials: "gerrit" |
| 204 | script: cvp-func.groovy |
| 205 | param: |
| 206 | DEBUG_MODE: |
| 207 | type: boolean |
| 208 | default: 'false' |
| 209 | description: Enable if you need to keep container after the test and debug |
| 210 | SKIP_LIST_PATH: |
| 211 | type: string |
| 212 | default: "cvp-configuration/tempest/skip-list.yaml" |
| 213 | description: Path to skip list in container |
| 214 | SALT_MASTER_URL: |
| 215 | type: string |
| 216 | default: "${_param:jenkins_salt_api_url}" |
| 217 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 218 | SALT_MASTER_CREDENTIALS: |
| 219 | type: string |
| 220 | default: "salt" |
| 221 | description: Credentials to the Salt API |
| 222 | TEST_IMAGE: |
| 223 | type: string |
| 224 | default: "xrally/xrally-openstack:0.9.1" |
| 225 | description: Docker image to use for running Rally/Tempest |
| 226 | TARGET_NODE: |
| 227 | type: string |
| 228 | default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}" |
| 229 | description: Node where container with Tempest will be run |
| 230 | PROXY: |
| 231 | type: string |
| 232 | default: "" |
| 233 | description: Proxy address to clone repo and install python requirements |
| 234 | TEMPEST_TEST_PATTERN: |
| 235 | type: string |
| 236 | default: "set=smoke" |
| 237 | description: Use set=smoke (or identity,full...] or just test name |
| 238 | TEMPEST_ENDPOINT_TYPE: |
| 239 | type: choice |
| 240 | choices: |
| 241 | - internalURL |
| 242 | - adminURL |
| 243 | - publicURL |
| 244 | description: Openstack endpoint type to use during test run |
| 245 | TEMPEST_REPO: |
| 246 | type: string |
| 247 | default: "https://github.com/openstack/tempest" |
| 248 | description: URL to Tempest repo (local or remote) or path to tempest folder in container |
| 249 | TOOLS_REPO: |
| 250 | type: string |
| 251 | default: "https://github.com/Mirantis/cvp-configuration" |
| 252 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | f59df9f | 2017-12-07 14:38:49 -0600 | [diff] [blame] | 253 | cvp-ha: |
| 254 | type: workflow-scm |
| 255 | name: cvp-ha |
| 256 | display_name: "CVP - HA tests" |
| 257 | discard: |
| 258 | build: |
| 259 | keep_num: 20 |
| 260 | artifact: |
| 261 | keep_num: 20 |
| 262 | concurrent: false |
| 263 | scm: |
| 264 | type: git |
| 265 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 266 | credentials: "gerrit" |
| 267 | script: cvp-ha.groovy |
| 268 | param: |
| 269 | SALT_MASTER_URL: |
| 270 | type: string |
| 271 | default: "${_param:jenkins_salt_api_url}" |
| 272 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 273 | SALT_MASTER_CREDENTIALS: |
| 274 | type: string |
| 275 | default: "salt" |
| 276 | description: Credentials to the Salt API |
| 277 | TEMPEST_TARGET_NODE: |
| 278 | type: string |
| 279 | default: "" |
| 280 | description: Node where container with tempest will be run |
| 281 | TEST_IMAGE: |
| 282 | type: string |
| 283 | default: "rallyforge/rally" |
| 284 | description: Docker image to use for running Rally/Tempest |
| 285 | TARGET_NODES: |
| 286 | type: string |
| 287 | default: "ctl*" |
| 288 | description: Nodes to test |
| 289 | DEBUG_MODE: |
| 290 | type: boolean |
| 291 | default: 'false' |
| 292 | description: If you need to debug (keep container after test), please enabled this |
| 293 | RETRY_CHECK_STATUS: |
| 294 | type: string |
| 295 | default: "200" |
| 296 | description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value |
| 297 | SKIP_LIST_PATH: |
| 298 | type: string |
| 299 | default: "/home/rally/cvp-configuration/tempest/skip-list.yaml" |
| 300 | description: path to skip-list file inside container |
| 301 | PROXY: |
| 302 | type: string |
| 303 | default: "" |
| 304 | description: Proxy address to clone repo and install python requirements |
| 305 | TEMPEST_TEST_PATTERN: |
| 306 | type: string |
| 307 | default: "set=smoke" |
| 308 | description: Use set=smoke (or identity,full...] or just test name |
| 309 | MANUAL_CONFIRMATION: |
| 310 | type: boolean |
| 311 | default: 'false' |
| 312 | description: Ask for confirmation before doing something destructive (reboot/shutdown node) |
| 313 | TEMPEST_REPO: |
| 314 | type: string |
| 315 | default: "https://github.com/openstack/tempest" |
| 316 | description: Can be repo url (local or remote) or path to folder (inside container) with Tempest |
| 317 | TOOLS_REPO: |
| 318 | type: string |
| 319 | default: "${_param:gerrit_public_host}/cvp-configuration" |
| 320 | description: URL of repo where testing tools, scenarios, configs are located. |
Oleksii Zhurba | 535032c | 2017-12-12 16:31:57 -0600 | [diff] [blame^] | 321 | cvp-perf: |
| 322 | type: workflow-scm |
| 323 | name: cvp-perf |
| 324 | display_name: "CVP - Performance tests" |
| 325 | discard: |
| 326 | build: |
| 327 | keep_num: 20 |
| 328 | artifact: |
| 329 | keep_num: 20 |
| 330 | concurrent: false |
| 331 | scm: |
| 332 | type: git |
| 333 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 334 | credentials: "gerrit" |
| 335 | script: cvp-perf.groovy |
| 336 | param: |
| 337 | DEBUG_MODE: |
| 338 | type: boolean |
| 339 | default: 'false' |
| 340 | description: Enable if you need to keep container after the test and debug |
| 341 | RALLY_SCENARIO_FILE: |
| 342 | type: string |
| 343 | default: "cvp-configuration/rally/rally_scenarios.json" |
| 344 | description: Path to scenario file in container |
| 345 | TEST_IMAGE: |
| 346 | type: string |
| 347 | default: "xrally/xrally-openstack:0.9.1" |
| 348 | description: Docker image to use for running Rally/Tempest |
| 349 | SALT_MASTER_URL: |
| 350 | type: string |
| 351 | default: "${_param:jenkins_salt_api_url}" |
| 352 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 353 | SALT_MASTER_CREDENTIALS: |
| 354 | type: string |
| 355 | default: "salt" |
| 356 | description: Credentials to the Salt API |
| 357 | TARGET_NODE: |
| 358 | type: string |
| 359 | default: "${_param:cicd_control_node03_hostname}.${_param:cluster_domain}" |
| 360 | description: Node where docker container with Rally will be run |
| 361 | TOOLS_REPO: |
| 362 | type: string |
| 363 | default: "https://github.com/Mirantis/cvp-configuration" |
| 364 | PROXY: |
| 365 | type: string |
| 366 | default: "" |