blob: 3afbc72db92f0d273d7f12698e926036cab28703 [file] [log] [blame]
Martin Polreich7e82eab2018-12-20 14:27:00 +01001---
2driver:
3 name: docker
4 hostname: gerrit.ci.local
5 use_sudo: false
6
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
11 salt_version: latest
12 require_chef: false
13 log_level: info
14 formula: gerrit
15 grains:
16 noservices: True
17 dependencies:
18 - name: linux
19 repo: git
20 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git
21 state_top:
22 base:
23 "*":
24 - linux.system.repo
25 - gerrit
26 pillars:
27 top.sls:
28 base:
29 "*":
30 - mcp_extra_repo
31 - gerrit
32 pillars-from-files:
33 mcp_extra_repo.sls: tests/pillar/mcp_extra_repo.sls
34
35verifier:
36 name: inspec
37 sudo: true
38
39docker_images:
Martin Polreich7e82eab2018-12-20 14:27:00 +010040 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
41 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
42
43platforms:
Martin Polreich7e82eab2018-12-20 14:27:00 +010044 - name: xenial-2017.7
45 driver_config:
46 image: *xenial-20177
47 platform: ubuntu
48
49 - name: xenial-stable
50 driver_config:
51 image: *xenial-stable
52 platform: ubuntu
53
54suites:
55 - name: server
56 provisioner:
57 pillars-from-files:
58 gerrit.sls: tests/pillar/server.sls
59
60 - name: client
61 provisioner:
62 pillars-from-files:
63 gerrit.sls: tests/pillar/client.sls