From 925f8ec87efda6e06df923706e3fdc3e0b9a5345 Mon Sep 17 00:00:00 2001 From: aminovfariz Date: Fri, 5 Jun 2026 11:54:12 +0200 Subject: [PATCH] fix(ci): debug mounts via hostname inspect Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/qa-required.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/qa-required.yaml b/.gitea/workflows/qa-required.yaml index f0ea20a..494a044 100644 --- a/.gitea/workflows/qa-required.yaml +++ b/.gitea/workflows/qa-required.yaml @@ -24,10 +24,13 @@ jobs: - name: Debug volume mount run: | - echo "=== runner container mounts ===" - SELF=$(cat /proc/self/cgroup 2>/dev/null | grep -o '[a-f0-9]\{64\}' | head -1 || true) - echo "self container id: $SELF" - docker inspect "$SELF" 2>/dev/null | grep -A5 '"Mounts"' | head -30 || echo "inspect failed" + echo "hostname=$(hostname)" + docker inspect "$(hostname)" 2>/dev/null | python3 -c " +import sys,json +data=json.load(sys.stdin) +for m in data[0].get('Mounts',[]): + print(m.get('Source'), '->', m.get('Destination')) +" || echo "inspect failed" - name: Start project services run: |