Skip to content

Commit

Permalink
[ci] remove Docker volumes during Azure cleanup (#6760)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS authored Dec 15, 2024
1 parent c2f3807 commit 31205fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,17 @@ jobs:
# check disk usage
print-diagnostics
# remove old containers, container images, volumes
# ref: https://stackoverflow.com/a/32723127/3986677)
# ref: https://stackoverflow.com/a/32723127/3986677
# ref: https://depot.dev/blog/docker-clear-cache#removing-everything-with-docker-system-prune
echo "---- running 'docker system prune' ----"
/tmp/docker system prune \
--all \
--force \
--volumes \
--filter until=720h
# check disk usage again
print-diagnostics
displayName: clean
displayName: Clean
###########################################
- job: Linux
###########################################
Expand Down

0 comments on commit 31205fc

Please sign in to comment.