blob: db2ef8f350b62c6aa4556b37a3ea64e806b5df3a [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
Oleh Hryhorov799c6932018-01-19 18:43:41 +020011 salt_version: <%=ENV['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
20 source: https://github.com/salt-formulas/salt-formula-linux
Mykyta Karpin7d021b52018-11-02 16:38:19 +000021 - name: oslo_templates
Mykyta Karpin8a692a62017-05-31 11:59:30 +030022 repo: git
Mykyta Karpin7d021b52018-11-02 16:38:19 +000023 source: https://github.com/salt-formulas/salt-formula-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 release.sls:
31 designate:
32 server:
33 version: <%= ENV['OS_VERSION'] || 'pike' %>
34 ssl.sls:
35 designate:
36 server:
37 identity:
38 protocol: https
39 database:
40 x509:
41 enabled: True
42 ca_file: /etc/designate/ssl/mysql/ca-cert.pem
43 key_file: /etc/designate/ssl/mysql/client-key.pem
44 cert_file: /etc/designate/ssl/mysql/client-cert.pem
45 cacert: |
46 -----BEGIN CERTIFICATE-----
47 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
48 -----END CERTIFICATE-----
49 cert: |
50 -----BEGIN CERTIFICATE-----
51 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
52 -----END CERTIFICATE-----
53 key: |
54 -----BEGIN RSA PRIVATE KEY-----
55 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
56 -----END RSA PRIVATE KEY-----
57 ssl:
58 enabled: True
59 cacert_file: /etc/designate/ssl/mysql/ca-cert.pem
60 cacert: |
61 -----BEGIN CERTIFICATE-----
62 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
63 -----END CERTIFICATE-----
64 message_queue:
65 port: 5671
66 ssl:
67 enabled: True
68 cacert_file: /etc/designate/ssl/mysql/ca-cert.pem
69 cacert: |
70 -----BEGIN CERTIFICATE-----
71 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
72 -----END CERTIFICATE-----
73
Mykyta Karpin8a692a62017-05-31 11:59:30 +030074 top.sls:
75 base:
76 "*":
77 - linux_repo_openstack
78 - designate
Mykyta Karpin7d021b52018-11-02 16:38:19 +000079 - release
Mykyta Karpin8a692a62017-05-31 11:59:30 +030080 pillars-from-files:
Mykyta Karpin7d021b52018-11-02 16:38:19 +000081 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%= ENV['OS_VERSION'] || 'pike' %>.sls
Mykyta Karpin8a692a62017-05-31 11:59:30 +030082
83verifier:
84 name: inspec
85 sudo: true
86
87platforms:
Martin Polreichfd2411e2018-02-16 14:11:10 +010088 - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
Mykyta Karpin8a692a62017-05-31 11:59:30 +030089 driver_config:
Martin Polreichaf958be2018-04-06 15:09:03 +020090 image: <%=ENV['PLATFORM'] || 'epcim/salt:saltstack-ubuntu-xenial-salt-stable'%>
Mykyta Karpin8a692a62017-05-31 11:59:30 +030091 platform: ubuntu
92
93suites:
94
Mykyta Karpin7d021b52018-11-02 16:38:19 +000095 - name: server_cluster
Mykyta Karpin8a692a62017-05-31 11:59:30 +030096 provisioner:
97 pillars-from-files:
Mykyta Karpin7d021b52018-11-02 16:38:19 +000098 designate.sls: tests/pillar/server_cluster.sls
99 verifier:
100 inspec_tests:
101 - tests/integration/<%= ENV['OS_VERSION'] || 'pike'%>/server_cluster
102
103 - name: server_single
104 provisioner:
105 pillars-from-files:
106 designate.sls: tests/pillar/server_single.sls
107 verifier:
108 inspec_tests:
109 - tests/integration/<%= ENV['OS_VERSION'] || 'pike'%>/server_single
110
111 - name: server_cluster_ssl
112 provisioner:
113 pillars-from-files:
114 designate.sls: tests/pillar/server_cluster.sls
115 pillars:
116 top.sls:
117 base:
118 "*":
119 - linux_repo_openstack
120 - designate
121 - release
122 - ssl
123 verifier:
124 inspec_tests:
125 - tests/integration/<%= ENV['OS_VERSION'] || 'pike'%>/server_cluster
126 attributes:
127 ssl: true
128
129 - name: server_single_ssl
130 provisioner:
131 pillars-from-files:
132 designate.sls: tests/pillar/server_single.sls
133 pillars:
134 top.sls:
135 base:
136 "*":
137 - linux_repo_openstack
138 - designate
139 - release
140 - ssl
141 verifier:
142 inspec_tests:
143 - tests/integration/<%= ENV['OS_VERSION'] || 'pike'%>/server_single
144 attributes:
145 ssl: true
Mykyta Karpin8a692a62017-05-31 11:59:30 +0300146
Oleh Hryhorov799c6932018-01-19 18:43:41 +0200147# vim: ft=yaml sw=2 ts=2 sts=2 tw=125