blob: 83094e934b47e90e6d176d82b86461b75e0509c1 [file] [log] [blame]
---
driver:
name: docker
hostname: maas.ci.local
#socket: tcp://127.0.0.1:2376
use_sudo: false
run_options: -v /dev/log:/dev/log:ro
provisioner:
name: salt_solo
salt_install: bootstrap
salt_bootstrap_url: https://bootstrap.saltstack.com
salt_version: latest
require_chef: false
formula: maas
log_level: info
state_top:
base:
"*":
# - rsyslog
- postgresql
- maas
pillars:
top.sls:
base:
"*":
# - rsyslog
- postgresql
- linux
- maas
pillars-from-files:
postgresql.sls: tests/pillar/postgresql.sls
# rsyslog.sls: tests/pillar/rsyslog.sls
linux.sls: tests/pillar/linux.sls
grains:
noservices: False
kitchen-test: True
dependencies:
- name: postgresql
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/postgresql
branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
- name: rsyslog
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/rsyslog
branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
docker_images:
- &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
- &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
platforms:
- name: xenial-2017.7
driver_config:
image: *xenial-20177
platform: ubuntu
- name: xenial-stable
driver_config:
image: *xenial-stable
platform: ubuntu
verifier:
name: inspec
sudo: true
suites:
- name: maas_cluster
provisioner:
pillars-from-files:
maas.sls: tests/pillar/maas_cluster.sls
#- name: disk_layout
#provisioner:
#pillars-from-files:
#maas.sls: tests/pillar/disk_layout.sls
#- name: maas_mirror
#provisioner:
#pillars-from-files:
#maas.sls: tests/pillar/maas_mirror.sls
# - name: maas_region
# provisioner:
# pillars-from-files:
# maas.sls: tests/pillar/maas_region.sls
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125