]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
build(deps): bump rexml from 3.3.2 to 3.3.3
[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: overpass
287     run_list:
288       - recipe[overpass::default]
289   - name: passenger
290     run_list:
291       - recipe[passenger::default]
292   - name: php
293     run_list:
294       - recipe[php::default]
295   - name: php-apache
296     run_list:
297       - recipe[php::apache]
298   - name: php-fpm
299     run_list:
300       - recipe[php::fpm]
301   - name: planet
302     run_list:
303       - recipe[planet::default]
304   - name: planet-aws
305     run_list:
306       - recipe[planet::aws]
307   - name: planet-current
308     run_list:
309       - recipe[planet::current]
310   - name: planet-dump
311     run_list:
312       - recipe[planet::dump]
313   - name: planet-notes
314     run_list:
315       - recipe[planet::notes]
316     attributes:
317       web:
318         readonly_database_host: readonly
319   - name: planet-replication
320     run_list:
321       - recipe[planet::replication]
322     attributes:
323       web:
324         readonly_database_host: readonly
325   - name: postgresql
326     run_list:
327       - recipe[postgresql::default]
328     attributes:
329       postgresql:
330         versions:
331           - 15
332   - name: prometheus
333     run_list:
334       - recipe[prometheus::default]
335     attributes:
336       networking:
337         interfaces:
338           test:
339             interface: eth0
340             role: internal
341             inet:
342               address: 172.18.0.2
343               prefix: 16
344               gateway: 172.18.0.1
345   - name: prometheus-server
346     run_list:
347       - recipe[prometheus::server]
348   - name: python
349     run_list:
350       - recipe[python::default]
351   - name: rsyncd
352     run_list:
353       - recipe[rsyncd::default]
354   - name: serverinfo
355     run_list:
356       - recipe[serverinfo::default]
357   - name: snmpd
358     run_list:
359       - recipe[snmpd::default]
360   - name: spamassassin
361     run_list:
362       - recipe[spamassassin::default]
363   - name: ssl
364     run_list:
365       - recipe[ssl::default]
366   - name: stateofthemap-container
367     run_list:
368       - recipe[stateofthemap::container]
369   - name: stateofthemap-wordpress
370     run_list:
371       - recipe[stateofthemap::wordpress]
372   - name: subversion
373     run_list:
374       - recipe[subversion::default]
375   - name: supybot
376     run_list:
377       - recipe[supybot::default]
378   - name: switch2osm
379     run_list:
380       - recipe[switch2osm::default]
381   - name: sysctl
382     run_list:
383       - recipe[sysctl::default]
384   - name: sysfs
385     run_list:
386       - recipe[sysfs::default]
387   - name: taginfo
388     run_list:
389       - recipe[taginfo::default]
390     attributes:
391       taginfo:
392         sites:
393           - name: taginfo.example.com
394   - name: tile
395     run_list:
396       - recipe[tile::default]
397   - name: tilelog
398     run_list:
399       - recipe[tilelog::default]
400   - name: tools
401     run_list:
402       - recipe[tools::default]
403   - name: trac
404     run_list:
405       - recipe[trac::default]
406   - name: web-cgimap
407     run_list:
408       - recipe[web::cgimap]
409   - name: web-frontend
410     run_list:
411       - recipe[web::frontend]
412   - name: web-rails
413     run_list:
414       - recipe[web::rails]
415   - name: wiki
416     run_list:
417       - recipe[wiki::default]
418   - name: wordpress
419     run_list:
420       - recipe[wordpress::default]