-
Notifications
You must be signed in to change notification settings - Fork 48
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: add a new shim for lunatic #122
Conversation
@microsoft-github-policy-service agree company="Liquid Reply" |
} | ||
} | ||
|
||
impl Executor for LunaticExecutor { |
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.
I like that it's already using libcontainer!!
Ready for review? |
@Mossaka, I wanted to use When I enable the
and
Does the |
When I remove the default features on @Mossaka, do we need systemd in libcontainer? Is there a way to cross compile with systemd/dbus dependencies? |
@0xE282B0 I have a PR containerd/runwasi#246 in runwasi to fix this issue. Once it's merged, you can use |
The |
@0xE282B0 I pushed a new commit that updates to the latest main branch of runwasi. It should build now. |
@jprendes I think for now it's ok to build the shim without dbus, but statically linking libseccomp is interesting. Test just fails with |
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!
I am going to test this locally and then if everything runs fine, will approve this PR.
I am running into this problem from the containerd log:
I think the issue was the libcontainer requires the entrypoint to be an executable, which we tried to push off. See youki-dev/youki#2220. In the meantime, you probably want to do something like the spin shim is doing described in the #120. |
I just pushed a new commit to make lunatic wasm binaries executable.
|
Actually, all the pods are running fine, but the response I got is a bit off. Is this expected?
|
The path is like spin and wws and the text is just the submillisecond example. What would you expect? Ah, the integration test URL did not match. |
Thanks for the clarification! I thought we are running the
Yes, I just pushed a commit to fix it. |
Could you please sign this commit ea3fd9c? |
Need a rebase to main branch |
Signed-off-by: Sven Pfennig <[email protected]>
update to the latest main branch of runwasi Signed-off-by: jiaxiao zhou <[email protected]> delete command in workload.yaml and make lunatic executable Signed-off-by: jiaxiao zhou <[email protected]> tests: fix the integration tests for lunatic this commits fix the integration tests for lunatic shim by adding hello to the end of the url for curling. It also removes unused code in mod.rs Signed-off-by: jiaxiao zhou <[email protected]>
Signed-off-by: jiaxiao zhou <[email protected]>
Signed-off-by: jiaxiao zhou <[email protected]>
Merging it in!! Thanks @0xE282B0 again for contributing. 🥂 |
Shim for Lunatic "an Erlang-inspired runtime for WebAssembly".