blob: dbb947408abdbcf6a006712de97a178f08647e12 [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
17 state_top:
18 base:
19 "*":
20 - linux
21 - galera
22 pillars:
23 top.sls:
24 base:
25 "*":
26 - galera
27 - galeracluster_debian_repo
28 pillars-from-files:
29 galeracluster_debian_repo.sls: tests/pillar/repo_galeracluster.sls
30 dependencies:
31 - name: mysql
32 repo: git
33 source: https://github.com/salt-formulas/salt-formula-mysql.git
34 dependencies:
35 - name: linux
36 repo: git
37 source: https://github.com/salt-formulas/salt-formula-linux.git
38
39verifier:
40 name: inspec
41 sudo: true
42
43platforms:
44 - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
45 driver_config:
46 image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
47 platform: ubuntu
48
49suites:
50
51 - name: master_cluster
52 provisioner:
53 pillars-from-files:
54 galera.sls: tests/pillar/master_cluster.sls
55
56 - name: slave_cluster
57 provisioner:
58 pillars-from-files:
59 galera.sls: tests/pillar/slave_cluster.sls
60# vim: ft=yaml sw=2 ts=2 sts=2 tw=125