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: |
Martin Polreich | fef2190 | 2019-10-14 17:25:13 +0200 | [diff] [blame] | 45 | - &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 Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 46 | |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 47 | platforms: |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 48 | - name: xenial-2017.7 |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 49 | driver_config: |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 50 | image: *xenial-20177 |
| 51 | platform: ubuntu |
| 52 | |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 53 | suites: |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 54 | - name: master_cluster_galera3_mysql56 |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 55 | provisioner: |
| 56 | pillars-from-files: |
| 57 | galera.sls: tests/pillar/master_cluster.sls |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 58 | 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 Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 74 | |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 75 | - name: slave_cluster_galera3_mysql56 |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 76 | provisioner: |
| 77 | pillars-from-files: |
| 78 | galera.sls: tests/pillar/slave_cluster.sls |
Martin Polreich | c626fae | 2018-12-13 15:56:59 +0100 | [diff] [blame] | 79 | 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 Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 138 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |