gitlab-ci: download fdroidserver as tarball rather than git clone

This should hopefully be quicker and lower impact.
This commit is contained in:
Hans-Christoph Steiner 2018-02-23 22:32:55 +01:00
parent 83a851de83
commit 23a62fd5fa

View file

@ -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