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