blob: 628303089ce9dc4387a1024a799b5215edb4ec88 [file] [log] [blame]
---
driver:
name: docker
hostname: mysql.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: mysql
grains:
noservices: True
state_top:
base:
"*":
- mysql
pillars:
top.sls:
base:
"*":
- mysql
- mysqlver
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 mysql_version in ['5.7'] %>
# - name: replication_both_"<%=mysql_version%>"
# provisioner:
# pillars-from-files:
# mysql.sls: tests/pillar/replication_both.sls
# pillars:
# mysqlver.sls:
# mysql:
# server:
# enabled: true
# version: "<%=mysql_version%>"
- name: replication_master_<%=mysql_version%>
provisioner:
pillars-from-files:
mysql.sls: tests/pillar/replication_master.sls
pillars:
mysqlver.sls:
mysql:
server:
enabled: true
version: "<%=mysql_version%>"
- name: replication_slave_<%=mysql_version%>
provisioner:
pillars-from-files:
mysql.sls: tests/pillar/replication_slave.sls
pillars:
mysqlver.sls:
mysql:
server:
enabled: true
version: "<%=mysql_version%>"
- name: server_client_database_<%=mysql_version%>
provisioner:
pillars-from-files:
mysql.sls: tests/pillar/server_client_database.sls
pillars:
mysqlver.sls:
mysql:
server:
enabled: true
version: "<%=mysql_version%>"
- name: server_client_user_<%=mysql_version%>
provisioner:
pillars-from-files:
mysql.sls: tests/pillar/server_client_user.sls
pillars:
mysqlver.sls:
mysql:
server:
enabled: true
version: "<%=mysql_version%>"
<% end %>
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125