blob: da4f92970dd24f2b85ded06fda047ebab5cfd703 [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:
Martin Polreich57bae3d2019-01-25 15:21:43 +010050 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
51 - &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 +020052
53platforms:
Martin Polreich57bae3d2019-01-25 15:21:43 +010054 - name: xenial-2017.7
55 driver_config:
56 image: *xenial-20177
57 platform: ubuntu
58
59 - name: xenial-stable
60 driver_config:
61 image: *xenial-stable
62 platform: ubuntu
Petr Michalec8a0d52e2018-05-30 16:22:56 +020063
64verifier:
65 name: inspec
66 sudo: true
67
Petr Michalec8a0d52e2018-05-30 16:22:56 +020068suites:
Petr Michalec8a0d52e2018-05-30 16:22:56 +020069 - name: maas_cluster
70 provisioner:
71 pillars-from-files:
72 maas.sls: tests/pillar/maas_cluster.sls
73
74 #- name: disk_layout
75 #provisioner:
76 #pillars-from-files:
77 #maas.sls: tests/pillar/disk_layout.sls
78
79 #- name: maas_mirror
80 #provisioner:
81 #pillars-from-files:
82 #maas.sls: tests/pillar/maas_mirror.sls
83
cdoddae5bd5392018-03-15 17:31:24 -050084# - name: maas_region
85# provisioner:
86# pillars-from-files:
87# maas.sls: tests/pillar/maas_region.sls
Petr Michalec8a0d52e2018-05-30 16:22:56 +020088
89# vim: ft=yaml sw=2 ts=2 sts=2 tw=125