-
Notifications
You must be signed in to change notification settings - Fork 12
46 lines (35 loc) · 1.07 KB
/
chainsaw-e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: ChainSaw Test
on:
push:
branches:
- 'release-chart-1.10'
pull_request:
branches:
- 'release-chart-1.10'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run-e2etest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
k8s-version: [v1.29.2, v1.28.7, v1.27.11, v1.26.14, v1.25.16, v1.24.12, v1.23.17]
# For n4k-versions 1.10
n4k-chart-version: [3.0.18]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Prepare environment
run: K8S_VERSION=${{ matrix.k8s-version }} make kind-create-cluster
- name: Install kyverno
run: N4K_VERSION=${{ matrix.n4k-chart-version }} make kind-deploy-kyverno
- name: Check Kyverno status
run: make wait-for-kyverno
- name: Install Chainsaw
uses: kyverno/[email protected]
- name: Verify Chainsaw Installation
run: chainsaw version
- name: Test with Chainsaw
run: make test-chainsaw