blob: 4cd5d08717e5f18e313d647499271fd22e1a9b0f [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
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
50platforms:
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
57verifier:
58 name: inspec
59 sudo: true
60
61
62suites:
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
cdoddae5bd5392018-03-15 17:31:24 -050080# - name: maas_region
81# provisioner:
82# pillars-from-files:
83# maas.sls: tests/pillar/maas_region.sls
Petr Michalec8a0d52e2018-05-30 16:22:56 +020084
85# vim: ft=yaml sw=2 ts=2 sts=2 tw=125