diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2016-07-06 17:47:55 -0400 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2016-07-06 17:48:56 -0400 |
commit | fb4fcf3abcb36b33a3055317220404c5090d7919 (patch) | |
tree | 95d64d314963cfa32ce56ccc51dc39f7eab9d6b3 | |
parent | 0830405349db43b0b92aa984f5e05daa70cafe4d (diff) |
Fix for gpg-agent.
I might need to force call an $(eval gpg-agent)
Buuut I think this should work.
Change-Id: I6b3311bc1a1f19d74f4668bfe717fdd67757fc72
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
-rwxr-xr-x | jjb/apex/apex-upload-artifact.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/apex/apex-upload-artifact.sh b/jjb/apex/apex-upload-artifact.sh index 49e19bb12..d45c7c01b 100755 --- a/jjb/apex/apex-upload-artifact.sh +++ b/jjb/apex/apex-upload-artifact.sh @@ -23,8 +23,8 @@ fi signrpm () { for artifact in $RPM_LIST $SRPM_LIST; do echo "Signing artifact: ${artifact}" - gpg2 -vvv --batch \ - --default-key opnfv-helpdesk@rt.linuxfoundation.org \ + gpg2 -vvv --batch --yes --no-tty \ + --default-key opnfv-helpdesk@rt.linuxfoundation.org \ --passphrase besteffort \ --detach-sig $artifact gsutil cp "$artifact".sig gs://$GS_URL/$(basename "$artifact".sig) @@ -33,7 +33,7 @@ done } signiso () { -time gpg2 -vvv --batch \ +time gpg2 -vvv --batch --yes --no-tty \ --default-key opnfv-helpdesk@rt.linuxfoundation.org \ --passphrase notreallysecure \ --detach-sig $BUILD_DIRECTORY/release/OPNFV-CentOS-7-x86_64-$OPNFV_ARTIFACT_VERSION.iso |