blob: a6c120b7bdd36762e780f8eb9b9d0900d635f6a2 [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
5 - stack_name: aaa_freeipa
6 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: ""
Ales Komareke3a6ff62017-05-22 16:56:09 +020011 - stack_name: k8s_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ál3f73bcd2017-06-27 11:09:36 +020045 job_timer: ""
46 - 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ál3f73bcd2017-06-27 11:09:36 +020050 job_timer: ""
51 - 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ál3f73bcd2017-06-27 11:09:36 +020064 job_timer: ""
65 - 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ál3f73bcd2017-06-27 11:09:36 +020069 job_timer: ""
70 - 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ál3f73bcd2017-06-27 11:09:36 +020074 job_timer: ""
75 - 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ál3f73bcd2017-06-27 11:09:36 +020079 job_timer: ""
80 - 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ál3f73bcd2017-06-27 11:09:36 +020084 job_timer: ""
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.
116 STACK_TEMPLATE:
117 type: string
118 default: "{{stack_name}}"
119 STACK_TYPE:
120 type: string
121 default: "{{stack_type}}"
122 STACK_INSTALL:
123 type: string
124 default: "{{stack_install}}"
125 STACK_TEST:
126 type: string
Tomáš Kukráld59e5f82017-07-18 14:00:50 +0200127 default: "{{stack_test}}"
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"
132 STACK_REUSE:
133 type: boolean
134 default: 'false'
Tomáš Kukrálc113ac62017-06-05 15:26:55 +0200135 STACK_COMPUTE_COUNT:
136 type: string
137 default: '2'
Ales Komareke3a6ff62017-05-22 16:56:09 +0200138
139 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
152 # salt master
153 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: ""
Ales Komareke3a6ff62017-05-22 16:56:09 +0200162
Tomáš Kukráleaa0e252017-05-25 12:14:39 +0200163 # aws api
Ales Komareke3a6ff62017-05-22 16:56:09 +0200164 AWS_STACK_REGION:
165 type: string
166 default: "us-west-2"
167 AWS_API_CREDENTIALS:
168 type: string
Tomáš Kukráleaa0e252017-05-25 12:14:39 +0200169 default: "aws-credentials"
170 AWS_SSH_KEY:
171 type: string
172 default: "jenkins-mk"
173
Ales Komareke3a6ff62017-05-22 16:56:09 +0200174
175 # openstack api
176 OPENSTACK_API_URL:
177 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200178 default: "https://cloud-cz.bud.mirantis.net:5000"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200179 OPENSTACK_API_CREDENTIALS:
180 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200181 default: "openstack-devcloud-credentials"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200182 OPENSTACK_API_PROJECT:
183 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200184 default: "mcp-mk"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200185 OPENSTACK_API_CLIENT:
186 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200187 default: ""
Ales Komareke3a6ff62017-05-22 16:56:09 +0200188 OPENSTACK_API_VERSION:
189 type: string
Tomáš Kukrálf0044902017-07-11 10:38:03 +0200190 default: "3"
Matthew Mosesohnc72219b2017-06-02 16:48:58 +0300191 OPENSTACK_API_PROJECT_DOMAIN:
Ales Komareke3a6ff62017-05-22 16:56:09 +0200192 type: string
193 default: "default"
194 OPENSTACK_API_USER_DOMAIN_ID:
195 type: string
196 default: "default"
Matthew Mosesohnc72219b2017-06-02 16:48:58 +0300197 OPENSTACK_API_PROJECT_ID:
198 type: string
199 default: ""
200 OPENSTACK_API_USER_DOMAIN:
201 type: string
202 default: "default"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200203
204 # heat
205 HEAT_STACK_ENVIRONMENT:
206 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200207 default: "devcloud"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200208 HEAT_STACK_ZONE:
209 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200210 default: "mcp-mk"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200211 HEAT_STACK_PUBLIC_NET:
212 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200213 default: "public"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200214
215 # k8s setttings
216 K8S_API_SERVER:
217 type: string
218 default: "http://127.0.0.1:8080"
219 K8S_CONFORMANCE_IMAGE:
220 type: string
221 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
222
Tomáš Kukrálf0044902017-07-11 10:38:03 +0200223 # openstack settings
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +0200224 TEMPEST_IMAGE:
Ales Komareke3a6ff62017-05-22 16:56:09 +0200225 type: string
226 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
227