Skip to content

ci: add end to end test case for kyverno-envoy-plugin #2

ci: add end to end test case for kyverno-envoy-plugin

ci: add end to end test case for kyverno-envoy-plugin #2

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Tests
permissions: {}
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
e2e-tests-chainsaw:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Run tests
run: |
set -e
make kind-create-cluster
make kind-load-taged-image
- name: Install Chainsaw
uses: kyverno/[email protected]
with:
release: v0.2.0
- name: Run Chainsaw Tests
run: chainsaw test tests/e2e-test/chainsaw-test.yaml