From 35a18d7173c72ccf44d64179cb2ae0a4b41f1d70 Mon Sep 17 00:00:00 2001 From: Eti Zaguri Date: Thu, 8 Feb 2024 10:19:21 +0200 Subject: [PATCH] add EXCLUDE_BLOBS- CR-21485 (#72) --- service.yaml | 2 +- start.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/service.yaml b/service.yaml index 866591e..58df998 100644 --- a/service.yaml +++ b/service.yaml @@ -1 +1 @@ -version: 10.1.25 +version: 10.1.26 diff --git a/start.sh b/start.sh index 2cd1ca3..86787f3 100644 --- a/start.sh +++ b/start.sh @@ -174,6 +174,10 @@ else GIT_COMMAND="git_retry git clone $REPO $CLONE_DIR" fi +if [ "$EXCLUDE_BLOBS" = "true" ]; then + GIT_COMMAND+=" --filter=blob:none" +fi + # Check if the cloned dir already exists from previous builds if [ -d "$CLONE_DIR" ]; then