-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Make sure building with relative paths work correctly. #13210
Conversation
Fixes: containers#12763 Signed-off-by: Daniel J Walsh <[email protected]>
cfDir := filepath.Dir(c) | ||
if absDir, err := filepath.EvalSymlinks(cfDir); err == nil { | ||
name := filepath.ToSlash(strings.TrimPrefix(c, cfDir+string(filepath.Separator))) | ||
c = filepath.Join(absDir, name) | ||
} | ||
|
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.
nit: extra line
@Luap99 Some of the unrelated netavark tests are failing, could it be that we have regressed netavark upstream ? |
Are we merging netavark PRs without exercising them here? |
@vrothberg Afaik I think yes but i am not sure if changes are immediately reflected on podman's CI. @cevich @Luap99 Could tell this better. |
If that's the case, Podman CI should probably pick specific commits from netavark (instead of branch which I presume is what we're doing). Just as we do with all other dependencies and building blocks. |
Yes we use the main branch currently, The plan is to switch to the packaged netavark once we have a release. |
My netavark PR did cause the issue, I accidentally swapped the logic there. |
LGTM |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
FYI (since this is already merged), yes this is the case. It's likely a signal of a testing gap in netavark CI. We could (in theory) run some select podman e2e tests under netavark CI, but it's not a small amount of work to get that going. |
We're doing something similar in Skopeo and c/image. c/image always uses a branch of Skopeo (because those are the actual tests) but Skopeo uses a commit of c/image to make vendoring explicit and from another repo breaking CI. |
This is also possible to do. I believe all that's needed is to find the CI run for the specific commit you want, and simply update the download URLs in If someone wants to spend time on it, there is a path from commit ID -> artifact URL that goes through the Cirrus GraphQL API. So a small script could (in theory) do this...with the caveat that not all Commit IDs have associated CI runs, so the script would need to handle that appropriately.
|
Fixes: #12763
Signed-off-by: Daniel J Walsh [email protected]