From 59037113ccf72e2bff2e4511b71926fbd0f7c1ef Mon Sep 17 00:00:00 2001 From: Kate Goldenring Date: Thu, 21 Dec 2023 22:57:56 -0700 Subject: [PATCH 1/2] Disable pooling alloator in Spin shim Signed-off-by: Kate Goldenring --- containerd-shim-spin/src/engine.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/containerd-shim-spin/src/engine.rs b/containerd-shim-spin/src/engine.rs index faea270..025421c 100644 --- a/containerd-shim-spin/src/engine.rs +++ b/containerd-shim-spin/src/engine.rs @@ -231,6 +231,7 @@ impl SpinEngine { .config_mut() .wasmtime_config() .cranelift_opt_level(spin_core::wasmtime::OptLevel::Speed); + builder.config_mut().disable_pooling(); let init_data = Default::default(); let executor = builder.build(locked_url, runtime_config, init_data).await?; Ok(executor) From e768652defc019f1453fd5d30e2e4c6688def40f Mon Sep 17 00:00:00 2001 From: Kate Goldenring Date: Thu, 21 Dec 2023 23:05:08 -0700 Subject: [PATCH 2/2] Update the ci workflow to work from a fork Signed-off-by: Kate Goldenring --- .github/workflows/build.yaml | 24 ++++++++++++------------ .github/workflows/ci.yaml | 8 ++++---- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e2d5624..dbba62d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,22 +18,22 @@ jobs: arch: "aarch64" } shims: - - { - name: "slight", - version: "v1", - } + # - { + # name: "slight", + # version: "v1", + # } - { name: "spin", version: "v2", } - - { - name: "wws", - version: "v1", - } - - { - name: "lunatic", - version: "v1", - } + # - { + # name: "wws", + # version: "v1", + # } + # - { + # name: "lunatic", + # version: "v1", + # } env: ARCH: ${{ matrix.config.arch }} steps: diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0b746ef..4c82a2f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,10 +20,10 @@ jobs: - name: fmt run: | make fmt - build-wasm-images: - uses: ./.github/workflows/docker-build-push.yaml - with: - test: true + # build-wasm-images: + # uses: ./.github/workflows/docker-build-push.yaml + # with: + # test: true build: uses: ./.github/workflows/build.yaml test: