blob: d0ae383268500fdadb1fcd0f157091817f098b40 [file] [log] [blame]
Ales Komareke3a6ff62017-05-22 16:56:09 +02001parameters:
2 _param:
3 jenkins_cloud_deploy_pipelines:
Petr Michalec8c946c32017-07-12 13:16:25 +02004 # Identity AAA
Petr Michalec07793432017-07-18 17:57:34 +02005 - stack_name: aaa_ha_freeipa
Petr Michalec8c946c32017-07-12 13:16:25 +02006 stack_type: heat
7 stack_install: core,aaa
Tomáš Kukráld59e5f82017-07-18 14:00:50 +02008 stack_test: ""
Petr Michalec8c946c32017-07-12 13:16:25 +02009 job_timer: ""
10 extra_formulas: ""
Tomáš Kukrál80d0dba2017-07-24 11:30:30 +020011 - stack_name: k8s_ha_calico
Ales Komareke3a6ff62017-05-22 16:56:09 +020012 stack_type: aws
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020013 stack_install: core,k8s,calico
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020014 stack_test: ""
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020015 job_timer: "H H * * *"
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020016 - stack_name: ceph_ha
17 stack_type: heat
18 stack_install: core,ceph
19 stack_test: "ceph"
20 job_timer: ""
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020021# - stack_name: drivetrain_ha
22# stack_type: heat
23# stack_install: core
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020024# stack_test: ""
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020025# job_timer: ""
26# - stack_name: drivetrain_ha_clusters
27# stack_type: heat
28# stack_install: core
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020029# stack_test: ""
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020030# job_timer: ""
31 - stack_name: k8s_aio_calico
32 stack_type: heat
33 stack_install: core,k8s,calico
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020034 stack_test: ""
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020035 job_timer: ""
36 - stack_name: k8s_aio_contrail
37 stack_type: heat
38 stack_install: core,k8s,contrail
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020039 stack_test: ""
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020040 job_timer: ""
41 - stack_name: k8s_ha_calico
42 stack_type: heat
43 stack_install: core,k8s,calico
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020044 stack_test: ""
Tomáš Kukrál80d0dba2017-07-24 11:30:30 +020045 job_timer: "H H(0-6) * * *"
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020046 - stack_name: k8s_ha_contrail
47 stack_type: heat
48 stack_install: core,k8s,contrail
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020049 stack_test: ""
Tomáš Kukrál80d0dba2017-07-24 11:30:30 +020050 job_timer: "H H(0-6) * * *"
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020051 - stack_name: os_aio_contrail
52 stack_type: heat
53 stack_install: core,openstack,contrail
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020054 stack_test: ""
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020055 job_timer: ""
56 - stack_name: os_aio_ovs
57 stack_type: heat
58 stack_install: core,openstack,ovs
59 job_timer: ""
60 - stack_name: os_ha_contrail
61 stack_type: heat
62 stack_install: core,openstack,contrail
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020063 stack_test: ""
Tomáš Kukrál80d0dba2017-07-24 11:30:30 +020064 job_timer: "H H(0-6) * * *"
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020065 - stack_name: os_ha_ovs
66 stack_type: heat
67 stack_install: core,openstack,ovs
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020068 stack_test: ""
Tomáš Kukrál80d0dba2017-07-24 11:30:30 +020069 job_timer: "H H(0-6) * * *"
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020070 - stack_name: stacklight_k8s_calico
71 stack_type: heat
Martin Polreich1c9cf3f2017-07-19 15:25:16 +020072 stack_install: core,k8s,calico,stacklight
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020073 stack_test: ""
Tomáš Kukrál80d0dba2017-07-24 11:30:30 +020074 job_timer: "H H(0-6) * * *"
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020075 - stack_name: stacklight_os_contrail
76 stack_type: heat
Martin Polreich1c9cf3f2017-07-19 15:25:16 +020077 stack_install: core,openstack,contrail,stacklight
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020078 stack_test: ""
Tomáš Kukrál80d0dba2017-07-24 11:30:30 +020079 job_timer: "H H(0-6) * * *"
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +020080 - stack_name: stacklight_os_ovs
81 stack_type: heat
Martin Polreich1c9cf3f2017-07-19 15:25:16 +020082 stack_install: core,openstack,ovs,stacklight
Tomáš Kukráld59e5f82017-07-18 14:00:50 +020083 stack_test: ""
Tomáš Kukrál80d0dba2017-07-24 11:30:30 +020084 job_timer: "H H(0-6) * * *"
Ales Komareke3a6ff62017-05-22 16:56:09 +020085 jenkins:
86 client:
87 job_template:
88 cloud_deploy_heat_template:
Tomáš Kukráleaa0e252017-05-25 12:14:39 +020089 name: deploy-{{stack_type}}-{{stack_name}}
Ales Komareke3a6ff62017-05-22 16:56:09 +020090 jobs: ${_param:jenkins_cloud_deploy_pipelines}
91 template:
92 type: workflow-scm
93 discard:
94 build:
95 keep_num: 20
96 concurrent: true
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020097 display_name: "Deploy - {{stack_name}} {{stack_type}}"
Ales Komareke3a6ff62017-05-22 16:56:09 +020098 scm:
99 type: git
100 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
101 credentials: "gerrit"
102 script: cloud-deploy-pipeline.groovy
103 trigger:
104 timer:
105 spec: "{{job_timer}}"
106 param:
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +0200107 # general parameters
108 ASK_ON_ERROR:
109 type: boolean
110 default: 'false'
111
112 # deployments
Ales Komareke3a6ff62017-05-22 16:56:09 +0200113 STACK_NAME:
114 type: string
115 description: Heat stack name. Will be generated if missing.
Ales Komareke3a6ff62017-05-22 16:56:09 +0200116 STACK_TYPE:
117 type: string
118 default: "{{stack_type}}"
119 STACK_INSTALL:
120 type: string
121 default: "{{stack_install}}"
122 STACK_TEST:
123 type: string
Tomáš Kukráld59e5f82017-07-18 14:00:50 +0200124 default: "{{stack_test}}"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200125 STACK_REUSE:
126 type: boolean
127 default: 'false'
Ales Komareke3a6ff62017-05-22 16:56:09 +0200128 STACK_DELETE:
129 type: boolean
130 default: 'true'
131 description: "Don't enable it if you need to use the lab after"
Tomáš Kukrálc113ac62017-06-05 15:26:55 +0200132 STACK_COMPUTE_COUNT:
133 type: string
134 default: '2'
Ales Komareke3a6ff62017-05-22 16:56:09 +0200135
Tomáš Kukrále0870442017-07-27 18:28:11 +0200136 STACK_TEMPLATE:
137 type: string
138 default: "{{stack_name}}"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200139 STACK_TEMPLATE_URL:
140 type: string
141 default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
142 STACK_TEMPLATE_CREDENTIALS:
143 type: string
144 default: "gerrit"
145 STACK_TEMPLATE_BRANCH:
146 type: string
147 default: "master"
Jakub Josefca7e4562017-05-24 11:40:35 +0200148 STACK_CLEANUP_JOB:
149 type: string
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +0200150 default: 'deploy-stack-cleanup'
Ales Komareke3a6ff62017-05-22 16:56:09 +0200151
Tomáš Kukrále0870442017-07-27 18:28:11 +0200152 # salt
Ales Komareke3a6ff62017-05-22 16:56:09 +0200153 SALT_MASTER_CREDENTIALS:
154 type: string
155 default: "salt-qa-credentials"
156 SALT_MASTER_URL:
157 type: string
158 default: ""
Tomáš Kukrál3f73bcd2017-06-27 11:09:36 +0200159 SALT_OVERRIDES:
160 type: text
161 default: ""
Tomáš Kukrále0870442017-07-27 18:28:11 +0200162 description: "YAML with overrides for Salt deployment"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200163
Tomáš Kukráleaa0e252017-05-25 12:14:39 +0200164 # aws api
Ales Komareke3a6ff62017-05-22 16:56:09 +0200165 AWS_STACK_REGION:
166 type: string
167 default: "us-west-2"
168 AWS_API_CREDENTIALS:
169 type: string
Tomáš Kukráleaa0e252017-05-25 12:14:39 +0200170 default: "aws-credentials"
171 AWS_SSH_KEY:
172 type: string
173 default: "jenkins-mk"
174
Ales Komareke3a6ff62017-05-22 16:56:09 +0200175 # heat
176 HEAT_STACK_ENVIRONMENT:
177 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200178 default: "devcloud"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200179 HEAT_STACK_ZONE:
180 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200181 default: "mcp-mk"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200182 HEAT_STACK_PUBLIC_NET:
183 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200184 default: "public"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200185
Tomáš Kukrále0870442017-07-27 18:28:11 +0200186 # openstack api
187 OPENSTACK_API_URL:
188 type: string
189 default: "https://cloud-cz.bud.mirantis.net:5000"
190 OPENSTACK_API_CREDENTIALS:
191 type: string
192 default: "openstack-devcloud-credentials"
193 OPENSTACK_API_PROJECT:
194 type: string
195 default: "mcp-mk"
196 OPENSTACK_API_PROJECT_DOMAIN:
197 type: string
198 default: ""
199 OPENSTACK_API_PROJECT_ID:
200 type: string
201 default: ""
202 OPENSTACK_API_USER_DOMAIN:
203 type: string
204 default: "default"
205
206 OPENSTACK_API_CLIENT:
207 type: string
208 default: ""
209 OPENSTACK_API_VERSION:
210 type: string
211 default: "3"
212
213 # test
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200214 TEST_K8S_API_SERVER:
Ales Komareke3a6ff62017-05-22 16:56:09 +0200215 type: string
216 default: "http://127.0.0.1:8080"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200217 TEST_K8S_CONFORMANCE_IMAGE:
Ales Komareke3a6ff62017-05-22 16:56:09 +0200218 type: string
219 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
220
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200221 TEST_TEMPEST_IMAGE:
Ales Komareke3a6ff62017-05-22 16:56:09 +0200222 type: string
Tomáš Kukrále0870442017-07-27 18:28:11 +0200223 description: "Tempest docker image"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200224 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200225 TEST_TEMPEST_TARGET:
226 type: string
227 description: "Node to run tests"
228 default: ""
229 TEST_DOCKER_INSTALL:
230 type: boolean
231 description: "Install docker on the target if true"
232 default: "true"
233 TEST_TEMPEST_PATTERN:
234 type: string
235 description: "Run tests matched to pattern only"
236 default: ""
Ales Komareke3a6ff62017-05-22 16:56:09 +0200237