Skip to content

Commit 3a276f9

Browse files
authored
Merge pull request #14 from cisagov/testing/cease-excluding-arm64-platforms-from-molecule-testing
Cease excluding ARM64 platforms from Molecule testing where possible
2 parents 039f43f + 3c59a85 commit 3a276f9

File tree

4 files changed

+162
-290
lines changed

4 files changed

+162
-290
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -184,26 +184,6 @@ jobs:
184184
architecture:
185185
- amd64
186186
- arm64
187-
exclude:
188-
# TODO: Starting with systemd version 253 or 254 (I'm not
189-
# sure which) it is no longer possible to start
190-
# systemd-resolved.service under QEMU emulation. We
191-
# support this case, but we cannot test it until we have
192-
# native ARM64 runners.
193-
#
194-
# See issue #10 for more details.
195-
- architecture: arm64
196-
platform: debian13-systemd
197-
- architecture: arm64
198-
platform: fedora39-systemd
199-
- architecture: arm64
200-
platform: fedora40-systemd
201-
- architecture: arm64
202-
platform: fedora41-systemd
203-
- architecture: arm64
204-
platform: kali-systemd
205-
- architecture: arm64
206-
platform: ubuntu-24-systemd
207187
platform:
208188
- amazonlinux2023-systemd
209189
# These platforms do not provide systemd-resolved.

molecule/default/molecule.yml

Lines changed: 54 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,15 @@ platforms:
8686
privileged: true
8787
volumes:
8888
- /sys/fs/cgroup:/sys/fs/cgroup:rw
89-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
90-
# which) it is no longer possible to start systemd-resolved.service
91-
# under QEMU emulation. We support this case, but we cannot test it
92-
# until we have native ARM64 runners.
93-
#
94-
# See issue #10 for more details.
95-
# - cgroupns_mode: host
96-
# command: /lib/systemd/systemd
97-
# image: docker.io/cisagov/docker-debian13-ansible:latest
98-
# name: debian13-systemd-arm64
99-
# platform: arm64
100-
# pre_build_image: true
101-
# privileged: true
102-
# volumes:
103-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
89+
- cgroupns_mode: host
90+
command: /lib/systemd/systemd
91+
image: docker.io/cisagov/docker-debian13-ansible:latest
92+
name: debian13-systemd-arm64
93+
platform: arm64
94+
pre_build_image: true
95+
privileged: true
96+
volumes:
97+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
10498
- cgroupns_mode: host
10599
command: /lib/systemd/systemd
106100
image: docker.io/cisagov/docker-kali-ansible:latest
@@ -110,21 +104,15 @@ platforms:
110104
privileged: true
111105
volumes:
112106
- /sys/fs/cgroup:/sys/fs/cgroup:rw
113-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
114-
# which) it is no longer possible to start systemd-resolved.service
115-
# under QEMU emulation. We support this case, but we cannot test it
116-
# until we have native ARM64 runners.
117-
#
118-
# See issue #10 for more details.
119-
# - cgroupns_mode: host
120-
# command: /lib/systemd/systemd
121-
# image: docker.io/cisagov/docker-kali-ansible:latest
122-
# name: kali-systemd-arm64
123-
# platform: arm64
124-
# pre_build_image: true
125-
# privileged: true
126-
# volumes:
127-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
107+
- cgroupns_mode: host
108+
command: /lib/systemd/systemd
109+
image: docker.io/cisagov/docker-kali-ansible:latest
110+
name: kali-systemd-arm64
111+
platform: arm64
112+
pre_build_image: true
113+
privileged: true
114+
volumes:
115+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
128116
- cgroupns_mode: host
129117
command: /lib/systemd/systemd
130118
image: docker.io/geerlingguy/docker-fedora39-ansible:latest
@@ -134,21 +122,15 @@ platforms:
134122
privileged: true
135123
volumes:
136124
- /sys/fs/cgroup:/sys/fs/cgroup:rw
137-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
138-
# which) it is no longer possible to start systemd-resolved.service
139-
# under QEMU emulation. We support this case, but we cannot test it
140-
# until we have native ARM64 runners.
141-
#
142-
# See issue #10 for more details.
143-
# - cgroupns_mode: host
144-
# command: /lib/systemd/systemd
145-
# image: docker.io/geerlingguy/docker-fedora39-ansible:latest
146-
# name: fedora39-systemd-arm64
147-
# platform: arm64
148-
# pre_build_image: true
149-
# privileged: true
150-
# volumes:
151-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
125+
- cgroupns_mode: host
126+
command: /lib/systemd/systemd
127+
image: docker.io/geerlingguy/docker-fedora39-ansible:latest
128+
name: fedora39-systemd-arm64
129+
platform: arm64
130+
pre_build_image: true
131+
privileged: true
132+
volumes:
133+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
152134
- cgroupns_mode: host
153135
command: /lib/systemd/systemd
154136
image: docker.io/geerlingguy/docker-fedora40-ansible:latest
@@ -158,21 +140,15 @@ platforms:
158140
privileged: true
159141
volumes:
160142
- /sys/fs/cgroup:/sys/fs/cgroup:rw
161-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
162-
# which) it is no longer possible to start systemd-resolved.service
163-
# under QEMU emulation. We support this case, but we cannot test it
164-
# until we have native ARM64 runners.
165-
#
166-
# See issue #10 for more details.
167-
# - cgroupns_mode: host
168-
# command: /lib/systemd/systemd
169-
# image: docker.io/geerlingguy/docker-fedora40-ansible:latest
170-
# name: fedora40-systemd-arm64
171-
# platform: arm64
172-
# pre_build_image: true
173-
# privileged: true
174-
# volumes:
175-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
143+
- cgroupns_mode: host
144+
command: /lib/systemd/systemd
145+
image: docker.io/geerlingguy/docker-fedora40-ansible:latest
146+
name: fedora40-systemd-arm64
147+
platform: arm64
148+
pre_build_image: true
149+
privileged: true
150+
volumes:
151+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
176152
- cgroupns_mode: host
177153
command: /lib/systemd/systemd
178154
image: docker.io/geerlingguy/docker-fedora41-ansible:latest
@@ -182,21 +158,15 @@ platforms:
182158
privileged: true
183159
volumes:
184160
- /sys/fs/cgroup:/sys/fs/cgroup:rw
185-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
186-
# which) it is no longer possible to start systemd-resolved.service
187-
# under QEMU emulation. We support this case, but we cannot test it
188-
# until we have native ARM64 runners.
189-
#
190-
# See issue #10 for more details.
191-
# - cgroupns_mode: host
192-
# command: /lib/systemd/systemd
193-
# image: docker.io/geerlingguy/docker-fedora41-ansible:latest
194-
# name: fedora41-systemd-arm64
195-
# platform: arm64
196-
# pre_build_image: true
197-
# privileged: true
198-
# volumes:
199-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
161+
- cgroupns_mode: host
162+
command: /lib/systemd/systemd
163+
image: docker.io/geerlingguy/docker-fedora41-ansible:latest
164+
name: fedora41-systemd-arm64
165+
platform: arm64
166+
pre_build_image: true
167+
privileged: true
168+
volumes:
169+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
200170
# These platforms do not provide systemd-resolved.
201171
# - cgroupns_mode: host
202172
# command: /lib/systemd/systemd
@@ -243,21 +213,15 @@ platforms:
243213
privileged: true
244214
volumes:
245215
- /sys/fs/cgroup:/sys/fs/cgroup:rw
246-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
247-
# which) it is no longer possible to start systemd-resolved.service
248-
# under QEMU emulation. We support this case, but we cannot test it
249-
# until we have native ARM64 runners.
250-
#
251-
# See issue #10 for more details.
252-
# - cgroupns_mode: host
253-
# command: /lib/systemd/systemd
254-
# image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
255-
# name: ubuntu-24-systemd-arm64
256-
# platform: arm64
257-
# pre_build_image: true
258-
# privileged: true
259-
# volumes:
260-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
216+
- cgroupns_mode: host
217+
command: /lib/systemd/systemd
218+
image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
219+
name: ubuntu-24-systemd-arm64
220+
platform: arm64
221+
pre_build_image: true
222+
privileged: true
223+
volumes:
224+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
261225
scenario:
262226
name: default
263227
verifier:

molecule/disable_stub_resolver/molecule.yml

Lines changed: 54 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,15 @@ platforms:
8686
privileged: true
8787
volumes:
8888
- /sys/fs/cgroup:/sys/fs/cgroup:rw
89-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
90-
# which) it is no longer possible to start systemd-resolved.service
91-
# under QEMU emulation. We support this case, but we cannot test it
92-
# until we have native ARM64 runners.
93-
#
94-
# See issue #10 for more details.
95-
# - cgroupns_mode: host
96-
# command: /lib/systemd/systemd
97-
# image: docker.io/cisagov/docker-debian13-ansible:latest
98-
# name: debian13-systemd-arm64
99-
# platform: arm64
100-
# pre_build_image: true
101-
# privileged: true
102-
# volumes:
103-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
89+
- cgroupns_mode: host
90+
command: /lib/systemd/systemd
91+
image: docker.io/cisagov/docker-debian13-ansible:latest
92+
name: debian13-systemd-arm64
93+
platform: arm64
94+
pre_build_image: true
95+
privileged: true
96+
volumes:
97+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
10498
- cgroupns_mode: host
10599
command: /lib/systemd/systemd
106100
image: docker.io/cisagov/docker-kali-ansible:latest
@@ -110,21 +104,15 @@ platforms:
110104
privileged: true
111105
volumes:
112106
- /sys/fs/cgroup:/sys/fs/cgroup:rw
113-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
114-
# which) it is no longer possible to start systemd-resolved.service
115-
# under QEMU emulation. We support this case, but we cannot test it
116-
# until we have native ARM64 runners.
117-
#
118-
# See issue #10 for more details.
119-
# - cgroupns_mode: host
120-
# command: /lib/systemd/systemd
121-
# image: docker.io/cisagov/docker-kali-ansible:latest
122-
# name: kali-systemd-arm64
123-
# platform: arm64
124-
# pre_build_image: true
125-
# privileged: true
126-
# volumes:
127-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
107+
- cgroupns_mode: host
108+
command: /lib/systemd/systemd
109+
image: docker.io/cisagov/docker-kali-ansible:latest
110+
name: kali-systemd-arm64
111+
platform: arm64
112+
pre_build_image: true
113+
privileged: true
114+
volumes:
115+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
128116
- cgroupns_mode: host
129117
command: /lib/systemd/systemd
130118
image: docker.io/geerlingguy/docker-fedora39-ansible:latest
@@ -134,21 +122,15 @@ platforms:
134122
privileged: true
135123
volumes:
136124
- /sys/fs/cgroup:/sys/fs/cgroup:rw
137-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
138-
# which) it is no longer possible to start systemd-resolved.service
139-
# under QEMU emulation. We support this case, but we cannot test it
140-
# until we have native ARM64 runners.
141-
#
142-
# See issue #10 for more details.
143-
# - cgroupns_mode: host
144-
# command: /lib/systemd/systemd
145-
# image: docker.io/geerlingguy/docker-fedora39-ansible:latest
146-
# name: fedora39-systemd-arm64
147-
# platform: arm64
148-
# pre_build_image: true
149-
# privileged: true
150-
# volumes:
151-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
125+
- cgroupns_mode: host
126+
command: /lib/systemd/systemd
127+
image: docker.io/geerlingguy/docker-fedora39-ansible:latest
128+
name: fedora39-systemd-arm64
129+
platform: arm64
130+
pre_build_image: true
131+
privileged: true
132+
volumes:
133+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
152134
- cgroupns_mode: host
153135
command: /lib/systemd/systemd
154136
image: docker.io/geerlingguy/docker-fedora40-ansible:latest
@@ -158,21 +140,15 @@ platforms:
158140
privileged: true
159141
volumes:
160142
- /sys/fs/cgroup:/sys/fs/cgroup:rw
161-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
162-
# which) it is no longer possible to start systemd-resolved.service
163-
# under QEMU emulation. We support this case, but we cannot test it
164-
# until we have native ARM64 runners.
165-
#
166-
# See issue #10 for more details.
167-
# - cgroupns_mode: host
168-
# command: /lib/systemd/systemd
169-
# image: docker.io/geerlingguy/docker-fedora40-ansible:latest
170-
# name: fedora40-systemd-arm64
171-
# platform: arm64
172-
# pre_build_image: true
173-
# privileged: true
174-
# volumes:
175-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
143+
- cgroupns_mode: host
144+
command: /lib/systemd/systemd
145+
image: docker.io/geerlingguy/docker-fedora40-ansible:latest
146+
name: fedora40-systemd-arm64
147+
platform: arm64
148+
pre_build_image: true
149+
privileged: true
150+
volumes:
151+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
176152
- cgroupns_mode: host
177153
command: /lib/systemd/systemd
178154
image: docker.io/geerlingguy/docker-fedora41-ansible:latest
@@ -182,21 +158,15 @@ platforms:
182158
privileged: true
183159
volumes:
184160
- /sys/fs/cgroup:/sys/fs/cgroup:rw
185-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
186-
# which) it is no longer possible to start systemd-resolved.service
187-
# under QEMU emulation. We support this case, but we cannot test it
188-
# until we have native ARM64 runners.
189-
#
190-
# See issue #10 for more details.
191-
# - cgroupns_mode: host
192-
# command: /lib/systemd/systemd
193-
# image: docker.io/geerlingguy/docker-fedora41-ansible:latest
194-
# name: fedora41-systemd-arm64
195-
# platform: arm64
196-
# pre_build_image: true
197-
# privileged: true
198-
# volumes:
199-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
161+
- cgroupns_mode: host
162+
command: /lib/systemd/systemd
163+
image: docker.io/geerlingguy/docker-fedora41-ansible:latest
164+
name: fedora41-systemd-arm64
165+
platform: arm64
166+
pre_build_image: true
167+
privileged: true
168+
volumes:
169+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
200170
# These platforms do not provide systemd-resolved.
201171
# - cgroupns_mode: host
202172
# command: /lib/systemd/systemd
@@ -243,21 +213,15 @@ platforms:
243213
privileged: true
244214
volumes:
245215
- /sys/fs/cgroup:/sys/fs/cgroup:rw
246-
# TODO: Starting with systemd version 253 or 254 (I'm not sure
247-
# which) it is no longer possible to start systemd-resolved.service
248-
# under QEMU emulation. We support this case, but we cannot test it
249-
# until we have native ARM64 runners.
250-
#
251-
# See issue #10 for more details.
252-
# - cgroupns_mode: host
253-
# command: /lib/systemd/systemd
254-
# image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
255-
# name: ubuntu-24-systemd-arm64
256-
# platform: arm64
257-
# pre_build_image: true
258-
# privileged: true
259-
# volumes:
260-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
216+
- cgroupns_mode: host
217+
command: /lib/systemd/systemd
218+
image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
219+
name: ubuntu-24-systemd-arm64
220+
platform: arm64
221+
pre_build_image: true
222+
privileged: true
223+
volumes:
224+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
261225
scenario:
262226
name: disable_stub_resolver
263227
verifier:

0 commit comments

Comments
 (0)