Skip to content
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(wamr): add wasm-micro-runtime shim implementation #716

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Commits on Nov 3, 2024

  1. crates/containerd-shim-wamr: add WAMR shim implementation

    Maciej authored and Mossaka committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    8f93996 View commit details
    Browse the repository at this point in the history
  2. containerd-shim-wamr: use my sdk

    Maciej authored and Mossaka committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    e2fb956 View commit details
    Browse the repository at this point in the history
  3. containerd-shim-wamr: minor cleanup

    Maciej authored and Mossaka committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    7532700 View commit details
    Browse the repository at this point in the history
  4. containerd-shim-wamr: minor cleanup

    Maciej authored and Mossaka committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    11dffb0 View commit details
    Browse the repository at this point in the history
  5. containerd-shim-wamr: fixed the thread signal env initialized failed …

    …error
    
    upstream to the official wamr SDK solves this issue
    
    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    d5fe22e View commit details
    Browse the repository at this point in the history
  6. containerd-shim-wamr: added tests

    I believe there are more work to be done to parse the runtimeError
    to appropriate exit code.
    
    failures:
        wamr_tests::test_custom_entrypoint
        wamr_tests::test_exit_code
        wamr_tests::test_hello_world_oci
        wamr_tests::test_seccomp
        wamr_tests::test_unreachable
    
    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    5030afa View commit details
    Browse the repository at this point in the history
  7. .github/workflows/{ci, release}: Add wamr to the CI and release workf…

    …lows
    
    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    49455b9 View commit details
    Browse the repository at this point in the history
  8. CONTRIBUTING, README: update the contributing and readme for WAMR shim

    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    2ca5ea7 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. containerd-shim-wamr/Cargo: remove unused deps

    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    bc9f649 View commit details
    Browse the repository at this point in the history
  2. containerd-shim-wamr/tests: disable failed tests

    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    9e964e7 View commit details
    Browse the repository at this point in the history
  3. containerd-shim-wamr: rustfmt

    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    99f5a39 View commit details
    Browse the repository at this point in the history
  4. .github/workflows: remove wamr shim from windows build

    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    dc777e5 View commit details
    Browse the repository at this point in the history
  5. containerd-shim-wamr: clippy

    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    77db97b View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. containerd-shim-wamr: add conditional compilation for unix platform

    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    3046d3e View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. containerd-shim-wamr: fix linting issue

    if the target is windows, do not import the APIs
    changed the compiler_error to panic!
    
    Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
    Mossaka committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    d1d062c View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Merge branch 'main' into wamr-2

    Signed-off-by: Jiaxiao Zhou <duibao55328@gmail.com>
    Mossaka authored Nov 14, 2024
    Configuration menu
    Copy the full SHA
    89eac6e View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Jorge Prendes <jorge.prendes@gmail.com>
    Signed-off-by: Jiaxiao Zhou <duibao55328@gmail.com>
    Mossaka and jprendes authored Nov 14, 2024
    Configuration menu
    Copy the full SHA
    a47e85a View commit details
    Browse the repository at this point in the history