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