From 8f26c5f1a29efbcf854f86d592b025b2748a064a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 15 Feb 2017 14:22:09 +0100 Subject: reproducible fdroid: prevent password prompts in github/gitlab/bitbucket After a long discussion on #reproducible-builds on 2017-02-15, mapreri and h01ger said to keep this config in this build job. Signed-off-by: Holger Levsen --- bin/reproducible_setup_fdroid_build_environment.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/reproducible_setup_fdroid_build_environment.sh') diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh index 68c70cce..d03f7b5c 100755 --- a/bin/reproducible_setup_fdroid_build_environment.sh +++ b/bin/reproducible_setup_fdroid_build_environment.sh @@ -58,6 +58,11 @@ export ANDROID_HOME=/usr/lib/android-sdk # Project's jenkins box ./jenkins-build-makebuildserver +# ignore username/password prompt for non-existant repos +git config --global url."https://fakeusername:fakepassword@github.com".insteadOf https://github.com +git config --global url."https://fakeusername:fakepassword@gitlab.com".insteadOf https://gitlab.com +git config --global url."https://fakeusername:fakepassword@bitbucket.org".insteadOf https://bitbucket.org + # now build the whole archive cd $WORKSPACE git clone https://gitlab.com/fdroid/fdroiddata.git -- cgit v1.2.3-54-g00ecf