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 |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 21 | - name: linux |
| 22 | repo: git |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 23 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 24 | state_top: |
| 25 | base: |
| 26 | "*": |
| 27 | - linux |
| 28 | - galera |
| 29 | pillars: |
| 30 | top.sls: |
| 31 | base: |
| 32 | "*": |
Petr Michalec | 5ff575c | 2017-11-06 15:37:05 +0100 | [diff] [blame] | 33 | - versions |
Vasyl Saienko | 812de58 | 2018-01-22 21:14:52 +0200 | [diff] [blame] | 34 | - repos_base |
Petr Michalec | 5ff575c | 2017-11-06 15:37:05 +0100 | [diff] [blame] | 35 | - repos |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 36 | - galera |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 37 | |
| 38 | verifier: |
| 39 | name: inspec |
| 40 | sudo: true |
| 41 | |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 42 | docker_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 Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 46 | platforms: |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 47 | - name: xenial-2017.7 |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 48 | driver_config: |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 49 | image: *xenial-20177 |
| 50 | platform: ubuntu |
| 51 | |
| 52 | - name: xenial-stable |
| 53 | driver_config: |
| 54 | image: *xenial-stable |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 55 | platform: ubuntu |
| 56 | |
| 57 | suites: |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 58 | - name: master_cluster_galera3_mysql56 |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 59 | provisioner: |
| 60 | pillars-from-files: |
| 61 | galera.sls: tests/pillar/master_cluster.sls |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 62 | 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 Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 78 | |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 79 | - name: slave_cluster_galera3_mysql56 |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 80 | provisioner: |
| 81 | pillars-from-files: |
| 82 | galera.sls: tests/pillar/slave_cluster.sls |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 83 | 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 Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 142 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |