blob: de97c7ef46a1f8f9d34fc8450f5779692bd3b3a3 [file] [log] [blame]
---
driver:
name: docker
hostname: designate.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: designate
grains:
noservices: True
dependencies:
- name: keystone
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/keystone
branch: <%=ENV['GERRIT_BRANCH'] || 'release/2019.2.0' %>
- name: linux
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
branch: <%=ENV['GERRIT_BRANCH'] || 'release/2019.2.0' %>
- name: oslo_templates
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/oslo-templates
branch: <%=ENV['GERRIT_BRANCH'] || 'release/2019.2.0' %>
state_top:
base:
"*":
- linux
- designate
pillars:
ssl.sls:
designate:
server:
identity:
protocol: https
database:
x509:
enabled: True
ca_file: /etc/designate/ssl/mysql/ca-cert.pem
key_file: /etc/designate/ssl/mysql/client-key.pem
cert_file: /etc/designate/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/designate/ssl/mysql/ca-cert.pem
cacert: |
-----BEGIN CERTIFICATE-----
MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
-----END CERTIFICATE-----
message_queue:
port: 5671
ssl:
enabled: True
cacert_file: /etc/designate/ssl/mysql/ca-cert.pem
cacert: |
-----BEGIN CERTIFICATE-----
MIIFzzCCA7egAwIBAgIIe7zZ8hCvkgowDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
-----END CERTIFICATE-----
top.sls:
base:
"*":
- linux_repo_openstack
- designate
- release
verifier:
name: inspec
sudo: true
docker_images:
- &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%>
platforms:
- name: xenial-2017.7
driver_config:
image: *xenial-20177
platform: ubuntu
suites:
<% for os_version in ['pike','queens'] %>
- name: server_cluster_<%=os_version%>
provisioner:
pillars-from-files:
designate.sls: tests/pillar/server_cluster.sls
linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
pillars:
release.sls:
designate:
server:
version: <%=os_version%>
verifier:
inspec_tests:
- tests/integration/<%=os_version%>/server_cluster
- name: server_single_<%=os_version%>
provisioner:
pillars-from-files:
designate.sls: tests/pillar/server_single.sls
linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
pillars:
release.sls:
designate:
server:
version: <%=os_version%>
verifier:
inspec_tests:
- tests/integration/<%=os_version%>/server_single
- name: server_cluster_ssl_<%=os_version%>
provisioner:
pillars-from-files:
designate.sls: tests/pillar/server_cluster.sls
linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
pillars:
top.sls:
base:
"*":
- linux_repo_openstack
- designate
- release
- ssl
release.sls:
designate:
server:
version: <%=os_version%>
verifier:
inspec_tests:
- tests/integration/<%=os_version%>/server_cluster
attributes:
ssl: true
- name: server_single_ssl_<%=os_version%>
provisioner:
pillars-from-files:
designate.sls: tests/pillar/server_single.sls
linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack_<%=os_version%>.sls
pillars:
top.sls:
base:
"*":
- linux_repo_openstack
- designate
- release
- ssl
release.sls:
designate:
server:
version: <%=os_version%>
verifier:
inspec_tests:
- tests/integration/<%=os_version%>/server_single
attributes:
ssl: true
<% end %>
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125