Skip to content

Commit 8bba8df

Browse files
chore: Cleanup kokoro artifacts at end of build (#1462)
1 parent 461e9e0 commit 8bba8df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.kokoro/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ if [[ -n "${NOX_SESSION:-}" ]]; then
5050
else
5151
python3 -m nox --stop-on-first-error
5252
fi
53+
54+
# Prevent kokoro from trying to collect many mb of artifacts, wasting several minutes
55+
sudo rm -rf "${KOKORO_ARTIFACTS_DIR?}"/*

0 commit comments

Comments
 (0)