stackhpc / ansible-role-openhpc

Ansible role for OpenHPC
Apache License 2.0
44 stars 15 forks source link

Build RL9.3 container images with systemd in CI #166

Closed sjpb closed 4 months ago

sjpb commented 4 months ago

Upstream rockylinux:9.3 images don't contain systemd, which means running /sbin/init for molecule fails.

Previously the workaround was to use "/bin/bash -c 'dnf -y install systemd && /sbin/init'" as the container command but this was very flaky. Instead CI now builds an image containing systemd using the upstream rockylinux:9.3 image. This ensures that the image used for the molecule workflow is always updated.