Skip to content

Commit

Permalink
basics
Browse files Browse the repository at this point in the history
Signed-off-by: Rudraksh Pareek <[email protected]>
  • Loading branch information
DelusionalOptimist committed Jun 14, 2022
1 parent cd78955 commit 09fb42d
Show file tree
Hide file tree
Showing 13 changed files with 1,535 additions and 16 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ on:

jobs:
build:
name: Auto-testing Framework / ${{ matrix.os }}
name: Auto-testing Framework / ${{ matrix.os }} / ${{ matrix.runtime }}
runs-on: ${{ matrix.os }}
env:
RUNTIME: ${{ matrix.runtime }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-18.04]
runtime: ["containerd", "docker", "crio"]
steps:
- name: Kernel version
run: uname -r

- name: Check Docker Version
run: docker --version

- uses: actions/checkout@v2

- name: Set up Go
Expand All @@ -54,7 +54,15 @@ jobs:
- name: Setup Enviroment
run: |
./contribution/k3s/install_k3s.sh
if [ "$RUNTIME" == "crio" ]; then
./contribution/self-managed-k8s/crio/install-crio.sh
crio --version
elif [ "$RUNTIME" == "containerd" ]; then
# stop the running default containerd service so that k3s embedded
# containerd service can be used
sudo systemctl stop containerd.service
fi
RUNTIME=$RUNTIME ./contribution/k3s/install_k3s.sh
- name: Install annotation controller
run: |
Expand All @@ -67,7 +75,7 @@ jobs:
run: kubectl proxy &

- name: Test KubeArmor
run: ./tests/test-scenarios-github.sh
run: RUNTIME=$RUNTIME ./tests/test-scenarios-github.sh
timeout-minutes: 15

- name: Archive log artifacts
Expand Down
Loading

0 comments on commit 09fb42d

Please sign in to comment.