-
Notifications
You must be signed in to change notification settings - Fork 460
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
Fix cri-dockerd CI runs #867
Fix cri-dockerd CI runs #867
Conversation
396f7d9
to
eeb35fe
Compare
eeb35fe
to
72040da
Compare
55d6c2f
to
0ee4b31
Compare
github.com/Mirantis/cri-dockerd has changed a couple things that were affecting the CI. The code has moved to a src/ subdirectory so running 'go install .' at the root of the repo fails on finding anything. The default addresses have also changed from /var/run/dockershim.sock (and //./pipe/dockershim) to /var/run/cri-dockerd.sock. A couple of flags also don't seem to exist anymore, namely --logtostderr and --v. All in all this change cds to the src subdirectory before trying to build/install anything, makes cri-dockerd launch with the old dockershim address, and gets rid of the now nonexistent flags. Signed-off-by: Daniel Canter <[email protected]>
0ee4b31
to
f2091fc
Compare
Ok this looks like it's ready after testing this locally @feiskyer |
We could go either way in this PR also for the address. Pass the new default address to critest under the -runtime-endpoint and -image-endpoint flags or do what we have currently and launch cri-dockerd with the old default address. Or change these https://github.com/kubernetes-sigs/cri-tools/blob/master/pkg/framework/test_context.go#L74-L78 but I'm not sure if this makes sense at the moment. |
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 setting the ep for the tests and thanks for the fix.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dcantah, feiskyer 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 |
What type of PR is this?
/kind bug
What this PR does / why we need it:
github.com/Mirantis/cri-dockerd has changed a couple things that were affecting the CI. The code has moved to a src/ subdirectory so running 'go install .' at the root of the repo fails on finding anything. The default addresses have also changed from /var/run/dockershim.sock (and //./pipe/dockershim) to /var/run/cri-dockerd.sock. A couple of flags also don't seem to exist anymore, namely --logtostderr and --v. All in all this change cds to the src subdirectory before trying to build/install anything, makes cri-dockerd launch with the old dockershim address, and gets rid of the now nonexistent flags.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?