spiegel_podman/hack/ci/gha_mac_cleanup.sh
Ashley Cui 3193b18d15
CI: Adjust Mac tmpdir
Makes for easier cleanup, and follows previous cirrus convention.

Signed-off-by: Ashley Cui <acui@redhat.com>
(cherry picked from commit 2984c2450b)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-04 20:04:28 +02:00

17 lines
331 B
Bash
Executable file

#!/usr/bin/env bash
# Best-effort cleanup of podman machine state and leaked test processes.
set +e -x
pkill -f vfkit
pkill -f krunkit
pkill -f gvproxy
pkill -f ginkgo
rm -rf "$HOME/.local/share/containers/podman/machine"
rm -rf "$HOME/.config/containers/podman"
rm -rf "${TMPDIR:-/private/tmp/ci}"
# Make we never error
true