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 |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 27 | |
| 28 | verifier: |
| 29 | name: inspec |
| 30 | sudo: true |
| 31 | |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 32 | docker_images: |
| 33 | - &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 | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 34 | |
| 35 | platforms: |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 36 | - name: xenial-2017.7 |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 37 | driver_config: |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 38 | image: *xenial-20177 |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 39 | platform: ubuntu |
| 40 | |
| 41 | suites: |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 42 | <% for mysql_version in ['5.7'] %> |
| 43 | - name: replication_master_<%=mysql_version%> |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 44 | provisioner: |
| 45 | pillars-from-files: |
| 46 | mysql.sls: tests/pillar/replication_master.sls |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 47 | pillars: |
| 48 | mysqlver.sls: |
| 49 | mysql: |
| 50 | server: |
| 51 | enabled: true |
| 52 | version: "<%=mysql_version%>" |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 53 | |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 54 | - name: replication_slave_<%=mysql_version%> |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 55 | provisioner: |
| 56 | pillars-from-files: |
| 57 | mysql.sls: tests/pillar/replication_slave.sls |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 58 | pillars: |
| 59 | mysqlver.sls: |
| 60 | mysql: |
| 61 | server: |
| 62 | enabled: true |
| 63 | version: "<%=mysql_version%>" |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 64 | |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 65 | - name: server_client_database_<%=mysql_version%> |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 66 | provisioner: |
| 67 | pillars-from-files: |
| 68 | mysql.sls: tests/pillar/server_client_database.sls |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 69 | pillars: |
| 70 | mysqlver.sls: |
| 71 | mysql: |
| 72 | server: |
| 73 | enabled: true |
| 74 | version: "<%=mysql_version%>" |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 75 | |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 76 | - name: server_client_user_<%=mysql_version%> |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 77 | provisioner: |
| 78 | pillars-from-files: |
| 79 | mysql.sls: tests/pillar/server_client_user.sls |
Martin Polreich | 7acd6b9 | 2019-10-15 14:25:44 +0200 | [diff] [blame] | 80 | pillars: |
| 81 | mysqlver.sls: |
| 82 | mysql: |
| 83 | server: |
| 84 | enabled: true |
| 85 | version: "<%=mysql_version%>" |
| 86 | <% end %> |
Martin Polreich | 6ca7c3f | 2017-08-30 15:07:57 +0200 | [diff] [blame] | 87 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |