blob: a1a7ae964b274e8bfaddcde980302216871fb916 [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
sgarbuzf59a3af2019-02-14 17:30:08 +020024 - name: oslo_templates
25 repo: git
26 source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
Martin Polreich9824fa72017-03-30 10:12:02 +020027 state_top:
28 base:
29 "*":
Michael Polenchukda504ce2017-11-29 13:43:48 +040030 - linux.system
Martin Polreich9824fa72017-03-30 10:12:02 +020031 - aodh
32 pillars:
Mykyta Karpinef2a5542018-02-26 11:51:57 +000033 ssl.sls:
34 aodh:
35 server:
36 identity:
37 protocol: https
38 database:
Oleksandr Shyshko0b912d82018-09-04 18:47:40 +030039 x509:
40 enabled: True
41 ca_file: /etc/aodh/ssl/mysql/ca-cert.pem
42 key_file: /etc/aodh/ssl/mysql/client-key.pem
43 cert_file: /etc/aodh/ssl/mysql/client-cert.pem
44 cacert: |
45 -----BEGIN CERTIFICATE-----
46 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
47 -----END CERTIFICATE-----
48 cert: |
49 -----BEGIN CERTIFICATE-----
50 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
51 -----END CERTIFICATE-----
52 key: |
53 -----BEGIN RSA PRIVATE KEY-----
54 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
55 -----END RSA PRIVATE KEY-----
Mykyta Karpinef2a5542018-02-26 11:51:57 +000056 ssl:
57 enabled: True
Oleksandr Shyshko0b912d82018-09-04 18:47:40 +030058 cacert_file: /etc/aodh/ssl/mysql/ca-cert.pem
59 cacert: |
60 -----BEGIN CERTIFICATE-----
61 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
62 -----END CERTIFICATE-----
Mykyta Karpinef2a5542018-02-26 11:51:57 +000063 message_queue:
64 port: 5671
65 ssl:
66 enabled: True
Martin Polreich9824fa72017-03-30 10:12:02 +020067 top.sls:
68 base:
69 "*":
Michael Polenchukda504ce2017-11-29 13:43:48 +040070 - linux_repo_openstack
Martin Polreich9824fa72017-03-30 10:12:02 +020071 - aodh
Mykyta Karpinef2a5542018-02-26 11:51:57 +000072 - release
Martin Polreich9824fa72017-03-30 10:12:02 +020073
74verifier:
75 name: inspec
76 sudo: true
77
Martin Polreicha5e14202018-11-30 14:39:23 +010078docker_images:
79 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
80 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
81
Martin Polreich9824fa72017-03-30 10:12:02 +020082platforms:
Martin Polreicha5e14202018-11-30 14:39:23 +010083 - name: xenial-20177
Martin Polreich9824fa72017-03-30 10:12:02 +020084 driver_config:
Martin Polreicha5e14202018-11-30 14:39:23 +010085 image: *xenial-20177
86 platform: ubuntu
87
88 - name: xenial-stable
89 driver_config:
90 image: *xenial-stable
Martin Polreich9824fa72017-03-30 10:12:02 +020091 platform: ubuntu
92
93suites:
sgarbuzf59a3af2019-02-14 17:30:08 +020094<% for os_version in ['ocata','pike','queens','rocky'] %>
95 - name: server_cluster_<%=os_version%>
Martin Polreich9824fa72017-03-30 10:12:02 +020096 provisioner:
Martin Polreicha5e14202018-11-30 14:39:23 +010097 pillars:
98 release.sls:
99 aodh:
100 server:
sgarbuzf59a3af2019-02-14 17:30:08 +0200101 version: <%=os_version%>
Martin Polreich9824fa72017-03-30 10:12:02 +0200102 pillars-from-files:
103 aodh.sls: tests/pillar/server_cluster.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200104 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreich9824fa72017-03-30 10:12:02 +0200105
sgarbuzf59a3af2019-02-14 17:30:08 +0200106 - name: server_single_<%=os_version%>
Martin Polreich9824fa72017-03-30 10:12:02 +0200107 provisioner:
Martin Polreicha5e14202018-11-30 14:39:23 +0100108 pillars:
109 release.sls:
110 aodh:
111 server:
sgarbuzf59a3af2019-02-14 17:30:08 +0200112 version: <%=os_version%>
Martin Polreich9824fa72017-03-30 10:12:02 +0200113 pillars-from-files:
114 aodh.sls: tests/pillar/server_single.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200115 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000116
sgarbuzf59a3af2019-02-14 17:30:08 +0200117 - name: server_cluster_ssl_<%=os_version%>
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000118 provisioner:
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000119 pillars:
Martin Polreicha5e14202018-11-30 14:39:23 +0100120 release.sls:
121 aodh:
122 server:
sgarbuzf59a3af2019-02-14 17:30:08 +0200123 version: <%=os_version%>
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000124 top.sls:
125 base:
126 "*":
127 - linux_repo_openstack
128 - aodh
129 - release
130 - ssl
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000131 pillars-from-files:
Martin Polreicha5e14202018-11-30 14:39:23 +0100132 aodh.sls: tests/pillar/server_cluster.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200133 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
Martin Polreicha5e14202018-11-30 14:39:23 +0100134
sgarbuzf59a3af2019-02-14 17:30:08 +0200135 - name: server_single_ssl_<%=os_version%>
Martin Polreicha5e14202018-11-30 14:39:23 +0100136 provisioner:
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000137 pillars:
Martin Polreicha5e14202018-11-30 14:39:23 +0100138 release.sls:
139 aodh:
140 server:
sgarbuzf59a3af2019-02-14 17:30:08 +0200141 version: <%=os_version%>
Mykyta Karpinef2a5542018-02-26 11:51:57 +0000142 top.sls:
143 base:
144 "*":
145 - linux_repo_openstack
146 - aodh
147 - release
148 - ssl
Martin Polreicha5e14202018-11-30 14:39:23 +0100149 pillars-from-files:
150 aodh.sls: tests/pillar/server_single.sls
sgarbuzf59a3af2019-02-14 17:30:08 +0200151 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
152<% end %>
Martin Polreich9824fa72017-03-30 10:12:02 +0200153# vim: ft=yaml sw=2 ts=2 sts=2 tw=125