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