blob: b61497a9adb5cfba26c8728a5d04168bb794c002 [file] [log] [blame]
---
driver:
name: docker
hostname: aodh.ci.local
use_sudo: false
provisioner:
name: salt_solo
salt_install: bootstrap
salt_bootstrap_url: https://bootstrap.saltstack.com
salt_version: latest
require_chef: false
log_level: error
formula: aodh
grains:
noservices: True
dependencies:
- name: linux
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
- name: apache
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/apache
branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
- name: oslo_templates
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
state_top:
base:
"*":
- linux.system
- aodh
pillars:
ssl.sls:
aodh:
server:
identity:
protocol: https
database:
x509:
enabled: True
ca_file: /etc/aodh/ssl/mysql/ca-cert.pem
key_file: /etc/aodh/ssl/mysql/client-key.pem
cert_file: /etc/aodh/ssl/mysql/client-cert.pem
cacert: |
-----BEGIN CERTIFICATE-----
MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
-----END CERTIFICATE-----
cert: |
-----BEGIN CERTIFICATE-----
MIIGSjCCBDKgAwIBAgIJAIHRPs2rZbLvMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
-----END CERTIFICATE-----
key: |
-----BEGIN RSA PRIVATE KEY-----
MIIJKQIBAAKCAgEAq0m4kOIITliYea07yJnlSRNY0o6NaykiteSfHGauiub4lNQJ
-----END RSA PRIVATE KEY-----
ssl:
enabled: True
cacert_file: /etc/aodh/ssl/mysql/ca-cert.pem
cacert: |
-----BEGIN CERTIFICATE-----
MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
-----END CERTIFICATE-----
message_queue:
port: 5671
ssl:
enabled: True
top.sls:
base:
"*":
- linux_repo_openstack
- aodh
- release
verifier:
name: inspec
sudo: true
docker_images:
- &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
- &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
platforms:
- name: xenial-20177
driver_config:
image: *xenial-20177
platform: ubuntu
- name: xenial-stable
driver_config:
image: *xenial-stable
platform: ubuntu
suites:
<% for os_version in ['ocata','pike','queens','rocky'] %>
- name: server_cluster_<%=os_version%>
provisioner:
pillars:
release.sls:
aodh:
server:
version: <%=os_version%>
pillars-from-files:
aodh.sls: tests/pillar/server_cluster.sls
linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
- name: server_single_<%=os_version%>
provisioner:
pillars:
release.sls:
aodh:
server:
version: <%=os_version%>
pillars-from-files:
aodh.sls: tests/pillar/server_single.sls
linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
- name: server_cluster_ssl_<%=os_version%>
provisioner:
pillars:
release.sls:
aodh:
server:
version: <%=os_version%>
top.sls:
base:
"*":
- linux_repo_openstack
- aodh
- release
- ssl
pillars-from-files:
aodh.sls: tests/pillar/server_cluster.sls
linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
- name: server_single_ssl_<%=os_version%>
provisioner:
pillars:
release.sls:
aodh:
server:
version: <%=os_version%>
top.sls:
base:
"*":
- linux_repo_openstack
- aodh
- release
- ssl
pillars-from-files:
aodh.sls: tests/pillar/server_single.sls
linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
<% end %>
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125