blob: 1c0be169cc332a2ee8d544113a8d71b14293fe9a [file] [log] [blame]
Petr Michalec8a0d52e2018-05-30 16:22:56 +02001---
2driver:
3 name: docker
4 hostname: maas.ci.local
5 #socket: tcp://127.0.0.1:2376
6 use_sudo: false
azvyagintsev3ff2ef12018-06-01 21:30:45 +03007 run_options: -v /dev/log:/dev/log:ro
Petr Michalec8a0d52e2018-05-30 16:22:56 +02008
9provisioner:
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 "*":
azvyagintsev3ff2ef12018-06-01 21:30:45 +030020# - rsyslog
Petr Michalec8a0d52e2018-05-30 16:22:56 +020021 - postgresql
22 - maas
23 pillars:
24 top.sls:
25 base:
26 "*":
azvyagintsev3ff2ef12018-06-01 21:30:45 +030027# - rsyslog
Petr Michalec8a0d52e2018-05-30 16:22:56 +020028 - postgresql
29 - linux
30 - maas
31
32 pillars-from-files:
33 postgresql.sls: tests/pillar/postgresql.sls
azvyagintsev3ff2ef12018-06-01 21:30:45 +030034# rsyslog.sls: tests/pillar/rsyslog.sls
Petr Michalec8a0d52e2018-05-30 16:22:56 +020035 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 Polreich57bae3d2019-01-25 15:21:43 +010044 source: https://gerrit.mcp.mirantis.com/salt-formulas/postgresql
Petr Michalec8a0d52e2018-05-30 16:22:56 +020045 - name: rsyslog
46 repo: git
Martin Polreich57bae3d2019-01-25 15:21:43 +010047 source: https://gerrit.mcp.mirantis.com/salt-formulas/rsyslog
Petr Michalec8a0d52e2018-05-30 16:22:56 +020048
Martin Polreich57bae3d2019-01-25 15:21:43 +010049docker_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 Michalec8a0d52e2018-05-30 16:22:56 +020053
54platforms:
Martin Polreich57bae3d2019-01-25 15:21:43 +010055 - name: xenial-2016.3
Petr Michalec8a0d52e2018-05-30 16:22:56 +020056 driver_config:
Martin Polreich57bae3d2019-01-25 15:21:43 +010057 image: *xenial-20163
Petr Michalec8a0d52e2018-05-30 16:22:56 +020058 platform: ubuntu
59
Martin Polreich57bae3d2019-01-25 15:21:43 +010060 - 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 Michalec8a0d52e2018-05-30 16:22:56 +020069
70verifier:
71 name: inspec
72 sudo: true
73
Petr Michalec8a0d52e2018-05-30 16:22:56 +020074suites:
Petr Michalec8a0d52e2018-05-30 16:22:56 +020075 - 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
cdoddae5bd5392018-03-15 17:31:24 -050090# - name: maas_region
91# provisioner:
92# pillars-from-files:
93# maas.sls: tests/pillar/maas_region.sls
Petr Michalec8a0d52e2018-05-30 16:22:56 +020094
95# vim: ft=yaml sw=2 ts=2 sts=2 tw=125