From 1b09aca66653c0275549329170f577f4cb1c5559 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 22 Mar 2021 17:54:42 +0000 Subject: [PATCH] ci: Limit depth of clone of subprojects This saves bandwidth and CI image size. Signed-off-by: Philip Withnall --- .gitlab-ci/cache-subprojects.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/cache-subprojects.sh b/.gitlab-ci/cache-subprojects.sh index 5401bca..b07239f 100755 --- a/.gitlab-ci/cache-subprojects.sh +++ b/.gitlab-ci/cache-subprojects.sh @@ -2,7 +2,7 @@ set -e -git clone https://gitlab.freedesktop.org/pwithnall/malcontent.git +git clone --depth 1 --no-tags https://gitlab.freedesktop.org/pwithnall/malcontent.git meson subprojects download --sourcedir malcontent rm malcontent/subprojects/*.wrap mv malcontent/subprojects/ .