test
Some checks failed
CI/CD Pipeline with Direct Podman Access / test-backend (push) Failing after 20s

This commit is contained in:
continuist 2025-09-14 15:26:42 -04:00
parent 4458526020
commit 399f47ae3d

View file

@ -25,12 +25,22 @@ jobs:
- name: Verify podman socket - name: Verify podman socket
run: | run: |
echo "DOCKER_HOST=$DOCKER_HOST" set -euo pipefail
echo "DOCKER_HOST=${DOCKER_HOST:-}"
: "${DOCKER_HOST:=unix:///var/run/docker.sock}"
export DOCKER_HOST CONTAINER_HOST="${CONTAINER_HOST:-$DOCKER_HOST}"
mkdir -p "${XDG_RUNTIME_DIR:-/tmp/xdg-run}" "${XDG_CONFIG_HOME:-/tmp/.config}"
sock="${DOCKER_HOST#unix://}" sock="${DOCKER_HOST#unix://}"
echo "Using socket: $sock"
test -S "$sock" || { echo "missing $sock"; ls -l "$(dirname "$sock")"; exit 1; } test -S "$sock" || { echo "missing $sock"; ls -l "$(dirname "$sock")"; exit 1; }
mkdir -p "${XDG_CONFIG_HOME:-/tmp/.config}/containers" # Prefer the remote-only binary and pass the URL explicitly
# Prefer explicit remote; fallback to podman-remote if that's what's installed (if command -v podman-remote >/dev/null; then
(podman --remote info || podman-remote info) | sed -n '1,80p' podman-remote --url="$DOCKER_HOST" info
else
podman --remote --url="$DOCKER_HOST" info
fi) | sed -n '1,80p'
- name: Verify pinned digests - name: Verify pinned digests
run: | run: |