blob: 7cf485afa01cf333332af108610b84e2d6f49fff [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:
Martin Polreichfef21902019-10-14 17:25:13 +020045 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%>
Martin Polreichc626fae2018-12-13 15:56:59 +010046
Martin Polreich8933a6c2017-04-11 14:55:08 +020047platforms:
Martin Polreichc626fae2018-12-13 15:56:59 +010048 - name: xenial-2017.7
Martin Polreich8933a6c2017-04-11 14:55:08 +020049 driver_config:
Martin Polreichc626fae2018-12-13 15:56:59 +010050 image: *xenial-20177
51 platform: ubuntu
52
Martin Polreich8933a6c2017-04-11 14:55:08 +020053suites:
Martin Polreichc626fae2018-12-13 15:56:59 +010054 - name: master_cluster_galera3_mysql56
Martin Polreich8933a6c2017-04-11 14:55:08 +020055 provisioner:
56 pillars-from-files:
57 galera.sls: tests/pillar/master_cluster.sls
Martin Polreichc626fae2018-12-13 15:56:59 +010058 repos.sls: tests/pillar/repo_galeracluster.sls
59 pillars:
60 versions.sls:
61 galera:
62 version:
63 mysql: '5.6'
64 galera: '3'
65 repos_base.sls:
66 linux:
67 system:
68 enabled: true
69 repo:
70 galeracluster:
71 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
72 mysql-wsrep:
73 source: deb http://releases.galeracluster.com/mysql-wsrep-5.6/ubuntu {{ grains.get('oscodename') }} main
Martin Polreich8933a6c2017-04-11 14:55:08 +020074
Martin Polreichc626fae2018-12-13 15:56:59 +010075 - name: slave_cluster_galera3_mysql56
Martin Polreich8933a6c2017-04-11 14:55:08 +020076 provisioner:
77 pillars-from-files:
78 galera.sls: tests/pillar/slave_cluster.sls
Martin Polreichc626fae2018-12-13 15:56:59 +010079 repos.sls: tests/pillar/repo_galeracluster.sls
80 pillars:
81 versions.sls:
82 galera:
83 version:
84 mysql: '5.6'
85 galera: '3'
86 repos_base.sls:
87 linux:
88 system:
89 enabled: true
90 repo:
91 galeracluster:
92 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
93 mysql-wsrep:
94 source: deb http://releases.galeracluster.com/mysql-wsrep-5.6/ubuntu {{ grains.get('oscodename') }} main
95
96 - name: master_cluster_galera3_mysql57
97 provisioner:
98 pillars-from-files:
99 galera.sls: tests/pillar/master_cluster.sls
100 repos.sls: tests/pillar/repo_galeracluster.sls
101 pillars:
102 versions.sls:
103 galera:
104 version:
105 mysql: '5.7'
106 galera: '3'
107 repos_base.sls:
108 linux:
109 system:
110 enabled: true
111 repo:
112 galeracluster:
113 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
114 mysql-wsrep:
115 source: deb http://releases.galeracluster.com/mysql-wsrep-5.7/ubuntu {{ grains.get('oscodename') }} main
116
117 - name: slave_cluster_galera3_mysql57
118 provisioner:
119 pillars-from-files:
120 galera.sls: tests/pillar/slave_cluster.sls
121 repos.sls: tests/pillar/repo_galeracluster.sls
122 pillars:
123 versions.sls:
124 galera:
125 version:
126 mysql: '5.7'
127 galera: '3'
128 repos_base.sls:
129 linux:
130 system:
131 enabled: true
132 repo:
133 galeracluster:
134 source: deb http://releases.galeracluster.com/galera-3/ubuntu {{ grains.get('oscodename') }} main
135 mysql-wsrep:
136 source: deb http://releases.galeracluster.com/mysql-wsrep-5.7/ubuntu {{ grains.get('oscodename') }} main
137
Martin Polreich8933a6c2017-04-11 14:55:08 +0200138# vim: ft=yaml sw=2 ts=2 sts=2 tw=125