Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: mysql.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: mysql |
| 15 | grains: |
| 16 | noservices: True |
| 17 | state_top: |
| 18 | base: |
| 19 | "*": |
| 20 | - mysql |
| 21 | pillars: |
| 22 | top.sls: |
| 23 | base: |
| 24 | "*": |
| 25 | - mysql |
| 26 | - mysqlver |
| 27 | mysqlver.sls: |
| 28 | mysql: |
| 29 | server: |
| 30 | enabled: true |
| 31 | version: "<%=ENV['MYSQL_VER'] || '5.7'%>" |
| 32 | |
| 33 | verifier: |
| 34 | name: inspec |
| 35 | sudo: true |
| 36 | |
| 37 | |
| 38 | platforms: |
Martin Polreich | bfae8f3 | 2018-02-21 11:58:40 +0100 | [diff] [blame] | 39 | - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %> |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 40 | driver_config: |
Martin Polreich | ba591ed | 2018-11-20 15:09:26 +0100 | [diff] [blame] | 41 | image: <%=ENV['PLATFORM'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 42 | platform: ubuntu |
| 43 | |
| 44 | suites: |
| 45 | |
| 46 | - name: replication_both |
| 47 | provisioner: |
| 48 | pillars-from-files: |
| 49 | mysql.sls: tests/pillar/replication_both.sls |
| 50 | |
| 51 | - name: replication_master |
| 52 | provisioner: |
| 53 | pillars-from-files: |
| 54 | mysql.sls: tests/pillar/replication_master.sls |
| 55 | |
| 56 | - name: replication_slave |
| 57 | provisioner: |
| 58 | pillars-from-files: |
| 59 | mysql.sls: tests/pillar/replication_slave.sls |
| 60 | |
| 61 | - name: server_client_database |
| 62 | provisioner: |
| 63 | pillars-from-files: |
| 64 | mysql.sls: tests/pillar/server_client_database.sls |
| 65 | |
| 66 | - name: server_client_user |
| 67 | provisioner: |
| 68 | pillars-from-files: |
| 69 | mysql.sls: tests/pillar/server_client_user.sls |
| 70 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |