blob: 36ec5b8aa70b064a2cdde9c867707d0bd6391f32 [file] [log] [blame]
Mykyta Karpin8a692a62017-05-31 11:59:30 +03001---
2driver:
3 name: docker
4 hostname: designate.ci.local
Mykyta Karpin7d021b52018-11-02 16:38:19 +00005 use_sudo: false
Mykyta Karpin8a692a62017-05-31 11:59:30 +03006
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
Martin Polreich184ccee2018-12-13 15:12:22 +010011 salt_version: latest
Mykyta Karpin8a692a62017-05-31 11:59:30 +030012 require_chef: false
13 log_level: error
14 formula: designate
15 grains:
16 noservices: True
17 dependencies:
18 - name: linux
19 repo: git
Martin Polreich184ccee2018-12-13 15:12:22 +010020 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
Mykyta Karpin7d021b52018-11-02 16:38:19 +000021 - name: oslo_templates
Mykyta Karpin8a692a62017-05-31 11:59:30 +030022 repo: git
Martin Polreich184ccee2018-12-13 15:12:22 +010023 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
Mykyta Karpin8a692a62017-05-31 11:59:30 +030024 state_top:
25 base:
26 "*":
27 - linux
Mykyta Karpin8a692a62017-05-31 11:59:30 +030028 - designate
29 pillars:
Mykyta Karpin7d021b52018-11-02 16:38:19 +000030 ssl.sls:
31 designate:
32 server:
33 identity:
34 protocol: https
35 database:
36 x509:
37 enabled: True
38 ca_file: /etc/designate/ssl/mysql/ca-cert.pem
39 key_file: /etc/designate/ssl/mysql/client-key.pem
40 cert_file: /etc/designate/ssl/mysql/client-cert.pem
41 cacert: |
42 -----BEGIN CERTIFICATE-----
43 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
44 -----END CERTIFICATE-----
45 cert: |
46 -----BEGIN CERTIFICATE-----
47 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
48 -----END CERTIFICATE-----
49 key: |
50 -----BEGIN RSA PRIVATE KEY-----
51 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
52 -----END RSA PRIVATE KEY-----
53 ssl:
54 enabled: True
55 cacert_file: /etc/designate/ssl/mysql/ca-cert.pem
56 cacert: |
57 -----BEGIN CERTIFICATE-----
58 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
59 -----END CERTIFICATE-----
60 message_queue:
61 port: 5671
62 ssl:
63 enabled: True
64 cacert_file: /etc/designate/ssl/mysql/ca-cert.pem
65 cacert: |
66 -----BEGIN CERTIFICATE-----
67 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
68 -----END CERTIFICATE-----
69
Mykyta Karpin8a692a62017-05-31 11:59:30 +030070 top.sls:
71 base:
72 "*":
73 - linux_repo_openstack
74 - designate
Mykyta Karpin7d021b52018-11-02 16:38:19 +000075 - release
Mykyta Karpin8a692a62017-05-31 11:59:30 +030076
77verifier:
78 name: inspec
79 sudo: true
80
Martin Polreich184ccee2018-12-13 15:12:22 +010081docker_images:
82 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
83 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
84
Mykyta Karpin8a692a62017-05-31 11:59:30 +030085platforms:
Martin Polreich184ccee2018-12-13 15:12:22 +010086 - name: xenial-2017.7
Mykyta Karpin8a692a62017-05-31 11:59:30 +030087 driver_config:
Martin Polreich184ccee2018-12-13 15:12:22 +010088 image: *xenial-20177
89 platform: ubuntu
90
91 - name: xenial-stable
92 driver_config:
93 image: *xenial-stable
Mykyta Karpin8a692a62017-05-31 11:59:30 +030094 platform: ubuntu
95
96suites:
Martin Polreich184ccee2018-12-13 15:12:22 +010097 - name: server_cluster_ocata
Mykyta Karpin8a692a62017-05-31 11:59:30 +030098 provisioner:
99 pillars-from-files:
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000100 designate.sls: tests/pillar/server_cluster.sls
Martin Polreich184ccee2018-12-13 15:12:22 +0100101 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_ocata.sls
102 pillars:
103 release.sls:
104 designate:
105 server:
106 version: ocata
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000107 verifier:
108 inspec_tests:
Martin Polreich184ccee2018-12-13 15:12:22 +0100109 - tests/integration/ocata/server_cluster
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000110
Martin Polreich184ccee2018-12-13 15:12:22 +0100111 - name: server_single_ocata
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000112 provisioner:
113 pillars-from-files:
114 designate.sls: tests/pillar/server_single.sls
Martin Polreich184ccee2018-12-13 15:12:22 +0100115 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_ocata.sls
116 pillars:
117 release.sls:
118 designate:
119 server:
120 version: ocata
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000121 verifier:
122 inspec_tests:
Martin Polreich184ccee2018-12-13 15:12:22 +0100123 - tests/integration/ocata/server_single
124
125 - name: server_cluster_pike
126 provisioner:
127 pillars-from-files:
128 designate.sls: tests/pillar/server_cluster.sls
129 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_pike.sls
130 pillars:
131 release.sls:
132 designate:
133 server:
134 version: pike
135 verifier:
136 inspec_tests:
137 - tests/integration/pike/server_cluster
138
139 - name: server_single_pike
140 provisioner:
141 pillars-from-files:
142 designate.sls: tests/pillar/server_single.sls
143 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_pike.sls
144 pillars:
145 release.sls:
146 designate:
147 server:
148 version: pike
149 verifier:
150 inspec_tests:
151 - tests/integration/pike/server_single
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000152
153 - name: server_cluster_ssl
154 provisioner:
155 pillars-from-files:
156 designate.sls: tests/pillar/server_cluster.sls
Martin Polreich184ccee2018-12-13 15:12:22 +0100157 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_pike.sls
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000158 pillars:
159 top.sls:
160 base:
161 "*":
162 - linux_repo_openstack
163 - designate
164 - release
165 - ssl
Martin Polreich184ccee2018-12-13 15:12:22 +0100166 release.sls:
167 designate:
168 server:
169 version: pike
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000170 verifier:
171 inspec_tests:
Martin Polreich184ccee2018-12-13 15:12:22 +0100172 - tests/integration/pike/server_cluster
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000173 attributes:
174 ssl: true
175
176 - name: server_single_ssl
177 provisioner:
178 pillars-from-files:
179 designate.sls: tests/pillar/server_single.sls
Martin Polreich184ccee2018-12-13 15:12:22 +0100180 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_pike.sls
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000181 pillars:
182 top.sls:
183 base:
184 "*":
185 - linux_repo_openstack
186 - designate
187 - release
188 - ssl
Martin Polreich184ccee2018-12-13 15:12:22 +0100189 release.sls:
190 designate:
191 server:
192 version: pike
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000193 verifier:
194 inspec_tests:
Martin Polreich184ccee2018-12-13 15:12:22 +0100195 - tests/integration/pike/server_single
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000196 attributes:
197 ssl: true
Mykyta Karpin8a692a62017-05-31 11:59:30 +0300198
Martin Polreich184ccee2018-12-13 15:12:22 +0100199 - name: server_cluster_queens
200 provisioner:
201 pillars-from-files:
202 designate.sls: tests/pillar/server_cluster.sls
203 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_queens.sls
204 pillars:
205 release.sls:
206 designate:
207 server:
208 version: queens
209 verifier:
210 inspec_tests:
211 - tests/integration/queens/server_cluster
212
213 - name: server_single_queens
214 provisioner:
215 pillars-from-files:
216 designate.sls: tests/pillar/server_single.sls
217 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_queens.sls
218 pillars:
219 release.sls:
220 designate:
221 server:
222 version: queens
223 verifier:
224 inspec_tests:
225 - tests/integration/queens/server_single
226
227 - name: server_cluster_ssl
228 provisioner:
229 pillars-from-files:
230 designate.sls: tests/pillar/server_cluster.sls
231 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_queens.sls
232 pillars:
233 top.sls:
234 base:
235 "*":
236 - linux_repo_openstack
237 - designate
238 - release
239 - ssl
240 release.sls:
241 designate:
242 server:
243 version: queens
244 verifier:
245 inspec_tests:
246 - tests/integration/queens/server_cluster
247 attributes:
248 ssl: true
249
250 - name: server_single_ssl
251 provisioner:
252 pillars-from-files:
253 designate.sls: tests/pillar/server_single.sls
254 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_queens.sls
255 pillars:
256 top.sls:
257 base:
258 "*":
259 - linux_repo_openstack
260 - designate
261 - release
262 - ssl
263 release.sls:
264 designate:
265 server:
266 version: queens
267 verifier:
268 inspec_tests:
269 - tests/integration/queens/server_single
270 attributes:
271 ssl: true
Oleh Hryhorov799c6932018-01-19 18:43:41 +0200272# vim: ft=yaml sw=2 ts=2 sts=2 tw=125