From 21d4f8743adcef392e293e520e5db3d94f5ceec6 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 25 May 2021 11:44:49 -0700 Subject: [PATCH] clear more big dirs on jenkins devices --- selfdrive/test/setup_device_ci.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/selfdrive/test/setup_device_ci.sh b/selfdrive/test/setup_device_ci.sh index fc4d4496a7..d186f8c05f 100755 --- a/selfdrive/test/setup_device_ci.sh +++ b/selfdrive/test/setup_device_ci.sh @@ -26,8 +26,11 @@ if [ ! -d "$SOURCE_DIR" ]; then git clone --depth 1 https://github.com/commaai/openpilot.git "$SOURCE_DIR" fi -# this can get really big on the CI devices -rm -rf /data/core +if [ -f "/EON" ]; then + rm -rf /data/core + rm -rf /data/neoupdate + rm -rf /data/safe_staging +fi # set up environment cd $SOURCE_DIR