-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-28455 do-release-docker fails to setup gpg agent proxy if proxy container is slow to start #5781
base: master
Are you sure you want to change the base?
Conversation
… container is slow to start
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
@@ -300,9 +300,22 @@ if [ "${HOST_OS}" == "DARWIN" ]; then | |||
"type=bind,src=${HOME}/.ssh/id_rsa.pub,dst=/home/${USER}/.ssh/authorized_keys,readonly" \ | |||
"${GPG_PROXY_MOUNT[@]}" \ | |||
"org.apache.hbase/gpg-agent-proxy:${IMGTAG}" | |||
|
|||
KEYSCAN_OUTPUT_PATH="${WORKDIR}/gpg-agent-proxy.ssh-keyscan" | |||
if [ -f "${KEYSCAN_OUTPUT_PATH}" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be cleaned up in the cleanup
function that it attached to the TRAP?
FYI @busbey |
Tested this out locally, it drastically increases the ability for this to reliably start on my machine