blob: e6d3f6b0743051fa792ae520711dd443edc5db02 [file] [log] [blame]
Martin Polreich8933a6c2017-04-11 14:55:08 +02001---
2driver:
3 name: docker
4 hostname: galera.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: galera
15 grains:
16 noservices: True
Petr Michalec89c8c3f2017-05-22 17:19:22 +020017 dependencies:
18 - name: mysql
19 repo: git
20 source: https://github.com/salt-formulas/salt-formula-mysql.git
21 - name: linux
22 repo: git
23 source: https://github.com/salt-formulas/salt-formula-linux.git
Martin Polreich8933a6c2017-04-11 14:55:08 +020024 state_top:
25 base:
26 "*":
27 - linux
28 - galera
29 pillars:
30 top.sls:
31 base:
32 "*":
Petr Michalec5ff575c2017-11-06 15:37:05 +010033 - versions
34 - repos
Martin Polreich8933a6c2017-04-11 14:55:08 +020035 - galera
Petr Michalec5ff575c2017-11-06 15:37:05 +010036 versions.sls:
37 galera:
38 version:
39 mysql: <%= ENV['MYSQL_VER'] || '5.6' %>
40 galera: <%= ENV['GALERA_VER'] || '3' %>
Martin Polreich8933a6c2017-04-11 14:55:08 +020041 pillars-from-files:
Petr Michalec5ff575c2017-11-06 15:37:05 +010042 repos.sls: tests/pillar/repo_galeracluster.sls
Martin Polreich8933a6c2017-04-11 14:55:08 +020043
44verifier:
45 name: inspec
46 sudo: true
47
48platforms:
49 - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
50 driver_config:
51 image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
52 platform: ubuntu
53
54suites:
55
56 - name: master_cluster
57 provisioner:
58 pillars-from-files:
59 galera.sls: tests/pillar/master_cluster.sls
60
61 - name: slave_cluster
62 provisioner:
63 pillars-from-files:
64 galera.sls: tests/pillar/slave_cluster.sls
65# vim: ft=yaml sw=2 ts=2 sts=2 tw=125