Skip to content

Commit

Permalink
feat: integrate youki to the spin shim (deislabs#119)
Browse files Browse the repository at this point in the history
* feat: integrate youki to the spin shim

Signed-off-by: jiaxiao zhou <[email protected]>

* fix: run clippy and rustfmt

Signed-off-by: jiaxiao zhou <[email protected]>

* fix: make the spin shim work

this commits deletes the runtime config path which isn't being used
in the spin trigger. It also removes some commented lines of the stdio
becuase now in the cgroup all the ios are handled by the prepare_stdio
function and spin can just use the default stdio wiring up wasmtime.
As a consequence of it, we can also remove podio.rs

Signed-off-by: jiaxiao zhou <[email protected]>

* fix: remove command from the workloads

This commits removes the command from workloads yamls. This is because
now the spin image has an explicit entrypoint pointing to a
executable wasm module, which is required by the libcontainer.

I am expecting that this will go away with futuer iteration of the
libcontainer

Signed-off-by: jiaxiao zhou <[email protected]>

* rustfmt

Signed-off-by: jiaxiao zhou <[email protected]>

* feat: add more observability to the CI cluster

Signed-off-by: jiaxiao zhou <[email protected]>

* fix: add a clean up step at the end of the build CI

Signed-off-by: jiaxiao zhou <[email protected]>

---------

Signed-off-by: jiaxiao zhou <[email protected]>
  • Loading branch information
Mossaka authored Aug 2, 2023
1 parent 5dceca9 commit df29600
Show file tree
Hide file tree
Showing 13 changed files with 1,146 additions and 673 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ jobs:
run: make install-k3d
working-directory: ./deployments/k3d
- name: run integration tests
run: make test
run: make test
- name: clean up k3d
if: always()
run: make test/clean
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ unit-tests: build
integration-tests: build
$(PYTHON) tests/setup.py $(TARGET)
cargo test -- --nocapture

.PHONY: tests/clean
test/clean:
$(PYTHON) tests/teardown.py

.PHONY: fmt
Expand Down
Loading

0 comments on commit df29600

Please sign in to comment.