]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Merge remote-tracking branch 'github/pull/668'
[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 /usr/lib/$(uname -m)-linux-gnu/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 /usr/lib/$(uname -m)-linux-gnu/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 /usr/lib/$(uname -m)-linux-gnu/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: chef
90     run_list:
91       - recipe[chef::default]
92   - name: civicrm
93     run_list:
94       - recipe[civicrm::default]
95   - name: clamav
96     run_list:
97       - recipe[clamav::default]
98   - name: community
99     run_list:
100       - recipe[community::default]
101   - name: db-backup
102     run_list:
103       - recipe[db::backup]
104   - name: db-base
105     run_list:
106       - recipe[db::base]
107   - name: db-master
108     run_list:
109       - recipe[db::master]
110   - name: db-slave
111     run_list:
112       - recipe[db::slave]
113   - name: devices
114     run_list:
115       - recipe[devices::default]
116   - name: dhcpd
117     run_list:
118       - recipe[dhcpd::default]
119     attributes:
120       dhcpd:
121         first_address: 172.18.100.1
122         last_address: 172.18.100.254
123       networking:
124         interfaces:
125           test:
126             interface: eth0
127             role: internal
128             inet:
129               address: 172.18.0.2
130               prefix: 16
131               gateway: 172.18.0.1
132         roles:
133           external:
134             zone: test
135   - name: dmca
136     run_list:
137       - recipe[dmca::default]
138   - name: dns
139     run_list:
140       - recipe[dns::default]
141   - name: docker
142     run_list:
143       - recipe[docker::default]
144   - name: elasticsearch
145     run_list:
146       - recipe[elasticsearch::default]
147   - name: exim
148     run_list:
149       - recipe[exim::default]
150   - name: fail2ban
151     run_list:
152       - recipe[fail2ban::default]
153   - name: foundation-board
154     run_list:
155       - recipe[foundation::board]
156   - name: foundation-dwg
157     run_list:
158       - recipe[foundation::dwg]
159   - name: foundation-mastodon
160     run_list:
161       - recipe[foundation::mastodon]
162   - name: foundation-mwg
163     run_list:
164       - recipe[foundation::mwg]
165   - name: foundation-owg
166     run_list:
167       - recipe[foundation::owg]
168   - name: foundation-welcome
169     run_list:
170       - recipe[foundation::welcome]
171   - name: foundation-wiki
172     run_list:
173       - recipe[foundation::wiki]
174   - name: ftp
175     run_list:
176       - recipe[ftp::default]
177   - name: geodns
178     run_list:
179       - recipe[geodns::default]
180     attributes:
181       networking:
182         interfaces:
183           test:
184             role: external
185             inet:
186               address: 172.18.0.2
187               prefix: 16
188   - name: geoipupdate
189     run_list:
190       - recipe[geoipupdate::default]
191   - name: git
192     run_list:
193       - recipe[git::default]
194   - name: git-server
195     run_list:
196       - recipe[git::server]
197   - name: git-web
198     run_list:
199       - recipe[git::web]
200   - name: gps-tile
201     run_list:
202       - recipe[gps-tile::default]
203   - name: hardware
204     run_list:
205       - recipe[hardware::default]
206   - name: hot
207     run_list:
208       - recipe[hot::default]
209   - name: ideditor
210     run_list:
211       - recipe[ideditor::default]
212   - name: imagery-tiler
213     run_list:
214       - recipe[imagery::tiler]
215   - name: irc
216     run_list:
217       - recipe[irc::default]
218   - name: kibana
219     run_list:
220       - recipe[kibana::default]
221   - name: letsencrypt
222     run_list:
223       - recipe[letsencrypt::default]
224   - name: logstash
225     run_list:
226       - recipe[logstash::default]
227   - name: logstash-forwarder
228     run_list:
229       - recipe[logstash::forwarder]
230     attributes:
231       logstash:
232         forwarder:
233           filebeat.inputs:
234             - type: filestream
235               id: apache
236               paths:
237                 - /var/log/apache2/access.log
238               fields:
239                 type: apache
240               fields_under_root: true
241   - name: mail
242     run_list:
243       - role[mail]
244   - name: mailman
245     run_list:
246       - recipe[mailman::default]
247   - name: matomo
248     run_list:
249       - recipe[matomo::default]
250   - name: memcached
251     run_list:
252       - recipe[memcached::default]
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: otrs-debian
284     run_list:
285       - recipe[otrs::debian]
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]