Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
8993073d
Unverified
Commit
8993073d
authored
Aug 21, 2025
by
QiliangCui
Committed by
GitHub
Aug 20, 2025
Browse files
[CI] Delete images older than 24h. (#23291)
Signed-off-by:
Qiliang Cui
<
derrhein@gmail.com
>
parent
655a09f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.buildkite/scripts/tpu/cleanup_docker.sh
.buildkite/scripts/tpu/cleanup_docker.sh
+1
-1
No files found.
.buildkite/scripts/tpu/cleanup_docker.sh
View file @
8993073d
...
...
@@ -17,7 +17,7 @@ if [ "$disk_usage" -gt "$threshold" ]; then
# Remove dangling images (those that are not tagged and not used by any container)
docker image prune
-f
# Remove unused volumes / force the system prune for old images as well.
docker volume prune
-f
&&
docker system prune
--force
--filter
"until=
7
2h"
--all
docker volume prune
-f
&&
docker system prune
--force
--filter
"until=2
4
h"
--all
echo
"Docker images and volumes cleanup completed."
else
echo
"Disk usage is below
$threshold
%. No cleanup needed."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment