]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Allow testing docker with the overlay2 storage driver
[chef.git] / .kitchen.yml
1 ---
2 driver:
3   name: dokken
4   chef_version: 17
5   volumes:
6     - /var/lib/docker
7   env:
8     - container=dokken
9
10 transport:
11   name: dokken
12
13 provisioner:
14   name: dokken
15   chef_license: accept
16   data_bags_path: test/data_bags
17
18 verifier:
19   root_path: /opt/verifier
20   sudo: false
21
22 platforms:
23   - name: ubuntu-20.04
24     driver:
25       image: dokken/ubuntu-20.04
26       privileged: true
27       pid_one_command: /bin/systemd
28       intermediate_instructions:
29         - RUN /usr/bin/apt-get update -y
30
31 suites:
32   - name: accounts
33     run_list:
34       - recipe[accounts::default]
35   - name: apache
36     run_list:
37       - recipe[apache::default]
38   - name: apt
39     run_list:
40       - recipe[apt::default]
41   - name: backup
42     run_list:
43       - recipe[backup::default]
44   - name: bind
45     run_list:
46       - recipe[bind::default]
47     attributes:
48       bind:
49         clients: none
50   - name: blog
51     run_list:
52       - recipe[blog::default]
53   - name: blogs
54     run_list:
55       - recipe[blogs::default]
56   - name: civicrm
57     run_list:
58       - recipe[civicrm::default]
59   - name: clamav
60     run_list:
61       - recipe[clamav::default]
62   - name: db-backup
63     run_list:
64       - recipe[db::backup]
65   - name: db-base
66     run_list:
67       - recipe[db::base]
68   - name: db-master
69     run_list:
70       - recipe[db::master]
71   - name: db-slave
72     run_list:
73       - recipe[db::slave]
74   - name: devices
75     run_list:
76       - recipe[devices::default]
77   - name: dhcpd
78     run_list:
79       - recipe[dhcpd::default]
80     attributes:
81       dhcpd:
82         first_address: 172.18.100.1
83         last_address: 172.18.100.254
84       networking:
85         interfaces:
86           test:
87             interface: eth0
88             role: internal
89             address: 172.18.0.2
90             prefix: 16
91             gateway: 172.18.0.1
92         roles:
93           external:
94             zone: test
95   - name: dmca
96     run_list:
97       - recipe[dmca::default]
98   - name: dns
99     run_list:
100       - recipe[dns::default]
101   - name: docker
102     run_list:
103       - recipe[docker::default]
104   - name: donate
105     run_list:
106       - recipe[donate::default]
107   - name: elasticsearch
108     run_list:
109       - recipe[elasticsearch::default]
110   - name: exim
111     run_list:
112       - recipe[exim::default]
113   - name: fail2ban
114     run_list:
115       - recipe[fail2ban::default]
116   - name: forum
117     run_list:
118       - recipe[forum::default]
119   - name: ftp
120     run_list:
121       - recipe[ftp::default]
122   - name: geodns
123     run_list:
124       - recipe[geodns::default]
125     attributes:
126       networking:
127         interfaces:
128           test:
129             role: external
130             address: 172.18.0.2
131   - name: geoipupdate
132     run_list:
133       - recipe[geoipupdate::default]
134   - name: git
135     run_list:
136       - recipe[git::default]
137   - name: git-server
138     run_list:
139       - recipe[git::server]
140   - name: git-web
141     run_list:
142       - recipe[git::web]
143   - name: gps-tile
144     run_list:
145       - recipe[gps-tile::default]
146   - name: hardware
147     run_list:
148       - recipe[hardware::default]
149   - name: hot
150     run_list:
151       - recipe[hot::default]
152   - name: incron
153     run_list:
154       - recipe[incron::default]
155   - name: irc
156     run_list:
157       - recipe[irc::default]
158   - name: kibana
159     run_list:
160       - recipe[kibana::default]
161   - name: letsencrypt
162     run_list:
163       - recipe[letsencrypt::default]
164     attributes:
165       apt:
166         sources:
167           - openstreetmap
168   - name: logstash
169     run_list:
170       - recipe[logstash::default]
171   - name: logstash-forwarder
172     run_list:
173       - recipe[logstash::forwarder]
174     attributes:
175       logstash:
176         forwarder:
177           filebeat.prospectors:
178             - input_type: log
179               paths:
180                 - /var/log/apache2/access.log
181               type: apache
182   - name: mail
183     run_list:
184       - role[mail]
185   - name: mailman
186     run_list:
187       - recipe[mailman::default]
188   - name: memcached
189     run_list:
190       - recipe[memcached::default]
191   - name: munin
192     run_list:
193       - recipe[munin::default]
194   - name: munin-plugins
195     run_list:
196       - recipe[munin::plugins]
197   - name: munin-server
198     run_list:
199       - recipe[munin::server]
200   - name: mysql
201     run_list:
202       - recipe[mysql::default]
203   - name: networking
204     run_list:
205       - recipe[networking::default]
206   - name: nginx
207     run_list:
208       - recipe[nginx::default]
209   - name: nodejs
210     run_list:
211       - recipe[nodejs::default]
212   - name: nominatim
213     run_list:
214       - recipe[nominatim::default]
215   - name: ntp
216     run_list:
217       - recipe[ntp::default]
218   - name: openssh
219     run_list:
220       - recipe[openssh::default]
221   - name: osmosis
222     run_list:
223       - recipe[osmosis::default]
224   - name: osqa
225     run_list:
226       - recipe[osqa::default]
227   - name: otrs
228     run_list:
229       - recipe[otrs::default]
230   - name: overpass
231     run_list:
232       - recipe[overpass::default]
233   - name: passenger
234     run_list:
235       - recipe[passenger::default]
236   - name: php
237     run_list:
238       - recipe[php::default]
239   - name: php-apache
240     run_list:
241       - recipe[php::apache]
242   - name: php-fpm
243     run_list:
244       - recipe[php::fpm]
245   - name: piwik
246     run_list:
247       - recipe[piwik::default]
248   - name: planet
249     run_list:
250       - recipe[planet::default]
251   - name: planet-current
252     run_list:
253       - recipe[planet::current]
254   - name: planet-dump
255     run_list:
256       - recipe[planet::dump]
257   - name: planet-notes
258     run_list:
259       - recipe[planet::notes]
260     attributes:
261       web:
262         readonly_database_host: readonly
263   - name: planet-replication
264     run_list:
265       - recipe[planet::replication]
266     attributes:
267       web:
268         readonly_database_host: readonly
269   - name: postgresql
270     run_list:
271       - recipe[postgresql::default]
272     attributes:
273       postgresql:
274         versions:
275           - 10
276   - name: prometheus
277     run_list:
278       - recipe[prometheus::default]
279     attributes:
280       networking:
281         interfaces:
282           test:
283             interface: eth0
284             role: internal
285             address: 172.18.0.2
286             prefix: 16
287             gateway: 172.18.0.1
288   - name: prometheus-server
289     run_list:
290       - recipe[prometheus::server]
291     attributes:
292       prometheus:
293         promscale: true
294   - name: python
295     run_list:
296       - recipe[python::default]
297   - name: rsyncd
298     run_list:
299       - recipe[rsyncd::default]
300   - name: serverinfo
301     run_list:
302       - recipe[serverinfo::default]
303   - name: snmpd
304     run_list:
305       - recipe[snmpd::default]
306   - name: spamassassin
307     run_list:
308       - recipe[spamassassin::default]
309   - name: ssl
310     run_list:
311       - recipe[ssl::default]
312   - name: stateofthemap
313     run_list:
314       - recipe[stateofthemap::default]
315   - name: subversion
316     run_list:
317       - recipe[subversion::default]
318   - name: supybot
319     run_list:
320       - recipe[supybot::default]
321   - name: switch2osm
322     run_list:
323       - recipe[switch2osm::default]
324   - name: sysctl
325     run_list:
326       - recipe[sysctl::default]
327   - name: sysfs
328     run_list:
329       - recipe[sysfs::default]
330   - name: taginfo
331     run_list:
332       - recipe[taginfo::default]
333     attributes:
334       taginfo:
335         sites:
336           - name: taginfo.example.com
337   - name: tile
338     run_list:
339       - recipe[tile::default]
340   - name: tilelog
341     run_list:
342       - recipe[tilelog::default]
343   - name: timescaledb
344     run_list:
345       - recipe[timescaledb::default]
346   - name: tools
347     run_list:
348       - recipe[tools::default]
349   - name: trac
350     run_list:
351       - recipe[trac::default]
352   - name: web-cgimap
353     run_list:
354       - recipe[web::cgimap]
355   - name: web-frontend
356     run_list:
357       - recipe[web::frontend]
358   - name: web-rails
359     run_list:
360       - recipe[web::rails]
361   - name: wiki
362     run_list:
363       - recipe[wiki::default]
364   - name: wordpress
365     run_list:
366       - recipe[wordpress::default]