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