From f697b50102237d063c4020907035f5be624fbb0f Mon Sep 17 00:00:00 2001 From: ldetmer <1771267+ldetmer@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:24:48 -0500 Subject: [PATCH] fix: migrate logic to create tmpdir to build script (#3367) * release debugging * release debugging * publish doc test * publish doc test * publish doc test * publish doc test * publish doc test * revert --- .kokoro/common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.kokoro/common.sh b/.kokoro/common.sh index 81bc572333..a274c5168c 100644 --- a/.kokoro/common.sh +++ b/.kokoro/common.sh @@ -21,6 +21,7 @@ set -eov pipefail setup_environment_secrets() { export GPG_PASSPHRASE=$(cat ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-passphrase) export GPG_TTY=$(tty) + export TMPDIR=$(mktemp -d) export GPG_HOMEDIR=${TMPDIR}/gpg mkdir $GPG_HOMEDIR mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-pubkeyring $GPG_HOMEDIR/pubring.gpg