blob: 1c729faa238612b27ba99ce7e54efb972d6d4bc7 [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
Martin Polreich0876f4f2019-04-10 08:21:44 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Petr Michalec89c8c3f2017-05-22 17:19:22 +020022 - name: linux
23 repo: git
Martin Polreichc626fae2018-12-13 15:56:59 +010024 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git
Martin Polreich0876f4f2019-04-10 08:21:44 +020025 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Martin Polreich8933a6c2017-04-11 14:55:08 +020026 state_top:
27 base:
28 "*":
29 - linux
30 - galera
31 pillars:
32 top.sls:
33 base:
34 "*":
Petr Michalec5ff575c2017-11-06 15:37:05 +010035 - versions
Vasyl Saienko812de582018-01-22 21:14:52 +020036 - repos_base
Petr Michalec5ff575c2017-11-06 15:37:05 +010037 - repos
Martin Polreich8933a6c2017-04-11 14:55:08 +020038 - galera
Martin Polreich8933a6c2017-04-11 14:55:08 +020039
40verifier:
41 name: inspec
42 sudo: true
43
Martin Polreichc626fae2018-12-13 15:56:59 +010044docker_images:
45 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
46 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
47
Martin Polreich8933a6c2017-04-11 14:55:08 +020048platforms:
Martin Polreichc626fae2018-12-13 15:56:59 +010049 - name: xenial-2017.7
Martin Polreich8933a6c2017-04-11 14:55:08 +020050 driver_config:
Martin Polreichc626fae2018-12-13 15:56:59 +010051 image: *xenial-20177
52 platform: ubuntu
53
54 - name: xenial-stable
55 driver_config:
56 image: *xenial-stable
Martin Polreich8933a6c2017-04-11 14:55:08 +020057 platform: ubuntu
58
59suites:
Martin Polreichc626fae2018-12-13 15:56:59 +010060 - name: master_cluster_galera3_mysql56
Martin Polreich8933a6c2017-04-11 14:55:08 +020061 provisioner:
62 pillars-from-files:
63 galera.sls: tests/pillar/master_cluster.sls
Martin Polreichc626fae2018-12-13 15:56:59 +010064 repos.sls: tests/pillar/repo_galeracluster.sls
65 pillars:
66 versions.sls:
67 galera:
68 version:
69 mysql: '5.6'
70 galera: '3'
71 repos_base.sls:
72 linux:
73 system:
74 enabled: true
75 repo:
76 galeracluster:
77 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
78 mysql-wsrep:
79 source: deb http://releases.galeracluster.com/mysql-wsrep-5.6/ubuntu {{ grains.get('oscodename') }} main
Martin Polreich8933a6c2017-04-11 14:55:08 +020080
Martin Polreichc626fae2018-12-13 15:56:59 +010081 - name: slave_cluster_galera3_mysql56
Martin Polreich8933a6c2017-04-11 14:55:08 +020082 provisioner:
83 pillars-from-files:
84 galera.sls: tests/pillar/slave_cluster.sls
Martin Polreichc626fae2018-12-13 15:56:59 +010085 repos.sls: tests/pillar/repo_galeracluster.sls
86 pillars:
87 versions.sls:
88 galera:
89 version:
90 mysql: '5.6'
91 galera: '3'
92 repos_base.sls:
93 linux:
94 system:
95 enabled: true
96 repo:
97 galeracluster:
98 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
99 mysql-wsrep:
100 source: deb http://releases.galeracluster.com/mysql-wsrep-5.6/ubuntu {{ grains.get('oscodename') }} main
101
102 - name: master_cluster_galera3_mysql57
103 provisioner:
104 pillars-from-files:
105 galera.sls: tests/pillar/master_cluster.sls
106 repos.sls: tests/pillar/repo_galeracluster.sls
107 pillars:
108 versions.sls:
109 galera:
110 version:
111 mysql: '5.7'
112 galera: '3'
113 repos_base.sls:
114 linux:
115 system:
116 enabled: true
117 repo:
118 galeracluster:
119 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
120 mysql-wsrep:
121 source: deb http://releases.galeracluster.com/mysql-wsrep-5.7/ubuntu {{ grains.get('oscodename') }} main
122
123 - name: slave_cluster_galera3_mysql57
124 provisioner:
125 pillars-from-files:
126 galera.sls: tests/pillar/slave_cluster.sls
127 repos.sls: tests/pillar/repo_galeracluster.sls
128 pillars:
129 versions.sls:
130 galera:
131 version:
132 mysql: '5.7'
133 galera: '3'
134 repos_base.sls:
135 linux:
136 system:
137 enabled: true
138 repo:
139 galeracluster:
140 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
141 mysql-wsrep:
142 source: deb http://releases.galeracluster.com/mysql-wsrep-5.7/ubuntu {{ grains.get('oscodename') }} main
143
Martin Polreich8933a6c2017-04-11 14:55:08 +0200144# vim: ft=yaml sw=2 ts=2 sts=2 tw=125