blob: 399e817dad13ff98a9e501ff1c885658cce23830 [file] [log] [blame]
Martin Polreich848c00b2017-04-13 13:54:47 +02001---
2driver:
3 name: docker
4 hostname: etcd.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: error
14 formula: etcd
15 grains:
16 noservices: True
17 state_top:
18 base:
19 "*":
20 - linux
21 - etcd
22 pillars:
23 top.sls:
24 base:
25 "*":
26 - debian_etcd_repo
27 - etcd
28 dependencies:
29 - name: linux
30 repo: git
31 source: https://github.com/salt-formulas/salt-formula-linux.git
32 pillars-from-files:
33 debian_etcd_repo.sls: tests/pillar/repo_etcd.sls
34
35verifier:
36 name: inspec
37 sudo: true
38
39platforms:
40 - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
41 driver_config:
42 image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
43 platform: ubuntu
44
45suites:
46
47 - name: cluster
48 provisioner:
49 pillars-from-files:
50 etcd.sls: tests/pillar/cluster.sls
51
52 - name: proxy
53 provisioner:
54 pillars-from-files:
55 etcd.sls: tests/pillar/proxy.sls
56
57 - name: single
58 provisioner:
59 pillars-from-files:
60 etcd.sls: tests/pillar/single.sls
61# vim: ft=yaml sw=2 ts=2 sts=2 tw=125