-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Remove hardcoded refs from ociartifact code #27342
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
base: main
Are you sure you want to change the base?
Conversation
|
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
1 similar comment
|
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
|
you need a go mod replace to build and test temporarily here in podman I am not sure we need to add a test |
|
im ok with no new tests for now. |
|
Changes LGTM with a quick breeze |
|
@Luap99 tbh I got lost a little bit thinking how we could append the podman version as a tag. Ideally, that is only when |
I don't think is is important and likely not what we want in case RHEL overrides that with a custom image. I think the logic could be quite simple, if it doesn't specify a tag/digest then append the current version. That seems the most logical and consitent behavior for users and documentation purposes because the cli and config values still behave the same then. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: inknos The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
a76e6b6 to
0f2cbae
Compare
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.
Without the corresponding common update this will beak podman machine init.
Since the common PR is merged to update then vendor during dev cycles please run
go get go.podman.io/storage@main && go get go.podman.io/image/v5@main && go get go.podman.io/common@main && make vendor
then commit this. (Note vendor will fail currently due the cgroupv2 removal, @lsm5 will revert it in common then it should work afterwards)
Also machine test are failing as they don't hard code the image so they have none, the test should not parse the config file so just hard code the location in pkg/machine/e2e/machine_pull_test.go
|
@Luap99 I addressed the comments. should I squash the commits with the vendor? also, I am hitting |
No, extra commits for vendor is what I usually prefer unless it breaks the build then we need the fix in the same commit as we require all commits to compile.
Yeah, that is caused due the cgroups dependency update that got dragged in via common containers/container-libs#428, we need to update that in podman first. I try to take care of that now. Also opencontainers/cgroups#48, looks like there are more changes around that need also for #27440 but that should not affect you here to much for now I think. |
|
Ah, one other things please don't just name the commit Vendor, we vendor a lot of things so a bit more info would be nice, like: |
|
Let me squash the commits then |
|
it should work once #27454 merged and you rebase |
|
awesome, thanks a lot |
|
Did you run |
Fixes: https://issues.redhat.com/browse/RUN-3578 Signed-off-by: Nicola Sella <[email protected]>
|
Idk how I excluded them, now all should be up to date |
Fixes: https://issues.redhat.com/browse/RUN-3578
Depends on: containers/container-libs#411
Does this PR introduce a user-facing change?