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