-
Notifications
You must be signed in to change notification settings - Fork 216
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
feat: detect runtime automatically #244
Conversation
✅ Deploy Preview for k8s-kwok canceled.
|
Hi @zwpaper. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
cc @wzshiming |
/ok-to-test |
1d70e52
to
79a6426
Compare
@wzshiming added an |
72d4eb4
to
bb1c269
Compare
if len(conf.Runtimes) == 0 { | ||
conf.Runtimes = []string{ | ||
consts.RuntimeTypeDocker, | ||
consts.RuntimeTypeNerdctl, |
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.
#255 tried to add e2e for nerdctl under darwin, but it doesn't seem to work, so better to just add it for Linux?
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.
previously I was trying to add nerdctl for mac, because I thought it would be suitable for the runtime detection, but your idea using configure file seems easier, would use this way for runtime detection
Will raise another PR for mac nerdctl, I am a mac nerdctl user, it should be easy to add it
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.
note: Nerdctl as a secondary option, if e2e is not enabled under darwin before the next release, I plan to change it to be used only under Linux, just like the binary.
1. drop default runtime args value `docker` 2. check docker,nerdctl version, kind in linux by default 3. use config to specify runtimes order Signed-off-by: Wei Zhang <kweizh@gmail.com> Signed-off-by: WeiZhang <kweizh@gmail.com>
188d91f
to
3e7af6c
Compare
@wzshiming this should be finally good to go, please help to restart the 2 failed test and check whether we are good to go |
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.
Looks like it's almost ready!
Signed-off-by: Wei Zhang <kweizh@gmail.com>
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.
Thank you very much for your contribution!
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wzshiming, zwpaper 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 |
Signed-off-by: WeiZhang kweizh@gmail.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #224 (comment)
Special notes for your reviewer:
docker
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: