blob: b600ee7be7486e20021f4a1c4d9d0f2c089040a3 [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: 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-----
85
Petr Michalece9a6c2a2017-03-05 20:14:34 +010086 top.sls:
87 base:
88 "*":
89 - linux_repo_openstack
90 - keystone
sgarbuz96532ba2018-11-16 13:14:57 +020091 - release
Petr Michalece9a6c2a2017-03-05 20:14:34 +010092 pillars-from-files:
sgarbuz96532ba2018-11-16 13:14:57 +020093 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%= ENV['OS_VERSION'] || 'pike' %>.sls
Petr Michalece9a6c2a2017-03-05 20:14:34 +010094
95verifier:
96 name: inspec
97 sudo: true
98
99platforms:
Martin Polreich803d39d2018-02-16 16:31:47 +0100100 - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100101 driver_config:
Martin Polreich803d39d2018-02-16 16:31:47 +0100102 image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%>
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100103 platform: ubuntu
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100104
105suites:
106
107 - name: single
108 provisioner:
109 pillars-from-files:
110 keystone.sls: tests/pillar/single.sls
111
sgarbuz96532ba2018-11-16 13:14:57 +0200112 - name: single_ssl
113 provisioner:
114 pillars-from-files:
115 keystone.sls: tests/pillar/single.sls
116 pillars:
117 top.sls:
118 base:
119 "*":
120 - linux_repo_openstack
121 - keystone
122 - release
123 - ssl
124
Filip Pytloun54c45662017-09-07 16:43:54 +0200125 - name: single_domain
126 provisioner:
Filip Pytloun54c45662017-09-07 16:43:54 +0200127 pillars-from-files:
128 keystone.sls: tests/pillar/single_domain.sls
129
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100130 - name: single_fernet
131 provisioner:
132 pillars-from-files:
133 keystone.sls: tests/pillar/single_fernet.sls
134
135 - name: under-apache
136 provisioner:
Petr Michalece9a6c2a2017-03-05 20:14:34 +0100137 pillars-from-files:
138 keystone.sls: tests/pillar/apache_wsgi.sls
139 state_top:
140 base:
141 "*":
142 - linux
143 - mysql
144 - apache
145 - keystone
146
147# vim: ft=yaml sw=2 ts=2 sts=2 tw=125