-
Notifications
You must be signed in to change notification settings - Fork 339
ci: drop running COSA as UID 0 #3562
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
Conversation
|
Skipping CI for Draft Pull Request. |
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.
Code Review
This pull request removes the need to run the COSA container as UID 0, which is a good security improvement. However, the new container image specified uses the :latest tag and appears to be from a personal repository. For build reproducibility and long-term maintenance, it's highly recommended to switch to an official image with a specific version tag.
5b97663 to
0a06f65
Compare
|
Unrelated to this PR (I think) there are 3 tests that are failing that need some investigation: |
ok - now that all the PRs merged against COSA the only remaining test failure is: So I guess that's the only one that needs to be investigated. |
0a06f65 to
c40b07f
Compare
With some changes made upstream to COSA [1] and a few fixups here to make sure the directory tree for our built software doesn't have setgid files we shouldn't need to runAsUser: 0 any longer. [1] coreos/coreos-assembler#4410
Now that we are building via container tools `cosa fetch` isn't meaningful any longer.
c40b07f to
01dc47f
Compare
|
ok. at this point I say we merge this and deal with the |
jmarrero
left a comment
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
|
@dustymabe and me had a chat, he has admin to merge I don't but this lgtm to do as this is very targeted. |
With some changes made upstream to COSA [1] we shouldn't need to
runAsUser: 0 any longer.
[1] coreos/coreos-assembler#4410