blob: e64858a6fd1c4aad3d5ba728e335b48664960b06 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
Filip Pytloun260a9502017-03-16 12:47:22 +01002 _param:
Tomáš Kukrále15675c2017-08-03 10:54:00 +02003 jenkins_deploy_jobs: []
Filip Pytloun7af94b32017-03-14 18:38:52 +01004 jenkins:
5 client:
6 job_template:
Tomáš Kukrále15675c2017-08-03 10:54:00 +02007 deploy_template:
8 name: deploy-{{stack_type}}-{{stack_name}}
9 jobs: ${_param:jenkins_deploy_jobs}
Filip Pytloun7af94b32017-03-14 18:38:52 +010010 template:
11 type: workflow-scm
Filip Pytloun260a9502017-03-16 12:47:22 +010012 discard:
13 build:
14 keep_num: 20
Filip Pytloun7af94b32017-03-14 18:38:52 +010015 concurrent: true
Tomáš Kukrále15675c2017-08-03 10:54:00 +020016 display_name: "Deploy - {{stack_name}} {{stack_type}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010017 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
20 credentials: "gerrit"
Tomáš Kukrále0870442017-07-27 18:28:11 +020021 script: cloud-deploy-pipeline.groovy
Tomáš Kukrál903a7f62017-04-13 13:21:30 +020022 trigger:
23 timer:
Tomáš Kukrále15675c2017-08-03 10:54:00 +020024 spec: "{{job_timer}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010025 param:
Tomáš Kukrále0870442017-07-27 18:28:11 +020026 # general parameters
27 ASK_ON_ERROR:
28 type: boolean
29 default: 'false'
30
31 # deployments
32 STACK_NAME:
33 type: string
34 description: Heat stack name. Will be generated if missing.
Filip Pytloun260a9502017-03-16 12:47:22 +010035 STACK_TYPE:
36 type: string
37 default: "{{stack_type}}"
Jakub Josefca7e4562017-05-24 11:40:35 +020038 STACK_INSTALL:
Filip Pytloun260a9502017-03-16 12:47:22 +010039 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +020040 default: "{{stack_install}}"
Jakub Josefca7e4562017-05-24 11:40:35 +020041 STACK_TEST:
Filip Pytloun260a9502017-03-16 12:47:22 +010042 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +020043 default: "{{stack_test}}"
Tomáš Kukrále0870442017-07-27 18:28:11 +020044 STACK_REUSE:
45 type: boolean
46 default: 'false'
47 STACK_DELETE:
48 type: boolean
49 default: 'true'
50 description: "Don't enable it if you need to use the lab after"
51 STACK_COMPUTE_COUNT:
52 type: string
53 default: '2'
Filip Pytloun260a9502017-03-16 12:47:22 +010054
Tomáš Kukrále0870442017-07-27 18:28:11 +020055 STACK_TEMPLATE:
56 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +020057 default: "{{stack_name}}"
Jakub Josef43f34432017-05-23 19:16:49 +020058 STACK_TEMPLATE_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010059 type: string
Tomáš Kukrálcf72c8d2017-04-19 21:50:05 +020060 default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
Jakub Josef43f34432017-05-23 19:16:49 +020061 STACK_TEMPLATE_CREDENTIALS:
Filip Pytloun7af94b32017-03-14 18:38:52 +010062 type: string
63 default: "gerrit"
Jakub Josef43f34432017-05-23 19:16:49 +020064 STACK_TEMPLATE_BRANCH:
Filip Pytloun7af94b32017-03-14 18:38:52 +010065 type: string
Tomáš Kukrál394cdbf2017-03-29 16:35:37 +020066 default: "master"
Jakub Josefca7e4562017-05-24 11:40:35 +020067 STACK_CLEANUP_JOB:
68 type: string
Jakub Josef1c271232017-06-05 11:39:34 +020069 default: 'deploy-stack-cleanup'
Filip Pytloun7af94b32017-03-14 18:38:52 +010070
ibumarskovff68f412017-09-11 13:20:15 +040071 STACK_RECLASS_BRANCH:
72 type: string
73 default: ""
74
Tomáš Kukrále0870442017-07-27 18:28:11 +020075 # salt
Filip Pytloun7af94b32017-03-14 18:38:52 +010076 SALT_MASTER_CREDENTIALS:
77 type: string
78 default: "salt-qa-credentials"
Filip Pytloun260a9502017-03-16 12:47:22 +010079 SALT_MASTER_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010080 type: string
Filip Pytlounaa456012017-03-24 12:49:25 +010081 default: ""
Vasyl Saienkobfe884f2017-07-27 14:50:23 +030082 SALT_OVERRIDES:
Vasyl Saienko47f23472017-07-27 14:19:00 +030083 type: text
84 default: ""
85 description: "YAML with overrides for Salt deployment"
Mykyta Karpin46590842017-10-03 11:34:02 +030086 FORMULA_PKG_REVISION:
87 type: string
88 default: ""
89 description: "Formulas revision to install on Salt Master bootstrap stage"
Filip Pytloun7af94b32017-03-14 18:38:52 +010090
Tomáš Kukrále0870442017-07-27 18:28:11 +020091 # aws api
92 AWS_STACK_REGION:
93 type: string
94 default: "us-west-2"
95 AWS_API_CREDENTIALS:
96 type: string
97 default: "aws-credentials"
98 AWS_SSH_KEY:
99 type: string
100 default: "jenkins-mk"
101
102 # heat
103 HEAT_STACK_ENVIRONMENT:
104 type: string
Ales Komarek4d74ebb2017-08-07 12:57:14 +0200105 default: "{{stack_env}}"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200106 HEAT_STACK_ZONE:
107 type: string
108 default: "mcp-mk"
109 HEAT_STACK_PUBLIC_NET:
110 type: string
111 default: "public"
112
Filip Pytloun7af94b32017-03-14 18:38:52 +0100113 # openstack api
114 OPENSTACK_API_URL:
115 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200116 default: "https://cloud-cz.bud.mirantis.net:5000"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100117 OPENSTACK_API_CREDENTIALS:
118 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200119 default: "openstack-devcloud-credentials"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100120 OPENSTACK_API_PROJECT:
121 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200122 default: "mcp-mk"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200123 OPENSTACK_API_PROJECT_DOMAIN:
124 type: string
Tomáš Kukrálb6f15222017-08-02 11:11:56 +0200125 default: "default"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200126 OPENSTACK_API_PROJECT_ID:
127 type: string
128 default: ""
129 OPENSTACK_API_USER_DOMAIN:
130 type: string
131 default: "default"
132
Filip Pytloun7af94b32017-03-14 18:38:52 +0100133 OPENSTACK_API_CLIENT:
134 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200135 default: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +0100136 OPENSTACK_API_VERSION:
137 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200138 default: "3"
Filip Pytloun260a9502017-03-16 12:47:22 +0100139
Tomáš Kukrále15675c2017-08-03 10:54:00 +0200140 # test
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200141 TEST_K8S_API_SERVER:
Filip Pytloun260a9502017-03-16 12:47:22 +0100142 type: string
143 default: "http://127.0.0.1:8080"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200144 TEST_K8S_CONFORMANCE_IMAGE:
Filip Pytloun260a9502017-03-16 12:47:22 +0100145 type: string
vrovachev7e709802017-09-15 20:04:26 +0400146 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Filip Pytloun260a9502017-03-16 12:47:22 +0100147
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200148 TEST_TEMPEST_IMAGE:
Filip Pytloun260a9502017-03-16 12:47:22 +0100149 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +0200150 description: "Tempest docker image"
Oleksandr Kosse05a98112017-09-28 17:38:55 +0300151 default: "docker-prod-local.artifactory.mirantis.com/mirantis/oscore/rally-tempest"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200152 TEST_TEMPEST_TARGET:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300153 type: string
154 description: "Node to run tests"
155 default: ""
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200156 TEST_DOCKER_INSTALL:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300157 type: boolean
158 description: "Install docker on the target if true"
159 default: "true"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200160 TEST_TEMPEST_PATTERN:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300161 type: string
162 description: "Run tests matched to pattern only"
163 default: ""
Filip Pytloun260a9502017-03-16 12:47:22 +0100164