]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Merge remote-tracking branch 'github/pull/690'
[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: apt-repository
75     run_list:
76       - recipe[apt::repository]
77   - name: awscli
78     run_list:
79       - recipe[awscli::default]
80   - name: backup
81     run_list:
82       - recipe[backup::default]
83   - name: bind
84     run_list:
85       - recipe[bind::default]
86     attributes:
87       bind:
88         clients: none
89   - name: blog
90     run_list:
91       - recipe[blog::default]
92   - name: blogs
93     run_list:
94       - recipe[blogs::default]
95   - name: chef
96     run_list:
97       - recipe[chef::default]
98   - name: civicrm
99     run_list:
100       - recipe[civicrm::default]
101   - name: clamav
102     run_list:
103       - recipe[clamav::default]
104   - name: community
105     run_list:
106       - recipe[community::default]
107   - name: db-backup
108     run_list:
109       - recipe[db::backup]
110   - name: db-base
111     run_list:
112       - recipe[db::base]
113   - name: db-master
114     run_list:
115       - recipe[db::master]
116   - name: db-slave
117     run_list:
118       - recipe[db::slave]
119   - name: devices
120     run_list:
121       - recipe[devices::default]
122   - name: dhcpd
123     run_list:
124       - recipe[dhcpd::default]
125     attributes:
126       dhcpd:
127         first_address: 172.18.100.1
128         last_address: 172.18.100.254
129       networking:
130         interfaces:
131           test:
132             interface: eth0
133             role: internal
134             inet:
135               address: 172.18.0.2
136               prefix: 16
137               gateway: 172.18.0.1
138         roles:
139           external:
140             zone: test
141   - name: dmca
142     run_list:
143       - recipe[dmca::default]
144   - name: dns
145     run_list:
146       - recipe[dns::default]
147   - name: docker
148     run_list:
149       - recipe[docker::default]
150   - name: elasticsearch
151     run_list:
152       - recipe[elasticsearch::default]
153   - name: exim
154     run_list:
155       - recipe[exim::default]
156   - name: fail2ban
157     run_list:
158       - recipe[fail2ban::default]
159   - name: foundation-board
160     run_list:
161       - recipe[foundation::board]
162   - name: foundation-dwg
163     run_list:
164       - recipe[foundation::dwg]
165   - name: foundation-mastodon
166     run_list:
167       - recipe[foundation::mastodon]
168   - name: foundation-mwg
169     run_list:
170       - recipe[foundation::mwg]
171   - name: foundation-owg
172     run_list:
173       - recipe[foundation::owg]
174   - name: foundation-welcome
175     run_list:
176       - recipe[foundation::welcome]
177   - name: foundation-wiki
178     run_list:
179       - recipe[foundation::wiki]
180   - name: ftp
181     run_list:
182       - recipe[ftp::default]
183   - name: geodns
184     run_list:
185       - recipe[geodns::default]
186     attributes:
187       networking:
188         interfaces:
189           test:
190             role: external
191             inet:
192               address: 172.18.0.2
193               prefix: 16
194   - name: geoipupdate
195     run_list:
196       - recipe[geoipupdate::default]
197   - name: git
198     run_list:
199       - recipe[git::default]
200   - name: git-server
201     run_list:
202       - recipe[git::server]
203   - name: git-web
204     run_list:
205       - recipe[git::web]
206   - name: gps-tile
207     run_list:
208       - recipe[gps-tile::default]
209   - name: hardware
210     run_list:
211       - recipe[hardware::default]
212   - name: hot
213     run_list:
214       - recipe[hot::default]
215   - name: ideditor
216     run_list:
217       - recipe[ideditor::default]
218   - name: imagery-tiler
219     run_list:
220       - recipe[imagery::tiler]
221   - name: irc
222     run_list:
223       - recipe[irc::default]
224   - name: kibana
225     run_list:
226       - recipe[kibana::default]
227   - name: letsencrypt
228     run_list:
229       - recipe[letsencrypt::default]
230   - name: logstash
231     run_list:
232       - recipe[logstash::default]
233   - name: logstash-forwarder
234     run_list:
235       - recipe[logstash::forwarder]
236     attributes:
237       logstash:
238         forwarder:
239           filebeat.inputs:
240             - type: filestream
241               id: apache
242               paths:
243                 - /var/log/apache2/access.log
244               fields:
245                 type: apache
246               fields_under_root: true
247   - name: mail
248     run_list:
249       - role[mail]
250   - name: mailman
251     run_list:
252       - recipe[mailman::default]
253   - name: matomo
254     run_list:
255       - recipe[matomo::default]
256   - name: memcached
257     run_list:
258       - recipe[memcached::default]
259   - name: mysql
260     run_list:
261       - recipe[mysql::default]
262   - name: networking
263     run_list:
264       - recipe[networking::default]
265   - name: nginx
266     run_list:
267       - recipe[nginx::default]
268   - name: nodejs
269     run_list:
270       - recipe[nodejs::default]
271   - name: nominatim
272     run_list:
273       - recipe[nominatim::default]
274   - name: ntp
275     run_list:
276       - recipe[ntp::default]
277   - name: openssh
278     run_list:
279       - recipe[openssh::default]
280   - name: osmosis
281     run_list:
282       - recipe[osmosis::default]
283   - name: osqa
284     run_list:
285       - recipe[osqa::default]
286   - name: otrs
287     run_list:
288       - recipe[otrs::default]
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]