blob: 83094e934b47e90e6d176d82b86461b75e0509c1 [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
Martin Polreichb4cce202019-04-10 08:21:45 +020045 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Petr Michalec8a0d52e2018-05-30 16:22:56 +020046 - name: rsyslog
47 repo: git
Martin Polreich57bae3d2019-01-25 15:21:43 +010048 source: https://gerrit.mcp.mirantis.com/salt-formulas/rsyslog
Martin Polreichb4cce202019-04-10 08:21:45 +020049 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Petr Michalec8a0d52e2018-05-30 16:22:56 +020050
Martin Polreich57bae3d2019-01-25 15:21:43 +010051docker_images:
Martin Polreich57bae3d2019-01-25 15:21:43 +010052 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
53 - &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 +020054
55platforms:
Martin Polreich57bae3d2019-01-25 15:21:43 +010056 - name: xenial-2017.7
57 driver_config:
58 image: *xenial-20177
59 platform: ubuntu
60
61 - name: xenial-stable
62 driver_config:
63 image: *xenial-stable
64 platform: ubuntu
Petr Michalec8a0d52e2018-05-30 16:22:56 +020065
66verifier:
67 name: inspec
68 sudo: true
69
Petr Michalec8a0d52e2018-05-30 16:22:56 +020070suites:
Petr Michalec8a0d52e2018-05-30 16:22:56 +020071 - name: maas_cluster
72 provisioner:
73 pillars-from-files:
74 maas.sls: tests/pillar/maas_cluster.sls
75
76 #- name: disk_layout
77 #provisioner:
78 #pillars-from-files:
79 #maas.sls: tests/pillar/disk_layout.sls
80
81 #- name: maas_mirror
82 #provisioner:
83 #pillars-from-files:
84 #maas.sls: tests/pillar/maas_mirror.sls
85
cdoddae5bd5392018-03-15 17:31:24 -050086# - name: maas_region
87# provisioner:
88# pillars-from-files:
89# maas.sls: tests/pillar/maas_region.sls
Petr Michalec8a0d52e2018-05-30 16:22:56 +020090
91# vim: ft=yaml sw=2 ts=2 sts=2 tw=125