ci: explicitly install the dnsname podman plugin

On RHEL a pre-compiled version is currently installed from the
vendor directory (see the README.md there). On Fedora it is
packaged in podman-plugins and that used to be installed
without explicitly asking for it, but that seems to have changed.
Explicitly install it on Fedora to ensure it is present.

Symptom of the dns plugin missing is that the koji hub container
will not start because it will block waiting for the postgres
container forever.
This commit is contained in:
Christian Kellner 2020-10-22 11:38:32 +02:00
parent 768c25744f
commit f5564c5f1f

View file

@ -25,10 +25,12 @@ sudo dnf -y install \
koji-osbuild-cli \
podman
greenprint "Install the podman dnsname plugin"
if [[ $ID == rhel ]]; then
greenprint "Tweaking podman, maybe."
sudo cp schutzbot/vendor/87-podman-bridge.conflist /etc/cni/net.d/
sudo cp schutzbot/vendor/dnsname /usr/libexec/cni/
else
sudo dnf -y install podman-plugins
fi
greenprint "Fetching RPMs"