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