Petr Michalec | 8a0d52e | 2018-05-30 16:22:56 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: maas.ci.local |
| 5 | #socket: tcp://127.0.0.1:2376 |
| 6 | use_sudo: false |
| 7 | |
| 8 | |
| 9 | |
| 10 | provisioner: |
| 11 | name: salt_solo |
| 12 | salt_install: bootstrap |
| 13 | salt_bootstrap_url: https://bootstrap.saltstack.com |
| 14 | salt_version: latest |
| 15 | require_chef: false |
| 16 | formula: maas |
| 17 | log_level: info |
| 18 | state_top: |
| 19 | base: |
| 20 | "*": |
| 21 | - rsyslog |
| 22 | - postgresql |
| 23 | - maas |
| 24 | pillars: |
| 25 | top.sls: |
| 26 | base: |
| 27 | "*": |
| 28 | - rsyslog |
| 29 | - postgresql |
| 30 | - linux |
| 31 | - maas |
| 32 | |
| 33 | pillars-from-files: |
| 34 | postgresql.sls: tests/pillar/postgresql.sls |
| 35 | rsyslog.sls: tests/pillar/rsyslog.sls |
| 36 | linux.sls: tests/pillar/linux.sls |
| 37 | |
| 38 | grains: |
| 39 | noservices: False |
| 40 | kitchen-test: True |
| 41 | |
| 42 | dependencies: |
| 43 | - name: postgresql |
| 44 | repo: git |
| 45 | source: https://github.com/salt-formulas/salt-formula-postgresql |
| 46 | - name: rsyslog |
| 47 | repo: git |
| 48 | source: https://github.com/salt-formulas/salt-formula-rsyslog |
| 49 | |
| 50 | |
| 51 | platforms: |
| 52 | - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %> |
| 53 | driver_config: |
| 54 | image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%> |
| 55 | platform: ubuntu |
| 56 | |
| 57 | |
| 58 | verifier: |
| 59 | name: inspec |
| 60 | sudo: true |
| 61 | |
| 62 | |
| 63 | suites: |
| 64 | |
| 65 | |
| 66 | - name: maas_cluster |
| 67 | provisioner: |
| 68 | pillars-from-files: |
| 69 | maas.sls: tests/pillar/maas_cluster.sls |
| 70 | |
| 71 | #- name: disk_layout |
| 72 | #provisioner: |
| 73 | #pillars-from-files: |
| 74 | #maas.sls: tests/pillar/disk_layout.sls |
| 75 | |
| 76 | #- name: maas_mirror |
| 77 | #provisioner: |
| 78 | #pillars-from-files: |
| 79 | #maas.sls: tests/pillar/maas_mirror.sls |
| 80 | |
| 81 | #- name: maas_region |
| 82 | #provisioner: |
| 83 | #pillars-from-files: |
| 84 | #maas.sls: tests/pillar/maas_region.sls |
| 85 | |
| 86 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |