blob: bcabf8f1ed3252e1f275fda515be32b0764107a8 [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:
Martin Polreichf66e3fe2019-11-27 12:59:45 +010018 - name: keystone
19 repo: git
20 source: https://gerrit.mcp.mirantis.com/salt-formulas/keystone
21 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Mykyta Karpin8a692a62017-05-31 11:59:30 +030022 - name: linux
23 repo: git
Martin Polreich184ccee2018-12-13 15:12:22 +010024 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
Martin Polreicheb94f672019-04-10 08:21:43 +020025 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Mykyta Karpin7d021b52018-11-02 16:38:19 +000026 - name: oslo_templates
Mykyta Karpin8a692a62017-05-31 11:59:30 +030027 repo: git
Martin Polreich184ccee2018-12-13 15:12:22 +010028 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
Martin Polreicheb94f672019-04-10 08:21:43 +020029 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Mykyta Karpin8a692a62017-05-31 11:59:30 +030030 state_top:
31 base:
32 "*":
33 - linux
Mykyta Karpin8a692a62017-05-31 11:59:30 +030034 - designate
35 pillars:
Mykyta Karpin7d021b52018-11-02 16:38:19 +000036 ssl.sls:
37 designate:
38 server:
39 identity:
40 protocol: https
41 database:
42 x509:
43 enabled: True
44 ca_file: /etc/designate/ssl/mysql/ca-cert.pem
45 key_file: /etc/designate/ssl/mysql/client-key.pem
46 cert_file: /etc/designate/ssl/mysql/client-cert.pem
47 cacert: |
48 -----BEGIN CERTIFICATE-----
49 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
50 -----END CERTIFICATE-----
51 cert: |
52 -----BEGIN CERTIFICATE-----
53 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
54 -----END CERTIFICATE-----
55 key: |
56 -----BEGIN RSA PRIVATE KEY-----
57 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
58 -----END RSA PRIVATE KEY-----
59 ssl:
60 enabled: True
61 cacert_file: /etc/designate/ssl/mysql/ca-cert.pem
62 cacert: |
63 -----BEGIN CERTIFICATE-----
64 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
65 -----END CERTIFICATE-----
66 message_queue:
67 port: 5671
68 ssl:
69 enabled: True
70 cacert_file: /etc/designate/ssl/mysql/ca-cert.pem
71 cacert: |
72 -----BEGIN CERTIFICATE-----
73 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
74 -----END CERTIFICATE-----
75
Mykyta Karpin8a692a62017-05-31 11:59:30 +030076 top.sls:
77 base:
78 "*":
79 - linux_repo_openstack
80 - designate
Mykyta Karpin7d021b52018-11-02 16:38:19 +000081 - release
Mykyta Karpin8a692a62017-05-31 11:59:30 +030082
83verifier:
84 name: inspec
85 sudo: true
86
Martin Polreich184ccee2018-12-13 15:12:22 +010087docker_images:
Martin Polreich79df69e2019-10-10 15:00:49 +020088 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%>
Martin Polreich184ccee2018-12-13 15:12:22 +010089
Mykyta Karpin8a692a62017-05-31 11:59:30 +030090platforms:
Martin Polreich184ccee2018-12-13 15:12:22 +010091 - name: xenial-2017.7
Mykyta Karpin8a692a62017-05-31 11:59:30 +030092 driver_config:
Martin Polreich184ccee2018-12-13 15:12:22 +010093 image: *xenial-20177
94 platform: ubuntu
95
Mykyta Karpin8a692a62017-05-31 11:59:30 +030096suites:
Martin Polreich79df69e2019-10-10 15:00:49 +020097<% for os_version in ['pike','queens','rocky'] %>
sgarbuzb0b5d1e2019-01-04 12:42:50 +020098 - name: server_cluster_<%=os_version%>
Mykyta Karpin8a692a62017-05-31 11:59:30 +030099 provisioner:
100 pillars-from-files:
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000101 designate.sls: tests/pillar/server_cluster.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200102 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich184ccee2018-12-13 15:12:22 +0100103 pillars:
104 release.sls:
105 designate:
106 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200107 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000108 verifier:
109 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200110 - tests/integration/<%=os_version%>/server_cluster
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000111
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200112 - name: server_single_<%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000113 provisioner:
114 pillars-from-files:
115 designate.sls: tests/pillar/server_single.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200116 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich184ccee2018-12-13 15:12:22 +0100117 pillars:
118 release.sls:
119 designate:
120 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200121 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000122 verifier:
123 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200124 - tests/integration/<%=os_version%>/server_single
Martin Polreich184ccee2018-12-13 15:12:22 +0100125
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200126 - name: server_cluster_ssl_<%=os_version%>
Martin Polreich184ccee2018-12-13 15:12:22 +0100127 provisioner:
128 pillars-from-files:
129 designate.sls: tests/pillar/server_cluster.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200130 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000131 pillars:
132 top.sls:
133 base:
134 "*":
135 - linux_repo_openstack
136 - designate
137 - release
138 - ssl
Martin Polreich184ccee2018-12-13 15:12:22 +0100139 release.sls:
140 designate:
141 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200142 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000143 verifier:
144 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200145 - tests/integration/<%=os_version%>/server_cluster
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000146 attributes:
147 ssl: true
148
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200149 - name: server_single_ssl_<%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000150 provisioner:
151 pillars-from-files:
152 designate.sls: tests/pillar/server_single.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200153 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000154 pillars:
155 top.sls:
156 base:
157 "*":
158 - linux_repo_openstack
159 - designate
160 - release
161 - ssl
Martin Polreich184ccee2018-12-13 15:12:22 +0100162 release.sls:
163 designate:
164 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200165 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000166 verifier:
167 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200168 - tests/integration/<%=os_version%>/server_single
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000169 attributes:
170 ssl: true
Mykyta Karpin8a692a62017-05-31 11:59:30 +0300171
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200172<% end %>
Oleh Hryhorov799c6932018-01-19 18:43:41 +0200173# vim: ft=yaml sw=2 ts=2 sts=2 tw=125