allow decommissioned pools to be removed while others are finishing (#17221)

This commit is contained in:
Harshavardhana
2023-05-16 16:00:57 -07:00
committed by GitHub
parent 2131046427
commit 06557fe8be
3 changed files with 62 additions and 111 deletions

View File

@@ -8,8 +8,9 @@ export SECRET_KEY="$3"
export JOB_NAME="$4"
export MINT_MODE="full"
docker system prune -f
docker volume prune -f
docker system prune -f || true
docker volume prune -f || true
docker volume rm $(docker volume ls -f dangling=true) || true
## change working directory
cd .github/workflows/mint
@@ -45,6 +46,7 @@ sleep 10s
docker system prune -f || true
docker volume prune -f || true
docker volume rm $(docker volume ls -f dangling=true) || true
## change working directory
cd ../../../