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