From 23a62fd5fa216e92a5cac4bec049a608883fd10f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 23 Feb 2018 22:32:55 +0100 Subject: [PATCH] gitlab-ci: download fdroidserver as tarball rather than git clone This should hopefully be quicker and lower impact. --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e87a5b35cf..c59cb228e3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,9 @@ image: registry.gitlab.com/fdroid/ci-images-server:latest before_script: - rm -rf fdroidserver - - git clone --depth=1 https://gitlab.com/fdroid/fdroidserver.git + - mkdir fdroidserver + - curl --silent https://gitlab.com/fdroid/fdroidserver/repository/master/archive.tar.gz + | tar -xz --directory=fdroidserver --strip-components=1 - export PATH="$PWD/fdroidserver:$PATH" - touch config.py