Skip to content

Commit 4cf1dc9

Browse files
committed
Remove ARM64 support for all Debian-based platforms in powershell scenario
PowerShell does not support ARM64 on Debian or Ubuntu. Although Kali Linux offers its own PowerShell system package, it does not offer an ARM64 version.
1 parent ae00aa6 commit 4cf1dc9

File tree

2 files changed

+84
-72
lines changed

2 files changed

+84
-72
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ jobs:
189189
# package to build any go projects of recent vintage.
190190
- platform: ubuntu-20-systemd
191191
scenario: go
192+
# PowerShell does not support ARM64 on Debian-based platforms.
193+
- architecture: arm64
194+
scenario: powershell
192195
# Debian Bookworm and Trixie do not offer Python 2.
193196
- platform: debian12-systemd
194197
scenario: python2

molecule/powershell/molecule.yml

Lines changed: 81 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,16 @@ platforms:
3232
privileged: true
3333
volumes:
3434
- /sys/fs/cgroup:/sys/fs/cgroup:rw
35-
- cgroupns_mode: host
36-
command: /lib/systemd/systemd
37-
image: docker.io/geerlingguy/docker-debian10-ansible:latest
38-
name: debian10-systemd-arm64
39-
platform: arm64
40-
pre_build_image: true
41-
privileged: true
42-
volumes:
43-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
35+
# PowerShell does not support ARM64 on Debian.
36+
# - cgroupns_mode: host
37+
# command: /lib/systemd/systemd
38+
# image: docker.io/geerlingguy/docker-debian10-ansible:latest
39+
# name: debian10-systemd-arm64
40+
# platform: arm64
41+
# pre_build_image: true
42+
# privileged: true
43+
# volumes:
44+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
4445
- cgroupns_mode: host
4546
command: /lib/systemd/systemd
4647
image: docker.io/geerlingguy/docker-debian11-ansible:latest
@@ -50,15 +51,16 @@ platforms:
5051
privileged: true
5152
volumes:
5253
- /sys/fs/cgroup:/sys/fs/cgroup:rw
53-
- cgroupns_mode: host
54-
command: /lib/systemd/systemd
55-
image: docker.io/geerlingguy/docker-debian11-ansible:latest
56-
name: debian11-systemd-arm64
57-
platform: arm64
58-
pre_build_image: true
59-
privileged: true
60-
volumes:
61-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
54+
# PowerShell does not support ARM64 on Debian.
55+
# - cgroupns_mode: host
56+
# command: /lib/systemd/systemd
57+
# image: docker.io/geerlingguy/docker-debian11-ansible:latest
58+
# name: debian11-systemd-arm64
59+
# platform: arm64
60+
# pre_build_image: true
61+
# privileged: true
62+
# volumes:
63+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
6264
- cgroupns_mode: host
6365
command: /lib/systemd/systemd
6466
image: docker.io/geerlingguy/docker-debian12-ansible:latest
@@ -68,15 +70,16 @@ platforms:
6870
privileged: true
6971
volumes:
7072
- /sys/fs/cgroup:/sys/fs/cgroup:rw
71-
- cgroupns_mode: host
72-
command: /lib/systemd/systemd
73-
image: docker.io/geerlingguy/docker-debian12-ansible:latest
74-
name: debian12-systemd-arm64
75-
platform: arm64
76-
pre_build_image: true
77-
privileged: true
78-
volumes:
79-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
73+
# PowerShell does not support ARM64 on Debian.
74+
# - cgroupns_mode: host
75+
# command: /lib/systemd/systemd
76+
# image: docker.io/geerlingguy/docker-debian12-ansible:latest
77+
# name: debian12-systemd-arm64
78+
# platform: arm64
79+
# pre_build_image: true
80+
# privileged: true
81+
# volumes:
82+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
8083
- cgroupns_mode: host
8184
command: /lib/systemd/systemd
8285
image: docker.io/cisagov/docker-debian13-ansible:latest
@@ -86,15 +89,16 @@ platforms:
8689
privileged: true
8790
volumes:
8891
- /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
92+
# - cgroupns_mode: host
93+
# command: /lib/systemd/systemd
94+
# image: docker.io/cisagov/docker-debian13-ansible:latest
95+
# name: debian13-systemd-arm64
96+
# platform: arm64
97+
# pre_build_image: true
98+
# privileged: true
99+
# volumes:
100+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
101+
# Kali Linux offers its own PowerShell system package...
98102
- cgroupns_mode: host
99103
command: /lib/systemd/systemd
100104
image: docker.io/cisagov/docker-kali-ansible:latest
@@ -104,15 +108,16 @@ platforms:
104108
privileged: true
105109
volumes:
106110
- /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
111+
# ...but not for ARM64
112+
# - cgroupns_mode: host
113+
# command: /lib/systemd/systemd
114+
# image: docker.io/cisagov/docker-kali-ansible:latest
115+
# name: kali-systemd-arm64
116+
# platform: arm64
117+
# pre_build_image: true
118+
# privileged: true
119+
# volumes:
120+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
116121
# This Ansible role only supports Debian-based platforms for now.
117122
# - cgroupns_mode: host
118123
# command: /lib/systemd/systemd
@@ -150,6 +155,7 @@ platforms:
150155
# privileged: true
151156
# volumes:
152157
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
158+
# PowerShell does not support ARM64 on Ubuntu.
153159
- cgroupns_mode: host
154160
command: /lib/systemd/systemd
155161
image: docker.io/geerlingguy/docker-ubuntu2004-ansible:latest
@@ -159,15 +165,16 @@ platforms:
159165
privileged: true
160166
volumes:
161167
- /sys/fs/cgroup:/sys/fs/cgroup:rw
162-
- cgroupns_mode: host
163-
command: /lib/systemd/systemd
164-
image: docker.io/geerlingguy/docker-ubuntu2004-ansible:latest
165-
name: ubuntu-20-systemd-arm64
166-
platform: arm64
167-
pre_build_image: true
168-
privileged: true
169-
volumes:
170-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
168+
# PowerShell does not support ARM64 on Ubuntu.
169+
# - cgroupns_mode: host
170+
# command: /lib/systemd/systemd
171+
# image: docker.io/geerlingguy/docker-ubuntu2004-ansible:latest
172+
# name: ubuntu-20-systemd-arm64
173+
# platform: arm64
174+
# pre_build_image: true
175+
# privileged: true
176+
# volumes:
177+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
171178
- cgroupns_mode: host
172179
command: /lib/systemd/systemd
173180
image: docker.io/geerlingguy/docker-ubuntu2204-ansible:latest
@@ -177,15 +184,16 @@ platforms:
177184
privileged: true
178185
volumes:
179186
- /sys/fs/cgroup:/sys/fs/cgroup:rw
180-
- cgroupns_mode: host
181-
command: /lib/systemd/systemd
182-
image: docker.io/geerlingguy/docker-ubuntu2204-ansible:latest
183-
name: ubuntu-22-systemd-arm64
184-
platform: arm64
185-
pre_build_image: true
186-
privileged: true
187-
volumes:
188-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
187+
# PowerShell does not support ARM64 on Ubuntu.
188+
# - cgroupns_mode: host
189+
# command: /lib/systemd/systemd
190+
# image: docker.io/geerlingguy/docker-ubuntu2204-ansible:latest
191+
# name: ubuntu-22-systemd-arm64
192+
# platform: arm64
193+
# pre_build_image: true
194+
# privileged: true
195+
# volumes:
196+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
189197
- cgroupns_mode: host
190198
command: /lib/systemd/systemd
191199
image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
@@ -195,15 +203,16 @@ platforms:
195203
privileged: true
196204
volumes:
197205
- /sys/fs/cgroup:/sys/fs/cgroup:rw
198-
- cgroupns_mode: host
199-
command: /lib/systemd/systemd
200-
image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
201-
name: ubuntu-24-systemd-arm64
202-
platform: arm64
203-
pre_build_image: true
204-
privileged: true
205-
volumes:
206-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
206+
# PowerShell does not support ARM64 on Ubuntu.
207+
# - cgroupns_mode: host
208+
# command: /lib/systemd/systemd
209+
# image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
210+
# name: ubuntu-24-systemd-arm64
211+
# platform: arm64
212+
# pre_build_image: true
213+
# privileged: true
214+
# volumes:
215+
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
207216
scenario:
208217
name: powershell
209218
verifier:

0 commit comments

Comments
 (0)