Skip to content

Commit ef64964

Browse files
test
1 parent 2de401f commit ef64964

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/chef-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- main
8+
- chef-kitchen-tests
89
paths:
910
- '.github/workflows/chef-test.yml'
1011
- 'deployments/chef/**'

deployments/chef/kitchen.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,41 +22,53 @@ platforms:
2222
driver:
2323
image: dokken/amazonlinux-2
2424
pid_one_command: /usr/lib/systemd/systemd
25+
privileged: true
26+
cgroupns_host: true
2527
volumes:
2628
- /sys/fs/cgroup:/sys/fs/cgroup:ro
2729

2830
- name: centos-7
2931
driver:
3032
image: dokken/centos-7
3133
pid_one_command: /usr/lib/systemd/systemd
34+
privileged: true
35+
cgroupns_host: true
3236
volumes:
3337
- /sys/fs/cgroup:/sys/fs/cgroup:ro
3438

3539
- name: centos-8
3640
driver:
3741
image: dokken/centos-8
3842
pid_one_command: /usr/lib/systemd/systemd
43+
privileged: true
44+
cgroupns_host: true
3945
volumes:
4046
- /sys/fs/cgroup:/sys/fs/cgroup:ro
4147

4248
- name: centos-9
4349
driver:
4450
image: dokken/centos-stream-9
4551
pid_one_command: /usr/lib/systemd/systemd
52+
privileged: true
53+
cgroupns_host: true
4654
volumes:
4755
- /sys/fs/cgroup:/sys/fs/cgroup:ro
4856

4957
- name: rockylinux-8
5058
driver:
5159
image: dokken/rockylinux-8
5260
pid_one_command: /usr/lib/systemd/systemd
61+
privileged: true
62+
cgroupns_host: true
5363
volumes:
5464
- /sys/fs/cgroup:/sys/fs/cgroup:ro
5565

5666
- name: rockylinux-9
5767
driver:
5868
image: dokken/rockylinux-9
5969
pid_one_command: /usr/lib/systemd/systemd
70+
privileged: true
71+
cgroupns_host: true
6072
volumes:
6173
- /sys/fs/cgroup:/sys/fs/cgroup:ro
6274

@@ -67,27 +79,35 @@ platforms:
6779
RUN sed -i 's|http://.*.debian.org|http://archive.debian.org|' /etc/apt/sources.list
6880
RUN sed -i '/stretch-updates/d' /etc/apt/sources.list
6981
pid_one_command: /bin/systemd
82+
privileged: true
83+
cgroupns_host: true
7084
volumes:
7185
- /sys/fs/cgroup:/sys/fs/cgroup:ro
7286

7387
- name: debian-10
7488
driver:
7589
image: dokken/debian-10
7690
pid_one_command: /bin/systemd
91+
privileged: true
92+
cgroupns_host: true
7793
volumes:
7894
- /sys/fs/cgroup:/sys/fs/cgroup:ro
7995

8096
- name: debian-11
8197
driver:
8298
image: dokken/debian-11
8399
pid_one_command: /bin/systemd
100+
privileged: true
101+
cgroupns_host: true
84102
volumes:
85103
- /sys/fs/cgroup:/sys/fs/cgroup:ro
86104

87105
- name: debian-12
88106
driver:
89107
image: dokken/debian-12
90108
pid_one_command: /bin/systemd
109+
privileged: true
110+
cgroupns_host: true
91111
volumes:
92112
- /sys/fs/cgroup:/sys/fs/cgroup:ro
93113

@@ -109,48 +129,62 @@ platforms:
109129
rm -f /usr/lib/systemd/system/anaconda.target.wants/*;
110130
ENV init /sbin/init
111131
pid_one_command: /sbin/init
132+
privileged: true
133+
cgroupns_host: true
112134
volumes:
113135
- /sys/fs/cgroup:/sys/fs/cgroup:ro
114136

115137
- name: opensuse-15
116138
driver:
117139
image: dokken/opensuse-leap-15
118140
pid_one_command: /usr/lib/systemd/systemd
141+
privileged: true
142+
cgroupns_host: true
119143
volumes:
120144
- /sys/fs/cgroup:/sys/fs/cgroup:ro
121145

122146
- name: oraclelinux-7
123147
driver:
124148
image: dokken/oraclelinux-7
125149
pid_one_command: /usr/lib/systemd/systemd
150+
privileged: true
151+
cgroupns_host: true
126152
volumes:
127153
- /sys/fs/cgroup:/sys/fs/cgroup:ro
128154

129155
- name: oraclelinux-8
130156
driver:
131157
image: dokken/oraclelinux-8
132158
pid_one_command: /usr/lib/systemd/systemd
159+
privileged: true
160+
cgroupns_host: true
133161
volumes:
134162
- /sys/fs/cgroup:/sys/fs/cgroup:ro
135163

136164
- name: ubuntu-18.04
137165
driver:
138166
image: dokken/ubuntu-18.04
139167
pid_one_command: /bin/systemd
168+
privileged: true
169+
cgroupns_host: true
140170
volumes:
141171
- /sys/fs/cgroup:/sys/fs/cgroup:ro
142172

143173
- name: ubuntu-20.04
144174
driver:
145175
image: dokken/ubuntu-20.04
146176
pid_one_command: /bin/systemd
177+
privileged: true
178+
cgroupns_host: true
147179
volumes:
148180
- /sys/fs/cgroup:/sys/fs/cgroup:ro
149181

150182
- name: ubuntu-22.04
151183
driver:
152184
image: dokken/ubuntu-22.04
153185
pid_one_command: /bin/systemd
186+
privileged: true
187+
cgroupns_host: true
154188
volumes:
155189
- /sys/fs/cgroup:/sys/fs/cgroup:ro
156190

0 commit comments

Comments
 (0)