blob: 8fd1b87f9acf91290a7a4c3a9a9f2bf7d487f363 [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:
40 - &xenial-20163 <%=ENV['IMAGE_XENIAL_20163'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19'%>
41 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
42 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
43
44platforms:
45 - name: xenial-2016.3
46 driver_config:
47 image: *xenial-20163
48 platform: ubuntu
49
50 - name: xenial-2017.7
51 driver_config:
52 image: *xenial-20177
53 platform: ubuntu
54
55 - name: xenial-stable
56 driver_config:
57 image: *xenial-stable
58 platform: ubuntu
59
60suites:
61 - name: server
62 provisioner:
63 pillars-from-files:
64 gerrit.sls: tests/pillar/server.sls
65
66 - name: client
67 provisioner:
68 pillars-from-files:
69 gerrit.sls: tests/pillar/client.sls