blob: 1c729faa238612b27ba99ce7e54efb972d6d4bc7 [file] [log] [blame]
---
driver:
name: docker
hostname: galera.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: galera
grains:
noservices: True
dependencies:
- name: mysql
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/mysql.git
branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
- name: linux
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git
branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
state_top:
base:
"*":
- linux
- galera
pillars:
top.sls:
base:
"*":
- versions
- repos_base
- repos
- galera
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-2017.7
driver_config:
image: *xenial-20177
platform: ubuntu
- name: xenial-stable
driver_config:
image: *xenial-stable
platform: ubuntu
suites:
- name: master_cluster_galera3_mysql56
provisioner:
pillars-from-files:
galera.sls: tests/pillar/master_cluster.sls
repos.sls: tests/pillar/repo_galeracluster.sls
pillars:
versions.sls:
galera:
version:
mysql: '5.6'
galera: '3'
repos_base.sls:
linux:
system:
enabled: true
repo:
galeracluster:
source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
mysql-wsrep:
source: deb http://releases.galeracluster.com/mysql-wsrep-5.6/ubuntu {{ grains.get('oscodename') }} main
- name: slave_cluster_galera3_mysql56
provisioner:
pillars-from-files:
galera.sls: tests/pillar/slave_cluster.sls
repos.sls: tests/pillar/repo_galeracluster.sls
pillars:
versions.sls:
galera:
version:
mysql: '5.6'
galera: '3'
repos_base.sls:
linux:
system:
enabled: true
repo:
galeracluster:
source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
mysql-wsrep:
source: deb http://releases.galeracluster.com/mysql-wsrep-5.6/ubuntu {{ grains.get('oscodename') }} main
- name: master_cluster_galera3_mysql57
provisioner:
pillars-from-files:
galera.sls: tests/pillar/master_cluster.sls
repos.sls: tests/pillar/repo_galeracluster.sls
pillars:
versions.sls:
galera:
version:
mysql: '5.7'
galera: '3'
repos_base.sls:
linux:
system:
enabled: true
repo:
galeracluster:
source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
mysql-wsrep:
source: deb http://releases.galeracluster.com/mysql-wsrep-5.7/ubuntu {{ grains.get('oscodename') }} main
- name: slave_cluster_galera3_mysql57
provisioner:
pillars-from-files:
galera.sls: tests/pillar/slave_cluster.sls
repos.sls: tests/pillar/repo_galeracluster.sls
pillars:
versions.sls:
galera:
version:
mysql: '5.7'
galera: '3'
repos_base.sls:
linux:
system:
enabled: true
repo:
galeracluster:
source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
mysql-wsrep:
source: deb http://releases.galeracluster.com/mysql-wsrep-5.7/ubuntu {{ grains.get('oscodename') }} main
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125