blob: 1d34f6207dd698302276e95885d67b0f105cace3 [file] [log] [blame]
Martin Polreich9824fa72017-03-30 10:12:02 +02001---
2driver:
3 name: docker
4 hostname: aodh.ci.local
5 use_sudo: false
6
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
11 salt_version: latest
12 require_chef: false
13 log_level: error
14 formula: aodh
15 grains:
16 noservices: True
Michael Polenchukda504ce2017-11-29 13:43:48 +040017 dependencies:
18 - name: linux
19 repo: git
Martin Polreicha5e14202018-11-30 14:39:23 +010020 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
Vasyl Saienko912321e2018-09-28 13:26:33 +000021 - name: apache
22 repo: git
Martin Polreicha5e14202018-11-30 14:39:23 +010023 source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
Martin Polreich9824fa72017-03-30 10:12:02 +020024 state_top:
25 base:
26 "*":
Michael Polenchukda504ce2017-11-29 13:43:48 +040027 - linux.system
Martin Polreich9824fa72017-03-30 10:12:02 +020028 - aodh
29 pillars:
Mykyta Karpinef2a5542018-02-26 11:51:57 +000030 ssl.sls:
31 aodh:
32 server:
33 identity:
34 protocol: https
35 database:
Oleksandr Shyshko0b912d82018-09-04 18:47:40 +030036 x509:
37 enabled: True
38 ca_file: /etc/aodh/ssl/mysql/ca-cert.pem
39 key_file: /etc/aodh/ssl/mysql/client-key.pem
40 cert_file: /etc/aodh/ssl/mysql/client-cert.pem
41 cacert: |
42 -----BEGIN CERTIFICATE-----
43 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
44 -----END CERTIFICATE-----
45 cert: |
46 -----BEGIN CERTIFICATE-----
47 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
48 -----END CERTIFICATE-----
49 key: |
50 -----BEGIN RSA PRIVATE KEY-----
51 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
52 -----END RSA PRIVATE KEY-----
Mykyta Karpinef2a5542018-02-26 11:51:57 +000053 ssl:
54 enabled: True
Oleksandr Shyshko0b912d82018-09-04 18:47:40 +030055 cacert_file: /etc/aodh/ssl/mysql/ca-cert.pem
56 cacert: |
57 -----BEGIN CERTIFICATE-----
58 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
59 -----END CERTIFICATE-----
Mykyta Karpinef2a5542018-02-26 11:51:57 +000060 message_queue:
61 port: 5671
62 ssl:
63 enabled: True
Martin Polreich9824fa72017-03-30 10:12:02 +020064 top.sls:
65 base:
66 "*":
Michael Polenchukda504ce2017-11-29 13:43:48 +040067 - linux_repo_openstack
Martin Polreich9824fa72017-03-30 10:12:02 +020068 - aodh
Mykyta Karpinef2a5542018-02-26 11:51:57 +000069 - release
Martin Polreich9824fa72017-03-30 10:12:02 +020070
71verifier:
72 name: inspec
73 sudo: true
74
Martin Polreicha5e14202018-11-30 14:39:23 +010075docker_images:
76 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
77 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
78
Martin Polreich9824fa72017-03-30 10:12:02 +020079platforms:
Martin Polreicha5e14202018-11-30 14:39:23 +010080 - name: xenial-20177
Martin Polreich9824fa72017-03-30 10:12:02 +020081 driver_config:
Martin Polreicha5e14202018-11-30 14:39:23 +010082 image: *xenial-20177
83 platform: ubuntu
84
85 - name: xenial-stable
86 driver_config:
87 image: *xenial-stable
Martin Polreich9824fa72017-03-30 10:12:02 +020088 platform: ubuntu
89
90suites:
91
Martin Polreicha5e14202018-11-30 14:39:23 +010092 - name: server_cluster_ocata
Martin Polreich9824fa72017-03-30 10:12:02 +020093 provisioner:
Martin Polreicha5e14202018-11-30 14:39:23 +010094 pillars:
95 release.sls:
96 aodh:
97 server:
98 version: ocata
Martin Polreich9824fa72017-03-30 10:12:02 +020099 pillars-from-files:
100 aodh.sls: tests/pillar/server_cluster.sls
Martin Polreicha5e14202018-11-30 14:39:23 +0100101 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_ocata.sls
Martin Polreich9824fa72017-03-30 10:12:02 +0200102
Martin Polreicha5e14202018-11-30 14:39:23 +0100103 - name: server_cluster_pike
Martin Polreich9824fa72017-03-30 10:12:02 +0200104 provisioner:
Martin Polreicha5e14202018-11-30 14:39:23 +0100105 pillars:
106 release.sls:
107 aodh:
108 server:
109 version: pike
110 pillars-from-files:
111 aodh.sls: tests/pillar/server_cluster.sls
112 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_pike.sls
113
114 - name: server_single_ocata
115 provisioner:
116 pillars:
117 release.sls:
118 aodh:
119 server:
120 version: ocata
Martin Polreich9824fa72017-03-30 10:12:02 +0200121 pillars-from-files:
122 aodh.sls: tests/pillar/server_single.sls
Martin Polreicha5e14202018-11-30 14:39:23 +0100123 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_ocata.sls
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000124
Martin Polreicha5e14202018-11-30 14:39:23 +0100125 - name: server_single_pike
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000126 provisioner:
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000127 pillars:
Martin Polreicha5e14202018-11-30 14:39:23 +0100128 release.sls:
129 aodh:
130 server:
131 version: pike
132 pillars-from-files:
133 aodh.sls: tests/pillar/server_single.sls
134 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_pike.sls
135
136
137 - name: server_cluster_ssl_pike
138 provisioner:
139 pillars:
140 release.sls:
141 aodh:
142 server:
143 version: pike
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000144 top.sls:
145 base:
146 "*":
147 - linux_repo_openstack
148 - aodh
149 - release
150 - ssl
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000151 pillars-from-files:
Martin Polreicha5e14202018-11-30 14:39:23 +0100152 aodh.sls: tests/pillar/server_cluster.sls
153 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_pike.sls
154
155 - name: server_single_ssl_pike
156 provisioner:
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000157 pillars:
Martin Polreicha5e14202018-11-30 14:39:23 +0100158 release.sls:
159 aodh:
160 server:
161 version: pike
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000162 top.sls:
163 base:
164 "*":
165 - linux_repo_openstack
166 - aodh
167 - release
168 - ssl
Martin Polreicha5e14202018-11-30 14:39:23 +0100169 pillars-from-files:
170 aodh.sls: tests/pillar/server_single.sls
171 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_pike.sls
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000172
Martin Polreich9824fa72017-03-30 10:12:02 +0200173# vim: ft=yaml sw=2 ts=2 sts=2 tw=125