Skip to content

Commit

Permalink
Add ability to parse OCI images
Browse files Browse the repository at this point in the history
Signed-off-by: James Sturtevant <[email protected]>
  • Loading branch information
jsturtevant committed Jun 17, 2023
1 parent 70830a1 commit 023e1da
Show file tree
Hide file tree
Showing 13 changed files with 851 additions and 100 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup OCI runtime build env
run: |
sudo apt -y update
sudo apt install -y pkg-config libsystemd-dev libdbus-glib-1-dev build-essential libelf-dev libseccomp-dev libclang-dev
sudo apt install -y pkg-config libsystemd-dev libdbus-glib-1-dev build-essential libelf-dev libseccomp-dev libclang-dev protobuf-compiler
- name: Setup WasmEdge build env
run: |
make bin/wasmedge
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Setup OCI runtime build env
run: |
sudo apt -y update
sudo apt install -y pkg-config libsystemd-dev libdbus-glib-1-dev build-essential libelf-dev libseccomp-dev libclang-dev
sudo apt install -y pkg-config libsystemd-dev libdbus-glib-1-dev build-essential libelf-dev libseccomp-dev libclang-dev protobuf-compiler
- name: Setup WasmEdge build env
run: |
make bin/wasmedge
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Setup OCI runtime build env
run: |
sudo apt -y update
sudo apt install -y pkg-config libsystemd-dev libdbus-glib-1-dev build-essential libelf-dev libseccomp-dev libclang-dev
sudo apt install -y pkg-config libsystemd-dev libdbus-glib-1-dev build-essential libelf-dev libseccomp-dev libclang-dev protobuf-compiler
- name: run
run: |
echo "LD_LIBRARY_PATH=$PWD/bin/wasmedge/lib" >> $GITHUB_ENV
Expand All @@ -109,4 +109,8 @@ jobs:
make test/k3s
- name: cleanup
if: always()
run: make test/k3s/clean
run: |
# run log collection after running tests, so that we can see the logs in case pod doesn't start properly
timeout 5 bash -c -- 'sudo bin/k3s kubectl logs deployments/wasi-demo'
timeout 5 bash -c -- 'sudo bin/k3s kubectl get pods -o wide'
make test/k3s/clean
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ test/out/img.tar
!crates/wasmtime/src/bin/
test/k8s/_out
release/
.vscode/
Loading

0 comments on commit 023e1da

Please sign in to comment.