From 32cafe37a8e471a156df142ea6dd6c0a7807f992 Mon Sep 17 00:00:00 2001 From: Sergei Vorobev <149376659+jkuradobery@users.noreply.github.com> Date: Wed, 31 Jan 2024 15:57:47 +0100 Subject: [PATCH] [CI]: Add ya cache garbage collection before scripts (#295) Ya cache grows uncontrollably, consuming all the disk space. --- cloud/storage/core/tools/ci/runner/run_all.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cloud/storage/core/tools/ci/runner/run_all.sh b/cloud/storage/core/tools/ci/runner/run_all.sh index 115a37c3349..e3174a88b7e 100755 --- a/cloud/storage/core/tools/ci/runner/run_all.sh +++ b/cloud/storage/core/tools/ci/runner/run_all.sh @@ -17,6 +17,8 @@ fi cd $nbspath && git pull +"${nbspath}/ya" gc cache + logs_dir="/var/www/build/logs/run_$(date +%y_%m_%d__%H)" && rm -rf "$logs_dir" && mkdir -p "$logs_dir"