| --- |
| driver: |
| name: docker |
| hostname: etcd.ci.local |
| use_sudo: false |
| |
| provisioner: |
| name: salt_solo |
| salt_install: bootstrap |
| salt_bootstrap_url: https://bootstrap.saltstack.com |
| salt_version: latest |
| require_chef: false |
| log_level: error |
| formula: etcd |
| grains: |
| noservices: True |
| state_top: |
| base: |
| "*": |
| - linux |
| - etcd |
| pillars: |
| top.sls: |
| base: |
| "*": |
| - debian_etcd_repo |
| - etcd |
| dependencies: |
| - name: linux |
| repo: git |
| source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git |
| pillars-from-files: |
| debian_etcd_repo.sls: tests/pillar/repo_etcd.sls |
| |
| verifier: |
| name: inspec |
| sudo: true |
| |
| docker_images: |
| - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| |
| platforms: |
| - name: xenial-2017.7 |
| driver_config: |
| image: *xenial-20177 |
| platform: ubuntu |
| |
| - name: xenial-stable |
| driver_config: |
| image: *xenial-stable |
| platform: ubuntu |
| |
| suites: |
| |
| - name: cluster |
| provisioner: |
| pillars-from-files: |
| etcd.sls: tests/pillar/cluster.sls |
| |
| - name: proxy |
| provisioner: |
| pillars-from-files: |
| etcd.sls: tests/pillar/proxy.sls |
| |
| - name: single |
| provisioner: |
| pillars-from-files: |
| etcd.sls: tests/pillar/single.sls |
| # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |