chiark / gitweb /
jenkins-test: import secret key into test GNUPGHOME
authorHans-Christoph Steiner <hans@eds.org>
Wed, 20 Dec 2017 12:35:20 +0000 (13:35 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 20 Dec 2017 12:36:53 +0000 (13:36 +0100)
Can't run `fdroid gpgsign` without a secret key!

jenkins-test

index c8f9de8a4f8762e2d4079c8ee81bb21de199110c..39fdaa8f4c267080d1c2abb32dcda2e1fafe18e8 100755 (executable)
@@ -35,6 +35,8 @@ rm -f config.py keystore.jks
 ../fdroid update
 
 export GNUPGHOME=$WORKSPACE/tests/gnupghome
+gpg --import $GNUPGHOME/secring.gpg
+
 echo "build_server_always = True" >> config.py
 echo "gpghome = '$GNUPGHOME'" >> config.py
 echo "gpgkey = 'CE71F7FB'" >> config.py