add workload delete test and refactor signal handling in run_wasi function #107
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-wasm-images: | |
uses: ./.github/workflows/docker-build-push.yaml | |
with: | |
test: true | |
test: | |
runs-on: ubuntu-latest | |
env: | |
ARCH: x86_64 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/download-artifact@v3 | |
- uses: azure/setup-kubectl@v3 | |
- name: "Install dependencies" | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y protobuf-compiler libseccomp-dev | |
- name: Extract containerd-shim-spin-linux-${{ env.ARCH }} | |
run: | | |
mkdir -p ./bin | |
wget https://filebin.net/e2e81udq0e4ucyp4/containerd-shim-spin-v2 -O ./bin/containerd-shim-spin-v2 | |
chmod +x ./bin/containerd-shim-spin-v2 | |
echo "6d299915a6d34de5a576fb548ce8b400c9300e17fc70bde9634a0c5b0ce7999a ./bin/containerd-shim-spin-v2" | sha256sum --check --status | |
- name: install k3d | |
run: make install-k3d | |
working-directory: ./deployments/k3d | |
- name: run integration tests | |
run: BIN_DIR="./bin" make integration-tests | |
- name: clean up k3d | |
if: always() | |
run: make tests/clean |