blob: dc6284c9b020ccb8bd766bbc31a8ce67338cf7a9 [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:
Martin Polreichfde97522019-10-07 15:34:54 +020082 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%>
Martin Polreicha5e14202018-11-30 14:39:23 +010083
Martin Polreich9824fa72017-03-30 10:12:02 +020084platforms:
Martin Polreicha5e14202018-11-30 14:39:23 +010085 - name: xenial-20177
Martin Polreich9824fa72017-03-30 10:12:02 +020086 driver_config:
Martin Polreicha5e14202018-11-30 14:39:23 +010087 image: *xenial-20177
88 platform: ubuntu
89
Martin Polreich9824fa72017-03-30 10:12:02 +020090suites:
Martin Polreichfde97522019-10-07 15:34:54 +020091<% for os_version in ['pike','queens','rocky'] %>
sgarbuzf59a3af2019-02-14 17:30:08 +020092 - name: server_cluster_<%=os_version%>
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:
sgarbuzf59a3af2019-02-14 17:30:08 +020098 version: <%=os_version%>
Martin Polreich9824fa72017-03-30 10:12:02 +020099 pillars-from-files:
100 aodh.sls: tests/pillar/server_cluster.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200101 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich9824fa72017-03-30 10:12:02 +0200102
sgarbuzf59a3af2019-02-14 17:30:08 +0200103 - name: server_single_<%=os_version%>
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:
sgarbuzf59a3af2019-02-14 17:30:08 +0200109 version: <%=os_version%>
Martin Polreich9824fa72017-03-30 10:12:02 +0200110 pillars-from-files:
111 aodh.sls: tests/pillar/server_single.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200112 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000113
sgarbuzf59a3af2019-02-14 17:30:08 +0200114 - name: server_cluster_ssl_<%=os_version%>
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000115 provisioner:
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000116 pillars:
Martin Polreicha5e14202018-11-30 14:39:23 +0100117 release.sls:
118 aodh:
119 server:
sgarbuzf59a3af2019-02-14 17:30:08 +0200120 version: <%=os_version%>
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000121 top.sls:
122 base:
123 "*":
124 - linux_repo_openstack
125 - aodh
126 - release
127 - ssl
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000128 pillars-from-files:
Martin Polreicha5e14202018-11-30 14:39:23 +0100129 aodh.sls: tests/pillar/server_cluster.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200130 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreicha5e14202018-11-30 14:39:23 +0100131
sgarbuzf59a3af2019-02-14 17:30:08 +0200132 - name: server_single_ssl_<%=os_version%>
Martin Polreicha5e14202018-11-30 14:39:23 +0100133 provisioner:
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000134 pillars:
Martin Polreicha5e14202018-11-30 14:39:23 +0100135 release.sls:
136 aodh:
137 server:
sgarbuzf59a3af2019-02-14 17:30:08 +0200138 version: <%=os_version%>
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000139 top.sls:
140 base:
141 "*":
142 - linux_repo_openstack
143 - aodh
144 - release
145 - ssl
Martin Polreicha5e14202018-11-30 14:39:23 +0100146 pillars-from-files:
147 aodh.sls: tests/pillar/server_single.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200148 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
149<% end %>
Martin Polreich9824fa72017-03-30 10:12:02 +0200150# vim: ft=yaml sw=2 ts=2 sts=2 tw=125