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