blob: d20ebeea3adfaa350632e50dfb02b145edd5906b [file] [log] [blame]
Petr Michalece9a6c2a2017-03-05 20:14:34 +01001---
2driver:
3 name: docker
4 hostname: keystone.ci.local
Filip Pytloun87031292017-05-03 15:08:01 +02005 use_sudo: false
Petr Michalece9a6c2a2017-03-05 20:14:34 +01006
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
Martin Polreich757410e2018-12-17 16:00:42 +010011 salt_version: latest
Petr Michalece9a6c2a2017-03-05 20:14:34 +010012 require_chef: false
Martin Polreich962dfdd2017-06-08 14:04:14 +020013 log_level: error
Petr Michalece9a6c2a2017-03-05 20:14:34 +010014 formula: keystone
15 grains:
Vasyl Saienko778efdd2018-08-06 08:55:21 +000016 noservices: True
Petr Michalece9a6c2a2017-03-05 20:14:34 +010017 dependencies:
18 - name: linux
19 repo: git
sgarbuz96532ba2018-11-16 13:14:57 +020020 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
Petr Michalece9a6c2a2017-03-05 20:14:34 +010021 - name: apache
22 repo: git
sgarbuz96532ba2018-11-16 13:14:57 +020023 source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
Petr Michalece9a6c2a2017-03-05 20:14:34 +010024 - name: memcached
25 repo: git
sgarbuz96532ba2018-11-16 13:14:57 +020026 source: https://gerrit.mcp.mirantis.com/salt-formulas/memcached
Petr Michalece9a6c2a2017-03-05 20:14:34 +010027 - name: rabbitmq
28 repo: git
sgarbuz96532ba2018-11-16 13:14:57 +020029 source: https://gerrit.mcp.mirantis.com/salt-formulas/rabbitmq
30 - name: oslo_templates
31 repo: git
32 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
33 - name: mysql
34 repo: git
35 source: https://gerrit.mcp.mirantis.com/salt-formulas/mysql
Petr Michalece9a6c2a2017-03-05 20:14:34 +010036 state_top:
37 base:
38 "*":
39 - linux
Petr Michalece9a6c2a2017-03-05 20:14:34 +010040 - keystone
41 pillars:
sgarbuz96532ba2018-11-16 13:14:57 +020042 release.sls:
43 keystone:
44 server:
45 version: <%= ENV['OS_VERSION'] || 'pike' %>
46 ssl.sls:
47 keystone:
48 server:
49 identity:
50 protocol: https
51 database:
52 x509:
53 enabled: True
54 ca_file: /etc/keystone/ssl/mysql/ca-cert.pem
55 key_file: /etc/keystone/ssl/mysql/client-key.pem
56 cert_file: /etc/keystone/ssl/mysql/client-cert.pem
57 cacert: |
58 -----BEGIN CERTIFICATE-----
59 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
60 -----END CERTIFICATE-----
61 cert: |
62 -----BEGIN CERTIFICATE-----
63 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
64 -----END CERTIFICATE-----
65 key: |
66 -----BEGIN RSA PRIVATE KEY-----
67 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
68 -----END RSA PRIVATE KEY-----
69 ssl:
70 enabled: True
71 cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem
72 cacert: |
73 -----BEGIN CERTIFICATE-----
74 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
75 -----END CERTIFICATE-----
76 message_queue:
77 port: 5671
78 ssl:
79 enabled: True
80 cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem
81 cacert: |
82 -----BEGIN CERTIFICATE-----
83 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
84 -----END CERTIFICATE-----
Petr Michalece9a6c2a2017-03-05 20:14:34 +010085 top.sls:
86 base:
87 "*":
88 - linux_repo_openstack
89 - keystone
sgarbuz96532ba2018-11-16 13:14:57 +020090 - release
Petr Michalece9a6c2a2017-03-05 20:14:34 +010091
92verifier:
93 name: inspec
94 sudo: true
95
Martin Polreich757410e2018-12-17 16:00:42 +010096docker_images:
97 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
98 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
99
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100100platforms:
Martin Polreich757410e2018-12-17 16:00:42 +0100101 - name: xenial-2017.7
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100102 driver_config:
Martin Polreich757410e2018-12-17 16:00:42 +0100103 image: *xenial-20177
104 platform: ubuntu
105
106 - name: xenial-stable
107 driver_config:
108 image: *xenial-stable
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100109 platform: ubuntu
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100110
111suites:
Martin Polreich757410e2018-12-17 16:00:42 +0100112<% for os_version in ['ocata','pike','queens','rocky'] %>
113<% for mysql_version in ['5.7'] %>
114 - name: single_<%=mysql_version%>_<%=os_version%>
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100115 provisioner:
116 pillars-from-files:
117 keystone.sls: tests/pillar/single.sls
Martin Polreich757410e2018-12-17 16:00:42 +0100118 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
sgarbuz96532ba2018-11-16 13:14:57 +0200119 pillars:
Martin Polreich757410e2018-12-17 16:00:42 +0100120 mysql_platform_specific.sls:
121 mysql:
122 server:
123 version: "<%=mysql_version%>"
124
125 - name: single_ssl_<%=mysql_version%>_<%=os_version%>
126 provisioner:
127 pillars-from-files:
128 keystone.sls: tests/pillar/single.sls
129 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
130 pillars:
131 mysql_platform_specific.sls:
132 mysql:
133 server:
134 version: "<%=mysql_version%>"
sgarbuz96532ba2018-11-16 13:14:57 +0200135 top.sls:
136 base:
137 "*":
138 - linux_repo_openstack
139 - keystone
140 - release
141 - ssl
142
Martin Polreich757410e2018-12-17 16:00:42 +0100143 - name: single_domain_<%=mysql_version%>_<%=os_version%>
Filip Pytloun54c45662017-09-07 16:43:54 +0200144 provisioner:
Filip Pytloun54c45662017-09-07 16:43:54 +0200145 pillars-from-files:
146 keystone.sls: tests/pillar/single_domain.sls
Martin Polreich757410e2018-12-17 16:00:42 +0100147 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
148 pillars:
149 mysql_platform_specific.sls:
150 mysql:
151 server:
152 version: "<%=mysql_version%>"
Filip Pytloun54c45662017-09-07 16:43:54 +0200153
Martin Polreich757410e2018-12-17 16:00:42 +0100154 - name: single_fernet_<%=mysql_version%>_<%=os_version%>
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100155 provisioner:
156 pillars-from-files:
157 keystone.sls: tests/pillar/single_fernet.sls
Martin Polreich757410e2018-12-17 16:00:42 +0100158 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
159 pillars:
160 mysql_platform_specific.sls:
161 mysql:
162 server:
163 version: "<%=mysql_version%>"
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100164
Martin Polreich757410e2018-12-17 16:00:42 +0100165 - name: under-apache_<%=mysql_version%>_<%=os_version%>
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100166 provisioner:
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100167 pillars-from-files:
168 keystone.sls: tests/pillar/apache_wsgi.sls
Martin Polreich757410e2018-12-17 16:00:42 +0100169 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100170 state_top:
171 base:
172 "*":
173 - linux
174 - mysql
175 - apache
176 - keystone
Martin Polreich757410e2018-12-17 16:00:42 +0100177 pillars:
178 mysql_platform_specific.sls:
179 mysql:
180 server:
181 version: "<%=mysql_version%>"
182<% end %>
183<% end %>
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100184# vim: ft=yaml sw=2 ts=2 sts=2 tw=125