blob: 5ca774f856dc04e25cdfcca67ff6c7e9722e3354 [file] [log] [blame]
Martin Polreich6ca7c3f2017-08-30 15:07:57 +02001---
2driver:
3 name: docker
4 hostname: mysql.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: mysql
15 grains:
16 noservices: True
17 state_top:
18 base:
19 "*":
20 - mysql
21 pillars:
22 top.sls:
23 base:
24 "*":
25 - mysql
26 - mysqlver
27 mysqlver.sls:
28 mysql:
29 server:
30 enabled: true
31 version: "<%=ENV['MYSQL_VER'] || '5.7'%>"
32
33verifier:
34 name: inspec
35 sudo: true
36
37
38platforms:
Martin Polreichbfae8f32018-02-21 11:58:40 +010039 - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
Martin Polreich6ca7c3f2017-08-30 15:07:57 +020040 driver_config:
Martin Polreichba591ed2018-11-20 15:09:26 +010041 image: <%=ENV['PLATFORM'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
Martin Polreich6ca7c3f2017-08-30 15:07:57 +020042 platform: ubuntu
43
44suites:
45
46 - name: replication_both
47 provisioner:
48 pillars-from-files:
49 mysql.sls: tests/pillar/replication_both.sls
50
51 - name: replication_master
52 provisioner:
53 pillars-from-files:
54 mysql.sls: tests/pillar/replication_master.sls
55
56 - name: replication_slave
57 provisioner:
58 pillars-from-files:
59 mysql.sls: tests/pillar/replication_slave.sls
60
61 - name: server_client_database
62 provisioner:
63 pillars-from-files:
64 mysql.sls: tests/pillar/server_client_database.sls
65
66 - name: server_client_user
67 provisioner:
68 pillars-from-files:
69 mysql.sls: tests/pillar/server_client_user.sls
70# vim: ft=yaml sw=2 ts=2 sts=2 tw=125