[gnome-software: 4/6] ci: Speed up cache-subprojects.sh
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 4/6] ci: Speed up cache-subprojects.sh
- Date: Tue, 12 Jan 2021 12:09:04 +0000 (UTC)
commit 14a95684ac5b5b84556a40aa2c9713126a1f513e
Author: Philip Withnall <pwithnall endlessos org>
Date: Fri Jan 8 19:47:20 2021 +0000
ci: Speed up cache-subprojects.sh
Only download the head revision, which is all that’s needed.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
.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 6c70248b..71e0eee6 100755
--- a/.gitlab-ci/cache-subprojects.sh
+++ b/.gitlab-ci/cache-subprojects.sh
@@ -2,7 +2,7 @@
set -e
-git clone https://gitlab.gnome.org/GNOME/gnome-software.git
+git clone --depth 1 --no-tags https://gitlab.gnome.org/GNOME/gnome-software.git
meson subprojects download --sourcedir gnome-software
rm gnome-software/subprojects/*.wrap
mv gnome-software/subprojects/ .
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]