blob: 44ccfb761c8155b3642ef1eb05c503bef98649ac [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
20 source: https://github.com/salt-formulas/salt-formula-linux
Martin Polreich9824fa72017-03-30 10:12:02 +020021 state_top:
22 base:
23 "*":
Michael Polenchukda504ce2017-11-29 13:43:48 +040024 - linux.system
Martin Polreich9824fa72017-03-30 10:12:02 +020025 - aodh
26 pillars:
Mykyta Karpinef2a5542018-02-26 11:51:57 +000027 release.sls:
28 aodh:
29 server:
30 version: <%= ENV['OS_VERSION'] || 'pike' %>
31 ssl.sls:
32 aodh:
33 server:
34 identity:
35 protocol: https
36 database:
Oleksandr Shyshko0b912d82018-09-04 18:47:40 +030037 x509:
38 enabled: True
39 ca_file: /etc/aodh/ssl/mysql/ca-cert.pem
40 key_file: /etc/aodh/ssl/mysql/client-key.pem
41 cert_file: /etc/aodh/ssl/mysql/client-cert.pem
42 cacert: |
43 -----BEGIN CERTIFICATE-----
44 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
45 -----END CERTIFICATE-----
46 cert: |
47 -----BEGIN CERTIFICATE-----
48 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
49 -----END CERTIFICATE-----
50 key: |
51 -----BEGIN RSA PRIVATE KEY-----
52 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
53 -----END RSA PRIVATE KEY-----
Mykyta Karpinef2a5542018-02-26 11:51:57 +000054 ssl:
55 enabled: True
Oleksandr Shyshko0b912d82018-09-04 18:47:40 +030056 cacert_file: /etc/aodh/ssl/mysql/ca-cert.pem
57 cacert: |
58 -----BEGIN CERTIFICATE-----
59 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
60 -----END CERTIFICATE-----
Mykyta Karpinef2a5542018-02-26 11:51:57 +000061 message_queue:
62 port: 5671
63 ssl:
64 enabled: True
Martin Polreich9824fa72017-03-30 10:12:02 +020065 top.sls:
66 base:
67 "*":
Michael Polenchukda504ce2017-11-29 13:43:48 +040068 - linux_repo_openstack
Martin Polreich9824fa72017-03-30 10:12:02 +020069 - aodh
Mykyta Karpinef2a5542018-02-26 11:51:57 +000070 - release
Michael Polenchukda504ce2017-11-29 13:43:48 +040071 pillars-from-files:
Mykyta Karpinef2a5542018-02-26 11:51:57 +000072 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%= ENV['OS_VERSION'] || 'pike' %>.sls
Martin Polreich9824fa72017-03-30 10:12:02 +020073
74verifier:
75 name: inspec
76 sudo: true
77
78platforms:
Martin Polreich914a8c92018-02-16 12:43:58 +010079 - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
Martin Polreich9824fa72017-03-30 10:12:02 +020080 driver_config:
Martin Polreichc24ab222018-04-06 09:49:10 +020081 image: <%=ENV['PLATFORM'] || 'epcim/salt:saltstack-ubuntu-xenial-salt-stable'%>
Martin Polreich9824fa72017-03-30 10:12:02 +020082 platform: ubuntu
83
84suites:
85
86 - name: server_cluster
87 provisioner:
88 pillars-from-files:
89 aodh.sls: tests/pillar/server_cluster.sls
90
91 - name: server_single
92 provisioner:
93 pillars-from-files:
94 aodh.sls: tests/pillar/server_single.sls
Mykyta Karpinef2a5542018-02-26 11:51:57 +000095
96 - name: server_cluster_ssl
97 provisioner:
98 pillars-from-files:
99 aodh.sls: tests/pillar/server_cluster.sls
100 pillars:
101 top.sls:
102 base:
103 "*":
104 - linux_repo_openstack
105 - aodh
106 - release
107 - ssl
108
109 - name: server_single_ssl
110 provisioner:
111 pillars-from-files:
112 aodh.sls: tests/pillar/server_single.sls
113 pillars:
114 top.sls:
115 base:
116 "*":
117 - linux_repo_openstack
118 - aodh
119 - release
120 - ssl
121
Martin Polreich9824fa72017-03-30 10:12:02 +0200122# vim: ft=yaml sw=2 ts=2 sts=2 tw=125