]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
civicrm: use correct donotsendreportemail extension to repo
[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 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 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 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: irc
213     run_list:
214       - recipe[irc::default]
215   - name: kibana
216     run_list:
217       - recipe[kibana::default]
218   - name: letsencrypt
219     run_list:
220       - recipe[letsencrypt::default]
221   - name: logstash
222     run_list:
223       - recipe[logstash::default]
224   - name: logstash-forwarder
225     run_list:
226       - recipe[logstash::forwarder]
227     attributes:
228       logstash:
229         forwarder:
230           filebeat.inputs:
231             - type: filestream
232               id: apache
233               paths:
234                 - /var/log/apache2/access.log
235               fields:
236                 type: apache
237               fields_under_root: true
238   - name: mail
239     run_list:
240       - role[mail]
241   - name: mailman
242     run_list:
243       - recipe[mailman::default]
244   - name: matomo
245     run_list:
246       - recipe[matomo::default]
247   - name: memcached
248     run_list:
249       - recipe[memcached::default]
250   - name: munin
251     run_list:
252       - recipe[munin::default]
253   - name: munin-plugins
254     run_list:
255       - recipe[munin::plugins]
256   - name: munin-server
257     run_list:
258       - recipe[munin::server]
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]