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