Skip to content

Commit ba89372

Browse files
test
1 parent 2de401f commit ba89372

File tree

2 files changed

+4
-35
lines changed

2 files changed

+4
-35
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: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ driver:
33
name: dokken
44
chef_license: accept
55
privileged: true
6+
volumes:
7+
- /sys/fs/cgroup:/sys/fs/cgroup:ro
68

79
transport:
810
name: dokken
@@ -20,45 +22,33 @@ verifier:
2022
platforms:
2123
- name: amazonlinux-2
2224
driver:
23-
image: dokken/amazonlinux-2
25+
image: dokken/amazonlinux-2:sha-f885abd
2426
pid_one_command: /usr/lib/systemd/systemd
25-
volumes:
26-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
2727

2828
- name: centos-7
2929
driver:
3030
image: dokken/centos-7
3131
pid_one_command: /usr/lib/systemd/systemd
32-
volumes:
33-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
3432

3533
- name: centos-8
3634
driver:
3735
image: dokken/centos-8
3836
pid_one_command: /usr/lib/systemd/systemd
39-
volumes:
40-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
4137

4238
- name: centos-9
4339
driver:
4440
image: dokken/centos-stream-9
4541
pid_one_command: /usr/lib/systemd/systemd
46-
volumes:
47-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
4842

4943
- name: rockylinux-8
5044
driver:
5145
image: dokken/rockylinux-8
5246
pid_one_command: /usr/lib/systemd/systemd
53-
volumes:
54-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
5547

5648
- name: rockylinux-9
5749
driver:
5850
image: dokken/rockylinux-9
5951
pid_one_command: /usr/lib/systemd/systemd
60-
volumes:
61-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
6252

6353
- name: debian-9
6454
driver:
@@ -67,29 +57,21 @@ platforms:
6757
RUN sed -i 's|http://.*.debian.org|http://archive.debian.org|' /etc/apt/sources.list
6858
RUN sed -i '/stretch-updates/d' /etc/apt/sources.list
6959
pid_one_command: /bin/systemd
70-
volumes:
71-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
7260

7361
- name: debian-10
7462
driver:
7563
image: dokken/debian-10
7664
pid_one_command: /bin/systemd
77-
volumes:
78-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
7965

8066
- name: debian-11
8167
driver:
8268
image: dokken/debian-11
8369
pid_one_command: /bin/systemd
84-
volumes:
85-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
8670

8771
- name: debian-12
8872
driver:
8973
image: dokken/debian-12
9074
pid_one_command: /bin/systemd
91-
volumes:
92-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
9375

9476
- name: opensuse-12
9577
driver:
@@ -109,50 +91,36 @@ platforms:
10991
rm -f /usr/lib/systemd/system/anaconda.target.wants/*;
11092
ENV init /sbin/init
11193
pid_one_command: /sbin/init
112-
volumes:
113-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
11494

11595
- name: opensuse-15
11696
driver:
11797
image: dokken/opensuse-leap-15
11898
pid_one_command: /usr/lib/systemd/systemd
119-
volumes:
120-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
12199

122100
- name: oraclelinux-7
123101
driver:
124102
image: dokken/oraclelinux-7
125103
pid_one_command: /usr/lib/systemd/systemd
126-
volumes:
127-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
128104

129105
- name: oraclelinux-8
130106
driver:
131107
image: dokken/oraclelinux-8
132108
pid_one_command: /usr/lib/systemd/systemd
133-
volumes:
134-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
135109

136110
- name: ubuntu-18.04
137111
driver:
138112
image: dokken/ubuntu-18.04
139113
pid_one_command: /bin/systemd
140-
volumes:
141-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
142114

143115
- name: ubuntu-20.04
144116
driver:
145117
image: dokken/ubuntu-20.04
146118
pid_one_command: /bin/systemd
147-
volumes:
148-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
149119

150120
- name: ubuntu-22.04
151121
driver:
152122
image: dokken/ubuntu-22.04
153123
pid_one_command: /bin/systemd
154-
volumes:
155-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
156124

157125
suites:
158126
- name: default

0 commit comments

Comments
 (0)