Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: docker.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: docker |
| 15 | grains: |
| 16 | noservices: True |
| 17 | state_top: |
| 18 | base: |
| 19 | "*": |
| 20 | - linux |
| 21 | - docker |
| 22 | pillars: |
| 23 | top.sls: |
| 24 | base: |
| 25 | "*": |
| 26 | - docker_debian_repo |
| 27 | - docker |
| 28 | docker.sls: |
| 29 | docker: |
| 30 | client: |
| 31 | compose: |
| 32 | source: |
| 33 | engine: pip |
| 34 | pillars-from-files: |
| 35 | docker_debian_repo.sls: tests/pillar/repo_docker.sls |
| 36 | dependencies: |
| 37 | - name: linux |
| 38 | repo: git |
| 39 | source: https://github.com/salt-formulas/salt-formula-linux.git |
| 40 | |
| 41 | verifier: |
| 42 | name: inspec |
| 43 | sudo: true |
| 44 | |
| 45 | platforms: |
| 46 | - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%> |
| 47 | driver_config: |
| 48 | image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%> |
| 49 | platform: ubuntu |
| 50 | |
| 51 | suites: |
| 52 | |
| 53 | - name: client_compose |
| 54 | provisioner: |
| 55 | pillars-from-files: |
| 56 | docker.sls: tests/pillar/client_compose.sls |
| 57 | |
| 58 | - name: client_container |
| 59 | provisioner: |
| 60 | pillars-from-files: |
| 61 | docker.sls: tests/pillar/client_container.sls |
| 62 | |
| 63 | - name: host_single |
| 64 | provisioner: |
| 65 | pillars-from-files: |
| 66 | docker.sls: tests/pillar/host_single.sls |
| 67 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |