Skip to content

Commit

Permalink
Exclude all Debian 13 ARM64 scenarios from Molecule testing
Browse files Browse the repository at this point in the history
systemd-journald.socket fails to start under QEMU emulation starting
with systemd version 256, so starting with that version the
systemd-journald service cannot be restarted either. Right now we
support this case, but we can't test it until we have native ARM64
runners.

See issue #61 for more details.
  • Loading branch information
jsf9k committed Jun 18, 2024
1 parent ac18cd9 commit b0c30a7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 9 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@ jobs:
architecture:
- amd64
- arm64
exclude:
# TODO: systemd-journald.socket fails to start under QEMU
# emulation starting with systemd version 256, so starting
# with that version the systemd-journald service cannot be
# restarted either. Right now we support this case, but we
# can't test it until we have native ARM64 runners.
#
# See issue #61 for more details.
- architecture: arm64
platform: debian13-systemd
platform:
- amazonlinux2023-systemd
- debian10-systemd
Expand Down
25 changes: 16 additions & 9 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,22 @@ platforms:
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd
image: docker.io/cisagov/docker-debian13-ansible:latest
name: debian13-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
# TODO: systemd-journald.socket fails to start under QEMU emulation
# starting with systemd version 256, so starting with that version
# the systemd-journald service cannot be restarted either. Right
# now we support this case, but we can't test it until we have
# native ARM64 runners.
#
# See issue #61 for more details.
# - cgroupns_mode: host
# command: /lib/systemd/systemd
# image: docker.io/cisagov/docker-debian13-ansible:latest
# name: debian13-systemd-arm64
# platform: arm64
# pre_build_image: true
# privileged: true
# volumes:
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd
image: docker.io/cisagov/docker-kali-ansible:latest
Expand Down

0 comments on commit b0c30a7

Please sign in to comment.