blob: 40d0d571aee8261e4625b7c7ae4e6b55bc8803ff [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
Vasyl Saienko912321e2018-09-28 13:26:33 +000021 - name: apache
22 repo: git
23 source: https://github.com/salt-formulas/salt-formula-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 release.sls:
31 aodh:
32 server:
33 version: <%= ENV['OS_VERSION'] || 'pike' %>
34 ssl.sls:
35 aodh:
36 server:
37 identity:
38 protocol: https
39 database:
Oleksandr Shyshko0b912d82018-09-04 18:47:40 +030040 x509:
41 enabled: True
42 ca_file: /etc/aodh/ssl/mysql/ca-cert.pem
43 key_file: /etc/aodh/ssl/mysql/client-key.pem
44 cert_file: /etc/aodh/ssl/mysql/client-cert.pem
45 cacert: |
46 -----BEGIN CERTIFICATE-----
47 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
48 -----END CERTIFICATE-----
49 cert: |
50 -----BEGIN CERTIFICATE-----
51 MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
52 -----END CERTIFICATE-----
53 key: |
54 -----BEGIN RSA PRIVATE KEY-----
55 MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
56 -----END RSA PRIVATE KEY-----
Mykyta Karpinef2a5542018-02-26 11:51:57 +000057 ssl:
58 enabled: True
Oleksandr Shyshko0b912d82018-09-04 18:47:40 +030059 cacert_file: /etc/aodh/ssl/mysql/ca-cert.pem
60 cacert: |
61 -----BEGIN CERTIFICATE-----
62 MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
63 -----END CERTIFICATE-----
Mykyta Karpinef2a5542018-02-26 11:51:57 +000064 message_queue:
65 port: 5671
66 ssl:
67 enabled: True
Martin Polreich9824fa72017-03-30 10:12:02 +020068 top.sls:
69 base:
70 "*":
Michael Polenchukda504ce2017-11-29 13:43:48 +040071 - linux_repo_openstack
Martin Polreich9824fa72017-03-30 10:12:02 +020072 - aodh
Mykyta Karpinef2a5542018-02-26 11:51:57 +000073 - release
Michael Polenchukda504ce2017-11-29 13:43:48 +040074 pillars-from-files:
Mykyta Karpinef2a5542018-02-26 11:51:57 +000075 linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%= ENV['OS_VERSION'] || 'pike' %>.sls
Martin Polreich9824fa72017-03-30 10:12:02 +020076
77verifier:
78 name: inspec
79 sudo: true
80
81platforms:
Martin Polreich914a8c92018-02-16 12:43:58 +010082 - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
Martin Polreich9824fa72017-03-30 10:12:02 +020083 driver_config:
Martin Polreich8f23bfa2018-11-20 15:06:43 +010084 image: <%=ENV['PLATFORM'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
Martin Polreich9824fa72017-03-30 10:12:02 +020085 platform: ubuntu
86
87suites:
88
89 - name: server_cluster
90 provisioner:
91 pillars-from-files:
92 aodh.sls: tests/pillar/server_cluster.sls
93
94 - name: server_single
95 provisioner:
96 pillars-from-files:
97 aodh.sls: tests/pillar/server_single.sls
Mykyta Karpinef2a5542018-02-26 11:51:57 +000098
99 - name: server_cluster_ssl
100 provisioner:
101 pillars-from-files:
102 aodh.sls: tests/pillar/server_cluster.sls
103 pillars:
104 top.sls:
105 base:
106 "*":
107 - linux_repo_openstack
108 - aodh
109 - release
110 - ssl
111
112 - name: server_single_ssl
113 provisioner:
114 pillars-from-files:
115 aodh.sls: tests/pillar/server_single.sls
116 pillars:
117 top.sls:
118 base:
119 "*":
120 - linux_repo_openstack
121 - aodh
122 - release
123 - ssl
124
Martin Polreich9824fa72017-03-30 10:12:02 +0200125# vim: ft=yaml sw=2 ts=2 sts=2 tw=125