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