kuasar-io / kuasar

A multi-sandbox container runtime that provides cloud-native, all-scenario multiple sandbox container solutions.
https://kuasar.io
Apache License 2.0
1.27k stars 91 forks source link

building: extra common scriptes for image building and bump ttrpc-compiler #160

Closed Burning1020 closed 3 months ago

Burning1020 commented 3 months ago
  1. Extra common building scripts to make it more general for other images.
  2. Bump ttrpc-compiler in creates.io from 0.6.1 to 0.6.2, while ttrpc-compiler(kuasar-io) is still 0.6.1.

    # cd vmm/sandbox && cargo vendor
    Caused by:
    found duplicate version of package `ttrpc-compiler v0.6.1` vendored from two sources:
    
    source 1: registry `crates-io`
    source 2: https://github.com/kuasar-io/ttrpc-rust.git?branch=v0.7.1-kuasar#db83ba89
    Error: Process completed with exit code 101.

    This is because both containerd-sandbox and containerd-shim import ttrpc-compile@0.6.1 in different source(crates.io and github/kuasar-io). So I just bump one to 0.6.2.

  3. Cargo tests of wasmedge needs the current user have the access to wasmedge lib, somehow it can't be recongized due to the different user of installation and running. We switch to root user in the process of installation.
Burning1020 commented 3 months ago

Release workflow is green: https://github.com/Burning1020/kuasar/actions/runs/10399930546