Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 2 | _param: |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame] | 3 | mcp_docker_registry: 'docker-prod-local.artifactory.mirantis.com' |
Tomáš Kukrál | e15675c | 2017-08-03 10:54:00 +0200 | [diff] [blame] | 4 | jenkins_deploy_jobs: [] |
Sergey Otpuschennikov | 235fc47 | 2018-04-10 20:19:35 +0400 | [diff] [blame] | 5 | heat_stack_zone_job_param: |
| 6 | type: string |
| 7 | default: "mcp-mk" |
| 8 | openstack_api_projects_job_param: |
| 9 | type: string |
| 10 | default: "mcp-mk" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 11 | jenkins: |
| 12 | client: |
| 13 | job_template: |
Tomáš Kukrál | e15675c | 2017-08-03 10:54:00 +0200 | [diff] [blame] | 14 | deploy_template: |
| 15 | name: deploy-{{stack_type}}-{{stack_name}} |
| 16 | jobs: ${_param:jenkins_deploy_jobs} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 17 | template: |
| 18 | type: workflow-scm |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 19 | discard: |
| 20 | build: |
Jakub Josef | 1a82896 | 2018-01-23 12:33:34 +0100 | [diff] [blame] | 21 | keep_num: 100 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 22 | concurrent: true |
Tomáš Kukrál | e15675c | 2017-08-03 10:54:00 +0200 | [diff] [blame] | 23 | display_name: "Deploy - {{stack_name}} {{stack_type}}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 24 | scm: |
| 25 | type: git |
| 26 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 27 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 28 | credentials: "gerrit" |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 29 | script: cloud-deploy-pipeline.groovy |
Tomáš Kukrál | 903a7f6 | 2017-04-13 13:21:30 +0200 | [diff] [blame] | 30 | trigger: |
| 31 | timer: |
Tomáš Kukrál | e15675c | 2017-08-03 10:54:00 +0200 | [diff] [blame] | 32 | spec: "{{job_timer}}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 33 | param: |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 34 | # general parameters |
| 35 | ASK_ON_ERROR: |
| 36 | type: boolean |
| 37 | default: 'false' |
Oleg Grigorov | 7aee358 | 2017-10-31 16:02:19 +0200 | [diff] [blame] | 38 | SLAVE_NODE: |
| 39 | type: string |
| 40 | default: 'python' |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 41 | |
| 42 | # deployments |
| 43 | STACK_NAME: |
| 44 | type: string |
| 45 | description: Heat stack name. Will be generated if missing. |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 46 | STACK_TYPE: |
| 47 | type: string |
| 48 | default: "{{stack_type}}" |
Jakub Josef | ca7e456 | 2017-05-24 11:40:35 +0200 | [diff] [blame] | 49 | STACK_INSTALL: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 50 | type: string |
Tomáš Kukrál | e15675c | 2017-08-03 10:54:00 +0200 | [diff] [blame] | 51 | default: "{{stack_install}}" |
Jakub Josef | ca7e456 | 2017-05-24 11:40:35 +0200 | [diff] [blame] | 52 | STACK_TEST: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 53 | type: string |
Tomáš Kukrál | e15675c | 2017-08-03 10:54:00 +0200 | [diff] [blame] | 54 | default: "{{stack_test}}" |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 55 | STACK_REUSE: |
| 56 | type: boolean |
| 57 | default: 'false' |
| 58 | STACK_DELETE: |
| 59 | type: boolean |
| 60 | default: 'true' |
| 61 | description: "Don't enable it if you need to use the lab after" |
| 62 | STACK_COMPUTE_COUNT: |
| 63 | type: string |
| 64 | default: '2' |
Vasyl Saienko | 664c319 | 2018-03-06 02:24:02 +0200 | [diff] [blame] | 65 | STACK_CLUSTER_NAME: |
| 66 | type: string |
| 67 | default: "" |
| 68 | description: "Cluster name to use from reclass" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 69 | |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 70 | STACK_TEMPLATE: |
| 71 | type: string |
Tomáš Kukrál | e15675c | 2017-08-03 10:54:00 +0200 | [diff] [blame] | 72 | default: "{{stack_name}}" |
Jakub Josef | 43f3443 | 2017-05-23 19:16:49 +0200 | [diff] [blame] | 73 | STACK_TEMPLATE_URL: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 74 | type: string |
Tomáš Kukrál | cf72c8d | 2017-04-19 21:50:05 +0200 | [diff] [blame] | 75 | default: "${_param:jenkins_gerrit_url}/mk/heat-templates" |
Jakub Josef | 43f3443 | 2017-05-23 19:16:49 +0200 | [diff] [blame] | 76 | STACK_TEMPLATE_CREDENTIALS: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 77 | type: string |
| 78 | default: "gerrit" |
Jakub Josef | 43f3443 | 2017-05-23 19:16:49 +0200 | [diff] [blame] | 79 | STACK_TEMPLATE_BRANCH: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 80 | type: string |
Tomáš Kukrál | 394cdbf | 2017-03-29 16:35:37 +0200 | [diff] [blame] | 81 | default: "master" |
Jakub Josef | ca7e456 | 2017-05-24 11:40:35 +0200 | [diff] [blame] | 82 | STACK_CLEANUP_JOB: |
| 83 | type: string |
Jakub Josef | 1c27123 | 2017-06-05 11:39:34 +0200 | [diff] [blame] | 84 | default: 'deploy-stack-cleanup' |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 85 | |
Mykyta Karpin | c54ab52 | 2017-11-30 12:48:29 +0100 | [diff] [blame] | 86 | STACK_RECLASS_ADDRESS: |
| 87 | type: string |
| 88 | default: "" |
ibumarskov | ff68f41 | 2017-09-11 13:20:15 +0400 | [diff] [blame] | 89 | STACK_RECLASS_BRANCH: |
| 90 | type: string |
| 91 | default: "" |
| 92 | |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 93 | # salt |
Oleksii Grudev | 92b1a5b | 2018-07-06 17:24:58 +0300 | [diff] [blame] | 94 | EXTRA_TARGET: |
| 95 | type: string |
| 96 | default: "" |
| 97 | description: "Salt extra target for edge clouds deployment" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 98 | SALT_MASTER_CREDENTIALS: |
| 99 | type: string |
| 100 | default: "salt-qa-credentials" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 101 | SALT_MASTER_URL: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 102 | type: string |
Filip Pytloun | aa45601 | 2017-03-24 12:49:25 +0100 | [diff] [blame] | 103 | default: "" |
Vasyl Saienko | bfe884f | 2017-07-27 14:50:23 +0300 | [diff] [blame] | 104 | SALT_OVERRIDES: |
Vasyl Saienko | 47f2347 | 2017-07-27 14:19:00 +0300 | [diff] [blame] | 105 | type: text |
| 106 | default: "" |
| 107 | description: "YAML with overrides for Salt deployment" |
Oleh Hryhorov | ca2b6ef | 2018-06-22 17:08:55 +0300 | [diff] [blame] | 108 | SALT_VERSION: |
| 109 | type: text |
Martin Polreich | bd30777 | 2018-04-18 10:02:06 +0200 | [diff] [blame] | 110 | default: "stable 2017.7" |
| 111 | description: "Version of Salt which is going to be installed i.e. 'stable 2016.3' or 'stable 2017.7' etc. Warning: This value doesn't override salt_version parameter set in the pillar." |
Mykyta Karpin | 0fc2a44 | 2017-12-22 16:50:24 +0200 | [diff] [blame] | 112 | BOOTSTRAP_EXTRA_REPO_PARAMS: |
| 113 | type: string |
| 114 | default: "" |
| 115 | description: "Defines a list of extra repos with parameters, format: repo 1, repo priority 1, repo pin 1; repo 2, repo priority 2, repo pin 2" |
Mykyta Karpin | 4659084 | 2017-10-03 11:34:02 +0300 | [diff] [blame] | 116 | FORMULA_PKG_REVISION: |
| 117 | type: string |
| 118 | default: "" |
| 119 | description: "Formulas revision to install on Salt Master bootstrap stage" |
Jiri Broulik | 52b7315 | 2017-12-19 15:37:50 +0100 | [diff] [blame] | 120 | STATIC_MGMT_NETWORK: |
| 121 | type: boolean |
| 122 | default: 'false' |
| 123 | description: "Check if model contains static IP address definitions for all nodes" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 124 | |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 125 | # aws api |
| 126 | AWS_STACK_REGION: |
| 127 | type: string |
Tomáš Kukrál | 1de34e3 | 2017-11-29 10:15:37 +0100 | [diff] [blame] | 128 | default: "eu-central-1" |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 129 | AWS_API_CREDENTIALS: |
| 130 | type: string |
| 131 | default: "aws-credentials" |
| 132 | AWS_SSH_KEY: |
| 133 | type: string |
| 134 | default: "jenkins-mk" |
| 135 | |
| 136 | # heat |
| 137 | HEAT_STACK_ENVIRONMENT: |
| 138 | type: string |
Ales Komarek | 4d74ebb | 2017-08-07 12:57:14 +0200 | [diff] [blame] | 139 | default: "{{stack_env}}" |
Sergey Otpuschennikov | 235fc47 | 2018-04-10 20:19:35 +0400 | [diff] [blame] | 140 | HEAT_STACK_ZONE: ${_param:heat_stack_zone_job_param} |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 141 | HEAT_STACK_PUBLIC_NET: |
| 142 | type: string |
| 143 | default: "public" |
| 144 | |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 145 | # openstack api |
| 146 | OPENSTACK_API_URL: |
| 147 | type: string |
Tomáš Kukrál | f083e81 | 2017-06-21 19:14:11 +0200 | [diff] [blame] | 148 | default: "https://cloud-cz.bud.mirantis.net:5000" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 149 | OPENSTACK_API_CREDENTIALS: |
| 150 | type: string |
Tomáš Kukrál | f083e81 | 2017-06-21 19:14:11 +0200 | [diff] [blame] | 151 | default: "openstack-devcloud-credentials" |
Sergey Otpuschennikov | 235fc47 | 2018-04-10 20:19:35 +0400 | [diff] [blame] | 152 | OPENSTACK_API_PROJECT: ${_param:openstack_api_projects_job_param} |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 153 | OPENSTACK_API_PROJECT_DOMAIN: |
| 154 | type: string |
Tomáš Kukrál | b6f1522 | 2017-08-02 11:11:56 +0200 | [diff] [blame] | 155 | default: "default" |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 156 | OPENSTACK_API_PROJECT_ID: |
| 157 | type: string |
| 158 | default: "" |
| 159 | OPENSTACK_API_USER_DOMAIN: |
| 160 | type: string |
| 161 | default: "default" |
| 162 | |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 163 | OPENSTACK_API_CLIENT: |
| 164 | type: string |
Tomáš Kukrál | f083e81 | 2017-06-21 19:14:11 +0200 | [diff] [blame] | 165 | default: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 166 | OPENSTACK_API_VERSION: |
| 167 | type: string |
Tomáš Kukrál | f083e81 | 2017-06-21 19:14:11 +0200 | [diff] [blame] | 168 | default: "3" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 169 | |
Tomáš Kukrál | e15675c | 2017-08-03 10:54:00 +0200 | [diff] [blame] | 170 | # test |
Tomáš Kukrál | 93484d6 | 2017-07-26 10:09:35 +0200 | [diff] [blame] | 171 | TEST_K8S_API_SERVER: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 172 | type: string |
| 173 | default: "http://127.0.0.1:8080" |
Tomáš Kukrál | 93484d6 | 2017-07-26 10:09:35 +0200 | [diff] [blame] | 174 | TEST_K8S_CONFORMANCE_IMAGE: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 175 | type: string |
Victor Ryzhenkin | ec32391 | 2018-10-04 19:11:50 +0400 | [diff] [blame] | 176 | default: "docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.11.3-2" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 177 | |
Tomáš Kukrál | 93484d6 | 2017-07-26 10:09:35 +0200 | [diff] [blame] | 178 | TEST_TEMPEST_IMAGE: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 179 | type: string |
Tomáš Kukrál | e15675c | 2017-08-03 10:54:00 +0200 | [diff] [blame] | 180 | description: "Tempest docker image" |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame] | 181 | default: "${_param:mcp_docker_registry}/mirantis/oscore/rally-tempest" |
Tomáš Kukrál | 93484d6 | 2017-07-26 10:09:35 +0200 | [diff] [blame] | 182 | TEST_TEMPEST_TARGET: |
Vasyl Saienko | 68f2e4b | 2017-07-20 12:40:24 +0300 | [diff] [blame] | 183 | type: string |
| 184 | description: "Node to run tests" |
| 185 | default: "" |
Tomáš Kukrál | 93484d6 | 2017-07-26 10:09:35 +0200 | [diff] [blame] | 186 | TEST_DOCKER_INSTALL: |
Vasyl Saienko | 68f2e4b | 2017-07-20 12:40:24 +0300 | [diff] [blame] | 187 | type: boolean |
| 188 | description: "Install docker on the target if true" |
| 189 | default: "true" |
Tomáš Kukrál | 93484d6 | 2017-07-26 10:09:35 +0200 | [diff] [blame] | 190 | TEST_TEMPEST_PATTERN: |
Vasyl Saienko | 68f2e4b | 2017-07-20 12:40:24 +0300 | [diff] [blame] | 191 | type: string |
| 192 | description: "Run tests matched to pattern only" |
| 193 | default: "" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 194 | |
ibumarskov | a73d7c3 | 2018-01-16 11:08:50 +0400 | [diff] [blame] | 195 | # TestRail vars |
| 196 | TESTRAIL_REPORT: |
| 197 | type: boolean |
| 198 | description: "Report test results to TestRail if true" |
| 199 | default: "false" |
| 200 | TESTRAIL_REPORTER_IMAGE: |
| 201 | type: string |
| 202 | description: "Testrail reporter docker image" |
| 203 | default: "alrem/xunit2testrail" |
| 204 | TESTRAIL_QA_CREDENTIALS: |
| 205 | type: string |
| 206 | description: "Credentials for results upload to testrail" |
| 207 | default: "oscore-qa-credentials" |
| 208 | TESTRAIL_MILESTONE: |
| 209 | type: string |
| 210 | description: "TestRail milestone" |
| 211 | default: "MCP1.1" |
| 212 | TESTRAIL_PLAN: |
| 213 | type: string |
| 214 | description: "TestRail test plan name. Will be generated if missing." |
| 215 | default: "" |
| 216 | TESTRAIL_GROUP: |
| 217 | type: string |
| 218 | description: "TestRail test group name." |
| 219 | default: "{{stack_name}}" |
| 220 | TESTRAIL_SUITE: |
| 221 | type: string |
| 222 | description: "TestRail test suite name" |
| 223 | default: "Tempest 16.0.0 with designate tests" |