diff --git a/.github/workflows/kuttl-int-tests.yaml b/.github/workflows/kuttl-int-tests.yaml new file mode 100644 index 0000000..9ef3dc9 --- /dev/null +++ b/.github/workflows/kuttl-int-tests.yaml @@ -0,0 +1,32 @@ +name: "Integration tests" + +on: + push: + branches: + - main + pull_request: + branches: + - main + +env: + # github.repository as / + # REGISTRY: quay.io/${{ github.repository }} + REGISTRY: quay.io/confidential-containers + KUTTL: /usr/local/bin/kubectl-kuttl + +jobs: + integration-tests: + runs-on: ubuntu-20.04 + steps: + - uses: actions/setup-go@v2.1.4 + with: + go-version: 1.21 + - uses: actions/checkout@v2.4.0 + - name: Install dependencies + run: | + sudo curl -Lo $KUTTL https://github.com/kudobuilder/kuttl/releases/download/v0.19.0/kubectl-kuttl_0.19.0_linux_x86_64 + sudo chmod +x $KUTTL + sudo curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.24.0/kind-linux-amd64 + sudo chmod +x kind + - name: "Run integration tests" + run: REGISTRY=$REGISTRY make test-e2e \ No newline at end of file