Petr Michalec | 5f41e6e | 2017-04-10 10:18:12 +0200 | [diff] [blame^] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: nova.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: nova |
| 15 | grains: |
| 16 | noservices: True |
| 17 | dependencies: |
| 18 | - name: linux |
| 19 | repo: git |
| 20 | source: https://github.com/salt-formulas/salt-formula-linux |
| 21 | state_top: |
| 22 | base: |
| 23 | "*": |
| 24 | - linux.system |
| 25 | - nova |
| 26 | pillars: |
| 27 | top.sls: |
| 28 | base: |
| 29 | "*": |
| 30 | - linux_repo_openstack |
| 31 | - nova |
| 32 | pillars-from-files: |
| 33 | linux_repo_openstack.sls: tests/pillar/repo_mcp_openstack.sls |
| 34 | |
| 35 | verifier: |
| 36 | name: inspec |
| 37 | sudo: true |
| 38 | |
| 39 | platforms: |
| 40 | - name: <%= ENV['PLATFORM'] || 'ubuntu-xenial' %> |
| 41 | driver_config: |
| 42 | image: <%= ENV['PLATFORM'] || 'trevorj/salty-whales:xenial' %> |
| 43 | platform: ubuntu |
| 44 | |
| 45 | suites: |
| 46 | |
| 47 | - name: compute_cluster |
| 48 | provisioner: |
| 49 | pillars-from-files: |
| 50 | nova.sls: tests/pillar/compute_cluster.sls |
| 51 | |
| 52 | - name: control_cluster |
| 53 | provisioner: |
| 54 | pillars-from-files: |
| 55 | nova.sls: tests/pillar/control_cluster.sls |
| 56 | |
| 57 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |