blob: bfcf829ee4ca1e889ed3570addf224702a37be98 [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
Petr Michalec7a2f1d22017-05-17 22:08:32 +020018 vendor_repo:
19 - type: apt
20 url: http://apt-mk.mirantis.com/trusty
21 key_url: http://apt-mk.mirantis.com/public.gpg
22 components: salt
23 distribution: testing
Martin81992294ff2017-02-17 23:52:17 +010024 state_top:
25 base:
26 "*":
27 - salt
28 pillars:
29 top.sls:
30 base:
31 "*":
32 - salt
33 - common
34 common.sls:
35 salt:
36 minion:
37 enabled: true
38 master:
39 host: localhost
40 linux:
41 system:
42 enabled: true
43 name: salt
44 domain: ci.local
45 dependencies:
46 - name: git
47 repo: git
48 source: https://github.com/salt-formulas/salt-formula-git.git
49 - name: reclass
50 repo: git
51 source: https://github.com/salt-formulas/salt-formula-reclass.git
52
53verifier:
54 name: inspec
55 sudo: true
56
57platforms:
58 - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
59 driver_config:
60 image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
61 platform: ubuntu
62
63# - name: ubuntu-xenial
64# driver_config:
65# image: trevorj/salty-whales:xenial
66# platform: ubuntu
67
68# - name: debian-jessie
69# driver_config:
70# image: debian:jessie
71
72# - name: debian-stretch
73# driver_config:
74# image: debian:stretch
75
76suites:
77
78 - name: minion-default
79 provisioner:
80 pillars:
81 top.sls:
82 base:
83 "*":
84 - common
85 - minion_pki
86 - minion_mine
87 - minion_graph
88 - minion_handler
89 - minion_local_pillar
90 - minion_local_reclass
91 pillars-from-files:
92 minion_pki.sls: tests/pillar/minion_pki_ca.sls
93 minion_mine.sls: tests/pillar/minion_mine.sls
94 minion_graph.sls: tests/pillar/minion_graph.sls
95 minion_handler.sls: tests/pillar/minion_custom_handler.sls
96 minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
97 minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
98
99 - name: master-default
100 provisioner:
101 pillars:
102 top.sls:
103 base:
104 "*":
105 - common
Petr Michalece07687e2017-02-09 16:09:24 +0100106 - minion_pki
Martin81992294ff2017-02-17 23:52:17 +0100107 - master_api
108 - master_acl
109 - master_ssh_key
110 - master_ssh_password
111 - master_ssh_root
Petr Michalece07687e2017-02-09 16:09:24 +0100112 - minion_pki_cert
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200113 - master_formulas
Martin81992294ff2017-02-17 23:52:17 +0100114 pillars-from-files:
Petr Michalece07687e2017-02-09 16:09:24 +0100115 minion_pki.sls: tests/pillar/minion_pki_ca.sls
116 minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
Martin81992294ff2017-02-17 23:52:17 +0100117 master_api.sls: tests/pillar/master_api.sls
118 master_acl.sls: tests/pillar/master_acl.sls
119 master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
120 master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
121 master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
Petr Michalec7a2f1d22017-05-17 22:08:32 +0200122 master_formulas.sls: tests/pillar/master_formulas.sls
Martin81992294ff2017-02-17 23:52:17 +0100123
124 - name: control-default
125 provisioner:
126 grains:
127 noservices: true
128 pillars:
129 top.sls:
130 base:
131 "*":
132 - common
133 - control_cloud_digitalocean
134 - control_cloud_openstack
135 - control_virt
136 pillars-from-files:
137 control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
138 control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
139 control_virt.sls: tests/pillar/control_virt.sls
140
141 - name: minion_multi_master_failover
142 provisioner:
143 pillars-from-files:
144 salt.sls: tests/pillar/minion_multi_master_failover.sls
145
146
147# - name: minion-local
148# provisioner:
149# pillars:
150# top.sls:
151# base:
152# "*":
153# - common
154# - minion_local_pillar
155# - minion_local_reclass
156# pillars-from-files:
157# minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
158# minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
159
160 # vim: ft=yaml sw=2 ts=2 sts=2 tw=125