blob: 6e852bde118cf13cf9753ec7b6fbac6e75cc144c [file] [log] [blame]
Martin81992294ff2017-02-17 23:52:17 +01001---
2driver:
3 name: docker
4 hostname: salt.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: salt
15 grains:
16 noservices: true
17 state_top:
18 base:
19 "*":
20 - salt
21 pillars:
22 top.sls:
23 base:
24 "*":
25 - salt
26 - common
27 common.sls:
28 salt:
29 minion:
30 enabled: true
31 master:
32 host: localhost
33 linux:
34 system:
35 enabled: true
36 name: salt
37 domain: ci.local
38 dependencies:
39 - name: git
40 repo: git
41 source: https://github.com/salt-formulas/salt-formula-git.git
42 - name: reclass
43 repo: git
44 source: https://github.com/salt-formulas/salt-formula-reclass.git
45
46verifier:
47 name: inspec
48 sudo: true
49
50platforms:
51 - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
52 driver_config:
53 image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
54 platform: ubuntu
55
56# - name: ubuntu-xenial
57# driver_config:
58# image: trevorj/salty-whales:xenial
59# platform: ubuntu
60
61# - name: debian-jessie
62# driver_config:
63# image: debian:jessie
64
65# - name: debian-stretch
66# driver_config:
67# image: debian:stretch
68
69suites:
70
71 - name: minion-default
72 provisioner:
73 pillars:
74 top.sls:
75 base:
76 "*":
77 - common
78 - minion_pki
79 - minion_mine
80 - minion_graph
81 - minion_handler
82 - minion_local_pillar
83 - minion_local_reclass
84 pillars-from-files:
85 minion_pki.sls: tests/pillar/minion_pki_ca.sls
86 minion_mine.sls: tests/pillar/minion_mine.sls
87 minion_graph.sls: tests/pillar/minion_graph.sls
88 minion_handler.sls: tests/pillar/minion_custom_handler.sls
89 minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
90 minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
91
92 - name: master-default
93 provisioner:
94 pillars:
95 top.sls:
96 base:
97 "*":
98 - common
99 - master_api
100 - master_acl
101 - master_ssh_key
102 - master_ssh_password
103 - master_ssh_root
104 - master_handler
105 pillars-from-files:
106 master_api.sls: tests/pillar/master_api.sls
107 master_acl.sls: tests/pillar/master_acl.sls
108 master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
109 master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
110 master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
111 master_handler.sls: tests/pillar/master_custom_handler.sls
112
113 - name: control-default
114 provisioner:
115 grains:
116 noservices: true
117 pillars:
118 top.sls:
119 base:
120 "*":
121 - common
122 - control_cloud_digitalocean
123 - control_cloud_openstack
124 - control_virt
125 pillars-from-files:
126 control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
127 control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
128 control_virt.sls: tests/pillar/control_virt.sls
129
130 - name: minion_multi_master_failover
131 provisioner:
132 pillars-from-files:
133 salt.sls: tests/pillar/minion_multi_master_failover.sls
134
135
136# - name: minion-local
137# provisioner:
138# pillars:
139# top.sls:
140# base:
141# "*":
142# - common
143# - minion_local_pillar
144# - minion_local_reclass
145# pillars-from-files:
146# minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
147# minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
148
149 # vim: ft=yaml sw=2 ts=2 sts=2 tw=125