Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: galera.ci.local |
| 5 | use_sudo: false |
| 6 | |
| 7 | provisioner: |
| 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 Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 17 | dependencies: |
| 18 | - name: mysql |
| 19 | repo: git |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/mysql.git |
Martin Polreich | 0876f4f | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 21 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 22 | - name: linux |
| 23 | repo: git |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 24 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git |
Martin Polreich | 0876f4f | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 25 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 26 | state_top: |
| 27 | base: |
| 28 | "*": |
| 29 | - linux |
| 30 | - galera |
| 31 | pillars: |
| 32 | top.sls: |
| 33 | base: |
| 34 | "*": |
Petr Michalec | 5ff575c | 2017-11-06 15:37:05 +0100 | [diff] [blame] | 35 | - versions |
Vasyl Saienko | 812de58 | 2018-01-22 21:14:52 +0200 | [diff] [blame] | 36 | - repos_base |
Petr Michalec | 5ff575c | 2017-11-06 15:37:05 +0100 | [diff] [blame] | 37 | - repos |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 38 | - galera |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 39 | |
| 40 | verifier: |
| 41 | name: inspec |
| 42 | sudo: true |
| 43 | |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 44 | docker_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 Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 48 | platforms: |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 49 | - name: xenial-2017.7 |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 50 | driver_config: |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 51 | image: *xenial-20177 |
| 52 | platform: ubuntu |
| 53 | |
| 54 | - name: xenial-stable |
| 55 | driver_config: |
| 56 | image: *xenial-stable |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 57 | platform: ubuntu |
| 58 | |
| 59 | suites: |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 60 | - name: master_cluster_galera3_mysql56 |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 61 | provisioner: |
| 62 | pillars-from-files: |
| 63 | galera.sls: tests/pillar/master_cluster.sls |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 64 | 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 Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 80 | |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 81 | - name: slave_cluster_galera3_mysql56 |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 82 | provisioner: |
| 83 | pillars-from-files: |
| 84 | galera.sls: tests/pillar/slave_cluster.sls |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 85 | 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 Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 144 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |