chore(ci): run aggressive docker volume and system prune during maintenance to resolve ENOSPC errors
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 39s
Build & Deploy / 🧪 QA (push) Failing after 1m39s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 13s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 39s
Build & Deploy / 🧪 QA (push) Failing after 1m39s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 13s
This commit is contained in:
@@ -51,10 +51,10 @@ jobs:
|
|||||||
echo "Purging old tool caches..."
|
echo "Purging old tool caches..."
|
||||||
rm -rf /opt/hostedtoolcache/* || true
|
rm -rf /opt/hostedtoolcache/* || true
|
||||||
rm -rf /opt/hostedtoolcache/.[!.]* || true
|
rm -rf /opt/hostedtoolcache/.[!.]* || true
|
||||||
echo "Purging old build layers and dangling images..."
|
echo "Purging old build layers, unused volumes and images..."
|
||||||
docker builder prune -a -f || true
|
docker builder prune -a -f || true
|
||||||
docker image prune -a -f || true
|
docker volume prune -f || true
|
||||||
docker system prune -f || true
|
docker system prune -a -f || true
|
||||||
echo "=== System Disk Usage After Prune ==="
|
echo "=== System Disk Usage After Prune ==="
|
||||||
df -h || true
|
df -h || true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user