Martin Polreich | 848c00b | 2017-04-13 13:54:47 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: etcd.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: etcd |
| 15 | grains: |
| 16 | noservices: True |
| 17 | state_top: |
| 18 | base: |
| 19 | "*": |
| 20 | - linux |
| 21 | - etcd |
| 22 | pillars: |
| 23 | top.sls: |
| 24 | base: |
| 25 | "*": |
| 26 | - debian_etcd_repo |
| 27 | - etcd |
| 28 | dependencies: |
| 29 | - name: linux |
| 30 | repo: git |
| 31 | source: https://github.com/salt-formulas/salt-formula-linux.git |
| 32 | pillars-from-files: |
| 33 | debian_etcd_repo.sls: tests/pillar/repo_etcd.sls |
| 34 | |
| 35 | verifier: |
| 36 | name: inspec |
| 37 | sudo: true |
| 38 | |
| 39 | platforms: |
Martin Polreich | 84c0c09 | 2018-02-16 14:56:17 +0100 | [diff] [blame] | 40 | - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %> |
Martin Polreich | 848c00b | 2017-04-13 13:54:47 +0200 | [diff] [blame] | 41 | driver_config: |
Martin Polreich | a486bf4 | 2018-04-11 13:02:16 +0200 | [diff] [blame] | 42 | image: <%=ENV['PLATFORM'] || 'epcim/salt:saltstack-ubuntu-xenial-salt-stable'%> |
Martin Polreich | 848c00b | 2017-04-13 13:54:47 +0200 | [diff] [blame] | 43 | platform: ubuntu |
| 44 | |
| 45 | suites: |
| 46 | |
| 47 | - name: cluster |
| 48 | provisioner: |
| 49 | pillars-from-files: |
| 50 | etcd.sls: tests/pillar/cluster.sls |
| 51 | |
| 52 | - name: proxy |
| 53 | provisioner: |
| 54 | pillars-from-files: |
| 55 | etcd.sls: tests/pillar/proxy.sls |
| 56 | |
| 57 | - name: single |
| 58 | provisioner: |
| 59 | pillars-from-files: |
| 60 | etcd.sls: tests/pillar/single.sls |
| 61 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |