forked from fa/breadcrumb-the-shire
fix(ci): debug mounts via hostname inspect
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -24,10 +24,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Debug volume mount
|
- name: Debug volume mount
|
||||||
run: |
|
run: |
|
||||||
echo "=== runner container mounts ==="
|
echo "hostname=$(hostname)"
|
||||||
SELF=$(cat /proc/self/cgroup 2>/dev/null | grep -o '[a-f0-9]\{64\}' | head -1 || true)
|
docker inspect "$(hostname)" 2>/dev/null | python3 -c "
|
||||||
echo "self container id: $SELF"
|
import sys,json
|
||||||
docker inspect "$SELF" 2>/dev/null | grep -A5 '"Mounts"' | head -30 || echo "inspect failed"
|
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
|
- name: Start project services
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user