-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Address comments on the "rootless CA certs" patch #572
Conversation
Ubuntu flavours are broken, I'm on it. |
CC @tianon |
c1d3849
to
4db09df
Compare
This is an improvement, yes, thanks ❤️ (definitely like your idea in #573 though, and wonder if, since this rootless functionality hasn't been officially released yet, it could happen sooner and then this is moot?) |
That's my thinking too, but since I'm not involved in and not knowledgeable about the release process and its deadlines, I'm offerring both possibilities. #573 still needs to be implemented, tested, documented and experimented with after all and if "July release" is what I think it is, the timeline is rather tight. "rootless" improves on the current process, which is probably valuable by itself, even if we know how it could be improved further. |
4db09df
to
474b3fe
Compare
bd5d0f1
to
6de6f41
Compare
6de6f41
to
089349e
Compare
@karianna Are you aware of anything blocking the review and merge here? I would like to get this in before the July release as QOL improvement. |
@rassie Apologies for the rebase requirement but I think our release has created conflict for this PR |
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.
A block has been put on this Pull Request as this repository is temporarily under a code freeze due to an ongoing release cycle.
If this pull request needs to be merged during the release cycle then please comment /merge
and a PMC member will be able to remove the block.
If the code freeze is over you can remove this block by commenting /thaw
.
089349e
to
2ae4198
Compare
@karianna rebase done. I hope we can squeeze this patch into the release. Fingers crossed it will help the pain points not exacerbate them. |
@karianna I believe you need to re-trigger that one failing Windows test, it's just flaky. |
e93be7c
to
5449635
Compare
Doh, this should've been part of all those recent updates, right? |
Probably. I've asked multiple times for a review, but nothing happened. I guess the release happened a couple of days ago and then #612 has been reported, so I thought I'd need to fix that as well. |
yeah we're working on it, it would appear we've broken some users so I want to get this merged and update the official images soon |
Hold your horses, this build isn't even green yet :) |
yeah just spotted the failing CI, I'll wait until it's green |
Address the following problems with adoptium#538: 1. Correct the shell selection for entrypoint, Ubuntu flavours still need explicit `bash` for variables with dots in their names 2. Change unhelpful exported variable name (changed from `CACERT` to `JRE_CACERTS_PATH`) 3. Change `which` to more-POSIX-compatible `command -v` 4. More cleanup 5. Explicitely use `TMPDIR` when available instead of hard-coded `/tmp` 6. Support multi-certificate files (again) 7. Make output less verbose
5449635
to
7c088a6
Compare
This is what is happening, the latest push as of right now should become green. Would still appreciate a closer look at the source from you, I'm quite anxious about breaking more stuff, even though I believe that the tests are solid. |
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.
LGTM with the latest changes
This looks good to me, the tests are solid and the changes all seem as expected. |
/merge |
Approval to merge during the lockdown cycle Please can two Adoptium PMC members comment |
/approve |
Thanks! |
/approve |
Thank you @gdams and @smlambert for your approvals, this pull request is now approved to merge during release.
@tianon I'll get this merged and update docker-library/official-images#17249 to include these changes shortly |
Address the following problems with #538:
bash
for variables with dots in their namesCACERT
toJRE_CACERTS_PATH
)which
to more-POSIX-compatiblecommand -v
TMPDIR
when available instead of hard-coded/tmp
Fixes: #612