blob: 3afbc72db92f0d273d7f12698e926036cab28703 [file] [log] [blame]
---
driver:
name: docker
hostname: gerrit.ci.local
use_sudo: false
provisioner:
name: salt_solo
salt_install: bootstrap
salt_bootstrap_url: https://bootstrap.saltstack.com
salt_version: latest
require_chef: false
log_level: info
formula: gerrit
grains:
noservices: True
dependencies:
- name: linux
repo: git
source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git
state_top:
base:
"*":
- linux.system.repo
- gerrit
pillars:
top.sls:
base:
"*":
- mcp_extra_repo
- gerrit
pillars-from-files:
mcp_extra_repo.sls: tests/pillar/mcp_extra_repo.sls
verifier:
name: inspec
sudo: true
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
suites:
- name: server
provisioner:
pillars-from-files:
gerrit.sls: tests/pillar/server.sls
- name: client
provisioner:
pillars-from-files:
gerrit.sls: tests/pillar/client.sls