GoogleCloudPlatform / functions-framework-java

FaaS (Function as a service) framework for writing portable Java functions
Apache License 2.0
135 stars 65 forks source link

chore: update kokoro build to restart gpg agent #159

Closed jihuin closed 2 years ago

jihuin commented 2 years ago

The kokoro run failed due to gpg error:

gpg: WARNING: unsafe permissions on homedir `/tmp/gpg'
gpg: keyring `/tmp/gpg/secring.gpg' created
gpg: keyring `/tmp/gpg/pubring.gpg' created
gpg: no default secret key: secret key not available
gpg: signing failed: secret key not available

This fix is ported from https://github.com/GoogleCloudPlatform/appengine-java-standard/blob/main/kokoro/gcp_ubuntu/release.sh#L27-L28