From bd0ea37253792e83a1f346cf06e5cf94f87a1301 Mon Sep 17 00:00:00 2001 From: phact Date: Wed, 26 Nov 2025 04:08:28 -0500 Subject: [PATCH] integration tests docker cache --- .github/workflows/test-integration.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 80d2d169..92c9a976 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -32,23 +32,11 @@ jobs: steps: - run: df -h - - name: Disk space troubleshooting + - name: Cleanup Docker cache run: | - echo "=== Top-level disk usage ===" - sudo du -h -d1 / 2>/dev/null | sort -h - echo "" - echo "=== Docker disk usage ===" - docker system df - - - name: Clean runner workspace - run: | - # Save current workspace path - CURRENT_WORKSPACE="${GITHUB_WORKSPACE}" - # Clean old job workspaces except current one - find ${GITHUB_WORKSPACE}/../../../_work -maxdepth 2 -type d -mtime +1 -not -path "${CURRENT_WORKSPACE}*" -exec rm -rf {} + 2>/dev/null || true - # Clean runner logs older than 1 day - find ${GITHUB_WORKSPACE}/../../../_diag -type f -mtime +1 -delete 2>/dev/null || true - + docker system prune -af || true + docker builder prune -af || true + - run: df -h - name: Checkout