-
Notifications
You must be signed in to change notification settings - Fork 50
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
chore: use the Engine API from containerd-shim-wasm crate #148
Conversation
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.
Most of the comments are just suggestion. The main thing that needs fixing is that the default can_handle
is not suitable for most of the shims (it might be ok for lunatic).
Could you rename the executor.rs
files to engine.rs
?
I think many of the crates dependencies can be dropped now, just to take some examples from lunatic's Cargo.toml:
- libcontainer
- nix
- serde
- serde_json
- thiserror
- libc
- chrono
- oci-spec
- utils
- clap (needs removing the
derive(Args)
incommon.rs
)
But all shims could use a little clean up.
Also I believe the utils
crate be removed.
Thanks for your careful review of this PR! @jprendes I have resolved all your comments. Could you PTAL? |
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!
This commits updates to use the latest API from the `containerd-shim-wasm` crate. It follows the PR containerd/runwasi#293 Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Co-authored-by: Jorge Prendes <jorge.prendes@gmail.com>
Co-authored-by: Jorge Prendes <jorge.prendes@gmail.com>
Co-authored-by: Jorge Prendes <jorge.prendes@gmail.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
This commits updates to use the latest API from the
containerd-shim-wasm
crate. It follows the PR containerd/runwasi#293FYI: @jprendes