blob: 9ae354cabbb35a0a36f05a1c24f006ce2e28c4a5 [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
Martin Polreicheb94f672019-04-10 08:21:43 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Mykyta Karpin7d021b52018-11-02 16:38:19 +000022 - name: oslo_templates
Mykyta Karpin8a692a62017-05-31 11:59:30 +030023 repo: git
Martin Polreich184ccee2018-12-13 15:12:22 +010024 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
Martin Polreicheb94f672019-04-10 08:21:43 +020025 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Mykyta Karpin8a692a62017-05-31 11:59:30 +030026 state_top:
27 base:
28 "*":
29 - linux
Mykyta Karpin8a692a62017-05-31 11:59:30 +030030 - designate
31 pillars:
Mykyta Karpin7d021b52018-11-02 16:38:19 +000032 ssl.sls:
33 designate:
34 server:
35 identity:
36 protocol: https
37 database:
38 x509:
39 enabled: True
40 ca_file: /etc/designate/ssl/mysql/ca-cert.pem
41 key_file: /etc/designate/ssl/mysql/client-key.pem
42 cert_file: /etc/designate/ssl/mysql/client-cert.pem
43 cacert: |
44 -----BEGIN CERTIFICATE-----
45 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
46 -----END CERTIFICATE-----
47 cert: |
48 -----BEGIN CERTIFICATE-----
49 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
50 -----END CERTIFICATE-----
51 key: |
52 -----BEGIN RSA PRIVATE KEY-----
53 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
54 -----END RSA PRIVATE KEY-----
55 ssl:
56 enabled: True
57 cacert_file: /etc/designate/ssl/mysql/ca-cert.pem
58 cacert: |
59 -----BEGIN CERTIFICATE-----
60 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
61 -----END CERTIFICATE-----
62 message_queue:
63 port: 5671
64 ssl:
65 enabled: True
66 cacert_file: /etc/designate/ssl/mysql/ca-cert.pem
67 cacert: |
68 -----BEGIN CERTIFICATE-----
69 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
70 -----END CERTIFICATE-----
71
Mykyta Karpin8a692a62017-05-31 11:59:30 +030072 top.sls:
73 base:
74 "*":
75 - linux_repo_openstack
76 - designate
Mykyta Karpin7d021b52018-11-02 16:38:19 +000077 - release
Mykyta Karpin8a692a62017-05-31 11:59:30 +030078
79verifier:
80 name: inspec
81 sudo: true
82
Martin Polreich184ccee2018-12-13 15:12:22 +010083docker_images:
84 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
85 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
86
Mykyta Karpin8a692a62017-05-31 11:59:30 +030087platforms:
Martin Polreich184ccee2018-12-13 15:12:22 +010088 - name: xenial-2017.7
Mykyta Karpin8a692a62017-05-31 11:59:30 +030089 driver_config:
Martin Polreich184ccee2018-12-13 15:12:22 +010090 image: *xenial-20177
91 platform: ubuntu
92
93 - name: xenial-stable
94 driver_config:
95 image: *xenial-stable
Mykyta Karpin8a692a62017-05-31 11:59:30 +030096 platform: ubuntu
97
98suites:
sgarbuzb0b5d1e2019-01-04 12:42:50 +020099<% for os_version in ['ocata','pike','queens','rocky'] %>
100 - name: server_cluster_<%=os_version%>
Mykyta Karpin8a692a62017-05-31 11:59:30 +0300101 provisioner:
102 pillars-from-files:
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000103 designate.sls: tests/pillar/server_cluster.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200104 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich184ccee2018-12-13 15:12:22 +0100105 pillars:
106 release.sls:
107 designate:
108 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200109 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000110 verifier:
111 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200112 - tests/integration/<%=os_version%>/server_cluster
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000113
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200114 - name: server_single_<%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000115 provisioner:
116 pillars-from-files:
117 designate.sls: tests/pillar/server_single.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200118 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich184ccee2018-12-13 15:12:22 +0100119 pillars:
120 release.sls:
121 designate:
122 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200123 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000124 verifier:
125 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200126 - tests/integration/<%=os_version%>/server_single
Martin Polreich184ccee2018-12-13 15:12:22 +0100127
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200128 - name: server_cluster_ssl_<%=os_version%>
Martin Polreich184ccee2018-12-13 15:12:22 +0100129 provisioner:
130 pillars-from-files:
131 designate.sls: tests/pillar/server_cluster.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200132 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000133 pillars:
134 top.sls:
135 base:
136 "*":
137 - linux_repo_openstack
138 - designate
139 - release
140 - ssl
Martin Polreich184ccee2018-12-13 15:12:22 +0100141 release.sls:
142 designate:
143 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200144 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000145 verifier:
146 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200147 - tests/integration/<%=os_version%>/server_cluster
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000148 attributes:
149 ssl: true
150
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200151 - name: server_single_ssl_<%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000152 provisioner:
153 pillars-from-files:
154 designate.sls: tests/pillar/server_single.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200155 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000156 pillars:
157 top.sls:
158 base:
159 "*":
160 - linux_repo_openstack
161 - designate
162 - release
163 - ssl
Martin Polreich184ccee2018-12-13 15:12:22 +0100164 release.sls:
165 designate:
166 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200167 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000168 verifier:
169 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200170 - tests/integration/<%=os_version%>/server_single
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000171 attributes:
172 ssl: true
Mykyta Karpin8a692a62017-05-31 11:59:30 +0300173
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200174<% end %>
Oleh Hryhorov799c6932018-01-19 18:43:41 +0200175# vim: ft=yaml sw=2 ts=2 sts=2 tw=125