From 445dad75279f216c938d3e1de0210c0a876ac739 Mon Sep 17 00:00:00 2001 From: Trevor Bergeron Date: Thu, 6 Mar 2025 00:38:05 +0000 Subject: [PATCH] chore: Cleanup kokoro artifacts at end of build --- .kokoro/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 58eaa7fedf..6cc03455da 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -50,3 +50,6 @@ if [[ -n "${NOX_SESSION:-}" ]]; then else python3 -m nox --stop-on-first-error fi + +# Prevent kokoro from trying to collect many mb of artifacts, wasting several minutes +sudo rm -rf "${KOKORO_ARTIFACTS_DIR?}"/*