blob: b61497a9adb5cfba26c8728a5d04168bb794c002 [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
Martin Polreich846f6d32019-04-10 08:21:43 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Vasyl Saienko912321e2018-09-28 13:26:33 +000022 - name: apache
23 repo: git
Martin Polreicha5e14202018-11-30 14:39:23 +010024 source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
Martin Polreich846f6d32019-04-10 08:21:43 +020025 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
sgarbuzf59a3af2019-02-14 17:30:08 +020026 - name: oslo_templates
27 repo: git
28 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
Martin Polreich846f6d32019-04-10 08:21:43 +020029 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Martin Polreich9824fa72017-03-30 10:12:02 +020030 state_top:
31 base:
32 "*":
Michael Polenchukda504ce2017-11-29 13:43:48 +040033 - linux.system
Martin Polreich9824fa72017-03-30 10:12:02 +020034 - aodh
35 pillars:
Mykyta Karpinef2a5542018-02-26 11:51:57 +000036 ssl.sls:
37 aodh:
38 server:
39 identity:
40 protocol: https
41 database:
Oleksandr Shyshko0b912d82018-09-04 18:47:40 +030042 x509:
43 enabled: True
44 ca_file: /etc/aodh/ssl/mysql/ca-cert.pem
45 key_file: /etc/aodh/ssl/mysql/client-key.pem
46 cert_file: /etc/aodh/ssl/mysql/client-cert.pem
47 cacert: |
48 -----BEGIN CERTIFICATE-----
49 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
50 -----END CERTIFICATE-----
51 cert: |
52 -----BEGIN CERTIFICATE-----
53 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
54 -----END CERTIFICATE-----
55 key: |
56 -----BEGIN RSA PRIVATE KEY-----
57 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
58 -----END RSA PRIVATE KEY-----
Mykyta Karpinef2a5542018-02-26 11:51:57 +000059 ssl:
60 enabled: True
Oleksandr Shyshko0b912d82018-09-04 18:47:40 +030061 cacert_file: /etc/aodh/ssl/mysql/ca-cert.pem
62 cacert: |
63 -----BEGIN CERTIFICATE-----
64 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
65 -----END CERTIFICATE-----
Mykyta Karpinef2a5542018-02-26 11:51:57 +000066 message_queue:
67 port: 5671
68 ssl:
69 enabled: True
Martin Polreich9824fa72017-03-30 10:12:02 +020070 top.sls:
71 base:
72 "*":
Michael Polenchukda504ce2017-11-29 13:43:48 +040073 - linux_repo_openstack
Martin Polreich9824fa72017-03-30 10:12:02 +020074 - aodh
Mykyta Karpinef2a5542018-02-26 11:51:57 +000075 - release
Martin Polreich9824fa72017-03-30 10:12:02 +020076
77verifier:
78 name: inspec
79 sudo: true
80
Martin Polreicha5e14202018-11-30 14:39:23 +010081docker_images:
82 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
83 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
84
Martin Polreich9824fa72017-03-30 10:12:02 +020085platforms:
Martin Polreicha5e14202018-11-30 14:39:23 +010086 - name: xenial-20177
Martin Polreich9824fa72017-03-30 10:12:02 +020087 driver_config:
Martin Polreicha5e14202018-11-30 14:39:23 +010088 image: *xenial-20177
89 platform: ubuntu
90
91 - name: xenial-stable
92 driver_config:
93 image: *xenial-stable
Martin Polreich9824fa72017-03-30 10:12:02 +020094 platform: ubuntu
95
96suites:
sgarbuzf59a3af2019-02-14 17:30:08 +020097<% for os_version in ['ocata','pike','queens','rocky'] %>
98 - name: server_cluster_<%=os_version%>
Martin Polreich9824fa72017-03-30 10:12:02 +020099 provisioner:
Martin Polreicha5e14202018-11-30 14:39:23 +0100100 pillars:
101 release.sls:
102 aodh:
103 server:
sgarbuzf59a3af2019-02-14 17:30:08 +0200104 version: <%=os_version%>
Martin Polreich9824fa72017-03-30 10:12:02 +0200105 pillars-from-files:
106 aodh.sls: tests/pillar/server_cluster.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200107 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich9824fa72017-03-30 10:12:02 +0200108
sgarbuzf59a3af2019-02-14 17:30:08 +0200109 - name: server_single_<%=os_version%>
Martin Polreich9824fa72017-03-30 10:12:02 +0200110 provisioner:
Martin Polreicha5e14202018-11-30 14:39:23 +0100111 pillars:
112 release.sls:
113 aodh:
114 server:
sgarbuzf59a3af2019-02-14 17:30:08 +0200115 version: <%=os_version%>
Martin Polreich9824fa72017-03-30 10:12:02 +0200116 pillars-from-files:
117 aodh.sls: tests/pillar/server_single.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200118 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000119
sgarbuzf59a3af2019-02-14 17:30:08 +0200120 - name: server_cluster_ssl_<%=os_version%>
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000121 provisioner:
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000122 pillars:
Martin Polreicha5e14202018-11-30 14:39:23 +0100123 release.sls:
124 aodh:
125 server:
sgarbuzf59a3af2019-02-14 17:30:08 +0200126 version: <%=os_version%>
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000127 top.sls:
128 base:
129 "*":
130 - linux_repo_openstack
131 - aodh
132 - release
133 - ssl
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000134 pillars-from-files:
Martin Polreicha5e14202018-11-30 14:39:23 +0100135 aodh.sls: tests/pillar/server_cluster.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200136 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreicha5e14202018-11-30 14:39:23 +0100137
sgarbuzf59a3af2019-02-14 17:30:08 +0200138 - name: server_single_ssl_<%=os_version%>
Martin Polreicha5e14202018-11-30 14:39:23 +0100139 provisioner:
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000140 pillars:
Martin Polreicha5e14202018-11-30 14:39:23 +0100141 release.sls:
142 aodh:
143 server:
sgarbuzf59a3af2019-02-14 17:30:08 +0200144 version: <%=os_version%>
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000145 top.sls:
146 base:
147 "*":
148 - linux_repo_openstack
149 - aodh
150 - release
151 - ssl
Martin Polreicha5e14202018-11-30 14:39:23 +0100152 pillars-from-files:
153 aodh.sls: tests/pillar/server_single.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200154 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
155<% end %>
Martin Polreich9824fa72017-03-30 10:12:02 +0200156# vim: ft=yaml sw=2 ts=2 sts=2 tw=125