install.sh: Post-verification cleanup (terminate gpg-agent)#1030
install.sh: Post-verification cleanup (terminate gpg-agent)#1030jayaddison wants to merge 5 commits into
Conversation
|
Deploy preview for yarnpkg failed. Built with commit 4463c83 https://app.netlify.com/sites/yarnpkg/deploys/5dee5a3904b544000807d163 |
|
cc @BanzaiMan - this may help with the issues re: GPG subprocesses you've seen user feedback about (ref: travis-ci/travis-ci#8082 (comment)). It's important to make sure this PR doesn't cause side-effects elsewhere though. |
|
However, trying that with version |
|
Seems reasonable to me. Does |
|
@Daniel15 Good question, perhaps there's an authority / comparison on which Linux distros it's available under; I'm taking a bit of a look around just now. |
|
While searching around elsewhere, here's whether Alpine CentOS Debian: Ubuntu So Debian does not seem to have Edit - add sources: |
|
@Daniel15 Hrm. I'm not finding many resources to compare command-line tooling per-distro; it'd probably take a bit more research. Something like caniuse for command-line tools would be wonderful.. 🙏 One option to handle cases like Debian could be to fall-back to alternatives like the Whatever approach, I'm keen to be a bit cautious, since this script seems fairly important infrastructure-wise :) |
|
@Daniel15 @BanzaiMan Just for transparency; it looks likely that this wasn't the true root cause of Travis CI timeout issues seen in It still seems useful to clean-up non-install side-effects of the script, so there may still be some value here, but I think the importance & impact of this PR are low. Glad for any thoughts, and I'll gradually continue on to see if there are more cross-platform alternatives to |
|
Investigating Alpine Centos Debian Ubuntu Findings:
|
|
@Daniel15 This turned out not to be the cause of the Travis build failures I was seeing; instead it looks like that was caused by slow cache restoration - so I'll go ahead and close this PR. |
|
Thanks for the update... Feel free to ping me again if you'd like to reopen this at some point. |
This changeset terminates any
gpg-agentprocesses created as side-effects during theinstall.shscript.If existing
gpg-agentprocesses were found before GPG functionality is invoked in the script, those existing processes will be left untouched so as not to affect unrelated system/user functionality.Fixes #1029