Skip to content
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

Update "gpg" usage to be more resilient to transient failure #31

Merged
merged 1 commit into from
Aug 6, 2015

Conversation

tianon
Copy link
Contributor

@tianon tianon commented Jul 30, 2015

When "gpg" is given multiple keys, it will only exit non-zero if all the keys fail to download, so sometimes we'll get this line succeeding, but a transient failure (network, keyserver, or otherwise) can cause us to get a false positive and a build that fails later at verifying binaries.

See also docker-library/php#92 (and all the other PRs linked into that one).

(and the main reason I've made the PR is because the official build server actually ran into this scenario 😞 😇)

When "gpg" is given multiple keys, it will only exit non-zero if _all_ the keys fail to download, so sometimes we'll get this line succeeding, but a transient failure (network, keyserver, or otherwise) can cause us to get a false positive and a build that fails later at verifying binaries.
@chorrell
Copy link
Contributor

chorrell commented Aug 6, 2015

LGTM

chorrell added a commit that referenced this pull request Aug 6, 2015
Update "gpg" usage to be more resilient to transient failure
@chorrell chorrell merged commit d032522 into nodejs:master Aug 6, 2015
@tianon tianon deleted the resilient-gpg branch August 6, 2015 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants