mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
jenkins-test: ensure gpg is starting from a clean and proper place
There have been frequent failures on import, some bugs suggest that it might be because these dirs are missing. They would get wiped by a `git clean -fdx`.
This commit is contained in:
parent
5ad661ef7b
commit
ee89468818
@ -38,6 +38,10 @@ rm -f config.py keystore.jks
|
||||
../fdroid update
|
||||
|
||||
export GNUPGHOME=$WORKSPACE/tests/gnupghome
|
||||
if [ ! -e $GNUPGHOME/private-keys-v1.d ]; then
|
||||
mkdir -p $GNUPGHOME/private-keys-v1.d
|
||||
chmod 0700 $GNUPGHOME/private-keys-v1.d
|
||||
fi
|
||||
gpg --import $GNUPGHOME/secring.gpg
|
||||
|
||||
echo "build_server_always = True" >> config.py
|
||||
|
Loading…
Reference in New Issue
Block a user