Unverified Commit 31205fc8 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] remove Docker volumes during Azure cleanup (#6760)

parent c2f3807c
...@@ -69,15 +69,17 @@ jobs: ...@@ -69,15 +69,17 @@ jobs:
# check disk usage # check disk usage
print-diagnostics print-diagnostics
# remove old containers, container images, volumes # 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' ----" echo "---- running 'docker system prune' ----"
/tmp/docker system prune \ /tmp/docker system prune \
--all \ --all \
--force \ --force \
--volumes \
--filter until=720h --filter until=720h
# check disk usage again # check disk usage again
print-diagnostics print-diagnostics
displayName: clean displayName: Clean
########################################### ###########################################
- job: Linux - job: Linux
########################################### ###########################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment