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 |
Martin Polreich | 57bae3d | 2019-01-25 15:21:43 +0100 | [diff] [blame] | 44 | source: https://gerrit.mcp.mirantis.com/salt-formulas/postgresql |
Petr Michalec | 8a0d52e | 2018-05-30 16:22:56 +0200 | [diff] [blame] | 45 | - name: rsyslog |
| 46 | repo: git |
Martin Polreich | 57bae3d | 2019-01-25 15:21:43 +0100 | [diff] [blame] | 47 | source: https://gerrit.mcp.mirantis.com/salt-formulas/rsyslog |
Petr Michalec | 8a0d52e | 2018-05-30 16:22:56 +0200 | [diff] [blame] | 48 | |
Martin Polreich | 57bae3d | 2019-01-25 15:21:43 +0100 | [diff] [blame] | 49 | docker_images: |
| 50 | - &xenial-20163 <%=ENV['IMAGE_XENIAL_20163'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19'%> |
| 51 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 52 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
Petr Michalec | 8a0d52e | 2018-05-30 16:22:56 +0200 | [diff] [blame] | 53 | |
| 54 | platforms: |
Martin Polreich | 57bae3d | 2019-01-25 15:21:43 +0100 | [diff] [blame] | 55 | - name: xenial-2016.3 |
Petr Michalec | 8a0d52e | 2018-05-30 16:22:56 +0200 | [diff] [blame] | 56 | driver_config: |
Martin Polreich | 57bae3d | 2019-01-25 15:21:43 +0100 | [diff] [blame] | 57 | image: *xenial-20163 |
Petr Michalec | 8a0d52e | 2018-05-30 16:22:56 +0200 | [diff] [blame] | 58 | platform: ubuntu |
| 59 | |
Martin Polreich | 57bae3d | 2019-01-25 15:21:43 +0100 | [diff] [blame] | 60 | - name: xenial-2017.7 |
| 61 | driver_config: |
| 62 | image: *xenial-20177 |
| 63 | platform: ubuntu |
| 64 | |
| 65 | - name: xenial-stable |
| 66 | driver_config: |
| 67 | image: *xenial-stable |
| 68 | platform: ubuntu |
Petr Michalec | 8a0d52e | 2018-05-30 16:22:56 +0200 | [diff] [blame] | 69 | |
| 70 | verifier: |
| 71 | name: inspec |
| 72 | sudo: true |
| 73 | |
Petr Michalec | 8a0d52e | 2018-05-30 16:22:56 +0200 | [diff] [blame] | 74 | suites: |
Petr Michalec | 8a0d52e | 2018-05-30 16:22:56 +0200 | [diff] [blame] | 75 | - name: maas_cluster |
| 76 | provisioner: |
| 77 | pillars-from-files: |
| 78 | maas.sls: tests/pillar/maas_cluster.sls |
| 79 | |
| 80 | #- name: disk_layout |
| 81 | #provisioner: |
| 82 | #pillars-from-files: |
| 83 | #maas.sls: tests/pillar/disk_layout.sls |
| 84 | |
| 85 | #- name: maas_mirror |
| 86 | #provisioner: |
| 87 | #pillars-from-files: |
| 88 | #maas.sls: tests/pillar/maas_mirror.sls |
| 89 | |
cdodda | e5bd539 | 2018-03-15 17:31:24 -0500 | [diff] [blame] | 90 | # - name: maas_region |
| 91 | # provisioner: |
| 92 | # pillars-from-files: |
| 93 | # maas.sls: tests/pillar/maas_region.sls |
Petr Michalec | 8a0d52e | 2018-05-30 16:22:56 +0200 | [diff] [blame] | 94 | |
| 95 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |