blob: 6b4b820f10eabb8bd431a7a83471dc34993b07cb [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
Martin Polreichc626fae2018-12-13 15:56:59 +010020 source: https://gerrit.mcp.mirantis.com/salt-formulas/mysql.git
Petr Michalec89c8c3f2017-05-22 17:19:22 +020021 - name: linux
22 repo: git
Martin Polreichc626fae2018-12-13 15:56:59 +010023 source: https://gerrit.mcp.mirantis.com/salt-formulas/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
Vasyl Saienko812de582018-01-22 21:14:52 +020034 - repos_base
Petr Michalec5ff575c2017-11-06 15:37:05 +010035 - repos
Martin Polreich8933a6c2017-04-11 14:55:08 +020036 - galera
Martin Polreich8933a6c2017-04-11 14:55:08 +020037
38verifier:
39 name: inspec
40 sudo: true
41
Martin Polreichc626fae2018-12-13 15:56:59 +010042docker_images:
43 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
44 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
45
Martin Polreich8933a6c2017-04-11 14:55:08 +020046platforms:
Martin Polreichc626fae2018-12-13 15:56:59 +010047 - name: xenial-2017.7
Martin Polreich8933a6c2017-04-11 14:55:08 +020048 driver_config:
Martin Polreichc626fae2018-12-13 15:56:59 +010049 image: *xenial-20177
50 platform: ubuntu
51
52 - name: xenial-stable
53 driver_config:
54 image: *xenial-stable
Martin Polreich8933a6c2017-04-11 14:55:08 +020055 platform: ubuntu
56
57suites:
Martin Polreichc626fae2018-12-13 15:56:59 +010058 - name: master_cluster_galera3_mysql56
Martin Polreich8933a6c2017-04-11 14:55:08 +020059 provisioner:
60 pillars-from-files:
61 galera.sls: tests/pillar/master_cluster.sls
Martin Polreichc626fae2018-12-13 15:56:59 +010062 repos.sls: tests/pillar/repo_galeracluster.sls
63 pillars:
64 versions.sls:
65 galera:
66 version:
67 mysql: '5.6'
68 galera: '3'
69 repos_base.sls:
70 linux:
71 system:
72 enabled: true
73 repo:
74 galeracluster:
75 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
76 mysql-wsrep:
77 source: deb http://releases.galeracluster.com/mysql-wsrep-5.6/ubuntu {{ grains.get('oscodename') }} main
Martin Polreich8933a6c2017-04-11 14:55:08 +020078
Martin Polreichc626fae2018-12-13 15:56:59 +010079 - name: slave_cluster_galera3_mysql56
Martin Polreich8933a6c2017-04-11 14:55:08 +020080 provisioner:
81 pillars-from-files:
82 galera.sls: tests/pillar/slave_cluster.sls
Martin Polreichc626fae2018-12-13 15:56:59 +010083 repos.sls: tests/pillar/repo_galeracluster.sls
84 pillars:
85 versions.sls:
86 galera:
87 version:
88 mysql: '5.6'
89 galera: '3'
90 repos_base.sls:
91 linux:
92 system:
93 enabled: true
94 repo:
95 galeracluster:
96 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
97 mysql-wsrep:
98 source: deb http://releases.galeracluster.com/mysql-wsrep-5.6/ubuntu {{ grains.get('oscodename') }} main
99
100 - name: master_cluster_galera3_mysql57
101 provisioner:
102 pillars-from-files:
103 galera.sls: tests/pillar/master_cluster.sls
104 repos.sls: tests/pillar/repo_galeracluster.sls
105 pillars:
106 versions.sls:
107 galera:
108 version:
109 mysql: '5.7'
110 galera: '3'
111 repos_base.sls:
112 linux:
113 system:
114 enabled: true
115 repo:
116 galeracluster:
117 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
118 mysql-wsrep:
119 source: deb http://releases.galeracluster.com/mysql-wsrep-5.7/ubuntu {{ grains.get('oscodename') }} main
120
121 - name: slave_cluster_galera3_mysql57
122 provisioner:
123 pillars-from-files:
124 galera.sls: tests/pillar/slave_cluster.sls
125 repos.sls: tests/pillar/repo_galeracluster.sls
126 pillars:
127 versions.sls:
128 galera:
129 version:
130 mysql: '5.7'
131 galera: '3'
132 repos_base.sls:
133 linux:
134 system:
135 enabled: true
136 repo:
137 galeracluster:
138 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
139 mysql-wsrep:
140 source: deb http://releases.galeracluster.com/mysql-wsrep-5.7/ubuntu {{ grains.get('oscodename') }} main
141
Martin Polreich8933a6c2017-04-11 14:55:08 +0200142# vim: ft=yaml sw=2 ts=2 sts=2 tw=125