blob: 89d3c2ace2dbae535b97cb0fc4e98804488caf9d [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
Oleh Hryhorova028d732018-01-19 17:16:54 +020011 salt_version: <%=ENV['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: cadf
28 repo: git
sgarbuz96532ba2018-11-16 13:14:57 +020029 source: https://gerrit.mcp.mirantis.com/salt-formulas/cadf
Petr Michalece9a6c2a2017-03-05 20:14:34 +010030 - name: rabbitmq
31 repo: git
sgarbuz96532ba2018-11-16 13:14:57 +020032 source: https://gerrit.mcp.mirantis.com/salt-formulas/rabbitmq
33 - name: oslo_templates
34 repo: git
35 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
36 - name: mysql
37 repo: git
38 source: https://gerrit.mcp.mirantis.com/salt-formulas/mysql
Petr Michalece9a6c2a2017-03-05 20:14:34 +010039 state_top:
40 base:
41 "*":
42 - linux
Petr Michalece9a6c2a2017-03-05 20:14:34 +010043 - keystone
44 pillars:
sgarbuz96532ba2018-11-16 13:14:57 +020045 release.sls:
46 keystone:
47 server:
48 version: <%= ENV['OS_VERSION'] || 'pike' %>
49 ssl.sls:
50 keystone:
51 server:
52 identity:
53 protocol: https
54 database:
55 x509:
56 enabled: True
57 ca_file: /etc/keystone/ssl/mysql/ca-cert.pem
58 key_file: /etc/keystone/ssl/mysql/client-key.pem
59 cert_file: /etc/keystone/ssl/mysql/client-cert.pem
60 cacert: |
61 -----BEGIN CERTIFICATE-----
62 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
63 -----END CERTIFICATE-----
64 cert: |
65 -----BEGIN CERTIFICATE-----
66 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
67 -----END CERTIFICATE-----
68 key: |
69 -----BEGIN RSA PRIVATE KEY-----
70 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
71 -----END RSA PRIVATE KEY-----
72 ssl:
73 enabled: True
74 cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem
75 cacert: |
76 -----BEGIN CERTIFICATE-----
77 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
78 -----END CERTIFICATE-----
79 message_queue:
80 port: 5671
81 ssl:
82 enabled: True
83 cacert_file: /etc/keystone/ssl/mysql/ca-cert.pem
84 cacert: |
85 -----BEGIN CERTIFICATE-----
86 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
87 -----END CERTIFICATE-----
88
Petr Michalece9a6c2a2017-03-05 20:14:34 +010089 top.sls:
90 base:
91 "*":
92 - linux_repo_openstack
93 - keystone
sgarbuz96532ba2018-11-16 13:14:57 +020094 - release
Petr Michalece9a6c2a2017-03-05 20:14:34 +010095 pillars-from-files:
sgarbuz96532ba2018-11-16 13:14:57 +020096 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%= ENV['OS_VERSION'] || 'pike' %>.sls
Petr Michalece9a6c2a2017-03-05 20:14:34 +010097
98verifier:
99 name: inspec
100 sudo: true
101
102platforms:
Martin Polreich803d39d2018-02-16 16:31:47 +0100103 - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100104 driver_config:
Martin Polreich803d39d2018-02-16 16:31:47 +0100105 image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%>
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100106 platform: ubuntu
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100107
108suites:
109
110 - name: single
111 provisioner:
112 pillars-from-files:
113 keystone.sls: tests/pillar/single.sls
114
sgarbuz96532ba2018-11-16 13:14:57 +0200115 - name: single_ssl
116 provisioner:
117 pillars-from-files:
118 keystone.sls: tests/pillar/single.sls
119 pillars:
120 top.sls:
121 base:
122 "*":
123 - linux_repo_openstack
124 - keystone
125 - release
126 - ssl
127
Filip Pytloun54c45662017-09-07 16:43:54 +0200128 - name: single_domain
129 provisioner:
Filip Pytloun54c45662017-09-07 16:43:54 +0200130 pillars-from-files:
131 keystone.sls: tests/pillar/single_domain.sls
132
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100133 - name: single_fernet
134 provisioner:
135 pillars-from-files:
136 keystone.sls: tests/pillar/single_fernet.sls
137
138 - name: under-apache
139 provisioner:
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100140 pillars-from-files:
141 keystone.sls: tests/pillar/apache_wsgi.sls
142 state_top:
143 base:
144 "*":
145 - linux
146 - mysql
147 - apache
148 - keystone
149
150# vim: ft=yaml sw=2 ts=2 sts=2 tw=125