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