fix(ci): remove slow du commands to prevent runner hang
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 27s
Build & Deploy / 🧪 QA (push) Successful in 1m29s
Build & Deploy / 🏗️ Build (push) Successful in 4m27s
Build & Deploy / 🚀 Deploy (push) Successful in 34s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 53s
Build & Deploy / 🔔 Notify (push) Successful in 2s
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 27s
Build & Deploy / 🧪 QA (push) Successful in 1m29s
Build & Deploy / 🏗️ Build (push) Successful in 4m27s
Build & Deploy / 🚀 Deploy (push) Successful in 34s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 53s
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -71,14 +71,11 @@ jobs:
|
||||
fi
|
||||
echo "=== Truncating host Docker container log files ==="
|
||||
docker run --rm -v /:/host-root alpine sh -c "truncate -s 0 /host-root/mnt/HC_Volume_104796416/docker/containers/*/*.log" || true
|
||||
echo "=== Fast Host Docker Directories size ==="
|
||||
docker run --rm -v /:/host-root alpine sh -c "du -sh /host-root/mnt/HC_Volume_104796416/docker/overlay2 /host-root/mnt/HC_Volume_104796416/docker/containers /host-root/mnt/HC_Volume_104796416/docker/volumes /host-root/mnt/HC_Volume_104796416/docker/buildkit" || true
|
||||
echo "Purging old build layers, unused volumes and images..."
|
||||
docker builder prune -a -f || true
|
||||
docker volume prune -f || true
|
||||
docker system prune -a -f --volumes || true
|
||||
echo "=== System Disk Usage After Prune ==="
|
||||
docker run --rm -v /:/host-root alpine df -h || true
|
||||
df -h || true
|
||||
|
||||
- name: Checkout repository
|
||||
|
||||
Reference in New Issue
Block a user