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