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
77f7ef29
Unverified
Commit
77f7ef29
authored
Oct 31, 2024
by
Alexei-V-Ivanov-AMD
Committed by
GitHub
Nov 01, 2024
Browse files
[CI/Build] Adding a forced docker system prune to clean up space (#9849)
parent
16b8f7a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.buildkite/run-amd-test.sh
.buildkite/run-amd-test.sh
+2
-2
No files found.
.buildkite/run-amd-test.sh
View file @
77f7ef29
...
@@ -31,8 +31,8 @@ cleanup_docker() {
...
@@ -31,8 +31,8 @@ cleanup_docker() {
echo
"Disk usage is above
$threshold
%. Cleaning up Docker images and volumes..."
echo
"Disk usage is above
$threshold
%. Cleaning up Docker images and volumes..."
# Remove dangling images (those that are not tagged and not used by any container)
# Remove dangling images (those that are not tagged and not used by any container)
docker image prune
-f
docker image prune
-f
# Remove unused volumes
# Remove unused volumes
/ force the system prune for old images as well.
docker volume prune
-f
docker volume prune
-f
&&
docker system prune
--force
--filter
"until=72h"
--all
echo
"Docker images and volumes cleanup completed."
echo
"Docker images and volumes cleanup completed."
else
else
echo
"Disk usage is below
$threshold
%. No cleanup needed."
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