forked from facebook/chef-cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
55 lines (51 loc) · 1.78 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
driver:
name: dokken
privileged: true
# our cookbooks should be compatible with the latest Chef,
# but we nee to ensure they still work on 13 until we move to 14
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
platforms:
- name: centos-stream-9
driver:
image: dokken/centos-stream-9
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
# stub out /etc/fstab for fb_fstab
- RUN touch /etc/fstab
# enable EPEL (for stuff like hddtemp)
- RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
- name: centos-stream-10
driver:
image: dokken/centos-stream-10
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
# stub out /etc/fstab for fb_fstab
- RUN touch /etc/fstab
# mirrorlist.centos.org doesn't exist anymore, use baseurl
- RUN sed -i=.bak -e 's/^mirrorlist/#mirrorlist/g' -e 's!^#baseurl=http://mirror.centos.org/$contentdir/$stream!baseurl=https://vault.centos.org/$stream!g' /etc/yum.repos.d/*.repo
- RUN rm /etc/yum.repos.d/*.bak
# enable EPEL (for stuff like hddtemp)
- RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm
- name: ubuntu-24.04
driver:
image: dokken/ubuntu-24.04
pid_one_command: /bin/systemd
- name: ubuntu-22.04
driver:
image: dokken/ubuntu-22.04
pid_one_command: /bin/systemd
- name: debian-12
driver:
image: dokken/debian-12
pid_one_command: /bin/systemd
provisioner:
name: dokken
chef_log_level: <%= ENV['CHEF_LOG_LEVEL'] || 'auto' %>
transport:
name: dokken
suites:
- name: default
run_list:
- recipe[ci_fixes]
- recipe[fb_init_sample]
- recipe[test_services]