blob: 985d594f7e8625cd5566866e36634e73eaadea7e [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 Polreich62e7d412019-10-14 17:26:41 +020041 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%>
Martin Polreich7e82eab2018-12-20 14:27:00 +010042
43platforms:
Martin Polreich7e82eab2018-12-20 14:27:00 +010044 - name: xenial-2017.7
45 driver_config:
46 image: *xenial-20177
47 platform: ubuntu
48
Martin Polreich7e82eab2018-12-20 14:27:00 +010049suites:
50 - name: server
51 provisioner:
52 pillars-from-files:
53 gerrit.sls: tests/pillar/server.sls
54
55 - name: client
56 provisioner:
57 pillars-from-files:
58 gerrit.sls: tests/pillar/client.sls