blob: 6d91fc5416b54fa74d06886a06dcfcd843a79af0 [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
Martin Polreicha7182422019-04-10 08:21:44 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Martin Polreich7e82eab2018-12-20 14:27:00 +010022 state_top:
23 base:
24 "*":
25 - linux.system.repo
26 - gerrit
27 pillars:
28 top.sls:
29 base:
30 "*":
31 - mcp_extra_repo
32 - gerrit
33 pillars-from-files:
34 mcp_extra_repo.sls: tests/pillar/mcp_extra_repo.sls
35
36verifier:
37 name: inspec
38 sudo: true
39
40docker_images:
Martin Polreich7e82eab2018-12-20 14:27:00 +010041 - &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:
Martin Polreich7e82eab2018-12-20 14:27:00 +010045 - name: xenial-2017.7
46 driver_config:
47 image: *xenial-20177
48 platform: ubuntu
49
50 - name: xenial-stable
51 driver_config:
52 image: *xenial-stable
53 platform: ubuntu
54
55suites:
56 - name: server
57 provisioner:
58 pillars-from-files:
59 gerrit.sls: tests/pillar/server.sls
60
61 - name: client
62 provisioner:
63 pillars-from-files:
64 gerrit.sls: tests/pillar/client.sls