1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 18:15:48 +00:00

run conformance tests on different k8s versions (#5733)

Signed-off-by: ShutingZhao <shuting@nirmata.com>

Signed-off-by: ShutingZhao <shuting@nirmata.com>
This commit is contained in:
shuting 2022-12-21 18:14:53 +08:00 committed by GitHub
parent 646064f3f5
commit 18aeb26a1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,10 @@ concurrency:
jobs:
run-conformance:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.24.7, v1.25.3, v1.26.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
@ -22,7 +26,9 @@ jobs:
with:
go-version: ~1.19.4
- name: Prepare environment
run: make kind-create-cluster kind-deploy-kyverno
run: |
export KIND_IMAGE=kindest/node:${{ matrix.k8s-version }}
make kind-create-cluster kind-deploy-kyverno
- name: Wait for Kyverno to start
run: sleep 60
- name: Test with kuttl