blob: b6f39ac648afaff49bf2a2f8df029dd32101bbd9 [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:
Martin Polreich79df69e2019-10-10 15:00:49 +020084 - &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 +010085
Mykyta Karpin8a692a62017-05-31 11:59:30 +030086platforms:
Martin Polreich184ccee2018-12-13 15:12:22 +010087 - name: xenial-2017.7
Mykyta Karpin8a692a62017-05-31 11:59:30 +030088 driver_config:
Martin Polreich184ccee2018-12-13 15:12:22 +010089 image: *xenial-20177
90 platform: ubuntu
91
Mykyta Karpin8a692a62017-05-31 11:59:30 +030092suites:
Martin Polreich79df69e2019-10-10 15:00:49 +020093<% for os_version in ['pike','queens','rocky'] %>
sgarbuzb0b5d1e2019-01-04 12:42:50 +020094 - name: server_cluster_<%=os_version%>
Mykyta Karpin8a692a62017-05-31 11:59:30 +030095 provisioner:
96 pillars-from-files:
Mykyta Karpin7d021b52018-11-02 16:38:19 +000097 designate.sls: tests/pillar/server_cluster.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +020098 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich184ccee2018-12-13 15:12:22 +010099 pillars:
100 release.sls:
101 designate:
102 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200103 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000104 verifier:
105 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200106 - tests/integration/<%=os_version%>/server_cluster
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000107
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200108 - name: server_single_<%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000109 provisioner:
110 pillars-from-files:
111 designate.sls: tests/pillar/server_single.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200112 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich184ccee2018-12-13 15:12:22 +0100113 pillars:
114 release.sls:
115 designate:
116 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200117 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000118 verifier:
119 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200120 - tests/integration/<%=os_version%>/server_single
Martin Polreich184ccee2018-12-13 15:12:22 +0100121
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200122 - name: server_cluster_ssl_<%=os_version%>
Martin Polreich184ccee2018-12-13 15:12:22 +0100123 provisioner:
124 pillars-from-files:
125 designate.sls: tests/pillar/server_cluster.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200126 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000127 pillars:
128 top.sls:
129 base:
130 "*":
131 - linux_repo_openstack
132 - designate
133 - release
134 - ssl
Martin Polreich184ccee2018-12-13 15:12:22 +0100135 release.sls:
136 designate:
137 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200138 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000139 verifier:
140 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200141 - tests/integration/<%=os_version%>/server_cluster
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000142 attributes:
143 ssl: true
144
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200145 - name: server_single_ssl_<%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000146 provisioner:
147 pillars-from-files:
148 designate.sls: tests/pillar/server_single.sls
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200149 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000150 pillars:
151 top.sls:
152 base:
153 "*":
154 - linux_repo_openstack
155 - designate
156 - release
157 - ssl
Martin Polreich184ccee2018-12-13 15:12:22 +0100158 release.sls:
159 designate:
160 server:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200161 version: <%=os_version%>
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000162 verifier:
163 inspec_tests:
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200164 - tests/integration/<%=os_version%>/server_single
Mykyta Karpin7d021b52018-11-02 16:38:19 +0000165 attributes:
166 ssl: true
Mykyta Karpin8a692a62017-05-31 11:59:30 +0300167
sgarbuzb0b5d1e2019-01-04 12:42:50 +0200168<% end %>
Oleh Hryhorov799c6932018-01-19 18:43:41 +0200169# vim: ft=yaml sw=2 ts=2 sts=2 tw=125