Skip to content

Commit

Permalink
feat: use more k8s version from testing
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Choudhary <[email protected]>
  • Loading branch information
vishal-chdhry committed Jun 13, 2024
1 parent 697416d commit 63682ed
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/conformance-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- "main"

push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -18,6 +22,8 @@ jobs:
fail-fast: false
matrix:
k8s-version:
- name: v1.25
version: v1.25.14
- name: v1.26
version: v1.26.13
- name: v1.27
Expand All @@ -26,22 +32,24 @@ jobs:
version: v1.28.6
- name: v1.29
version: v1.29.1
- name: v1.30
version: v1.30.0
tests:
- ^reports$
runs-on: ubuntu-latest
name: ${{ matrix.k8s-version.name }} - ${{ matrix.tests }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Checkout kyverno/kyverno
- name: Checkout nirmata/kyverno
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: kyverno/kyverno
repository: nirmata/kyverno
path: kyverno
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: ~1.21.1
go-version: ~1.22.2
- name: Install helm
id: helm
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/migration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- "main"

push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -18,6 +22,8 @@ jobs:
fail-fast: false
matrix:
k8s-version:
- name: v1.25
version: v1.25.14
- name: v1.26
version: v1.26.13
- name: v1.27
Expand All @@ -26,17 +32,19 @@ jobs:
version: v1.28.6
- name: v1.29
version: v1.29.1
- name: v1.30
version: v1.30.0
tests:
- ^reports$
runs-on: ubuntu-latest
name: ${{ matrix.k8s-version.name }} - ${{ matrix.tests }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Checkout kyverno/kyverno
- name: Checkout nirmata/kyverno
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: kyverno/kyverno
repository: nirmata/kyverno
path: kyverno
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
Expand Down

0 comments on commit 63682ed

Please sign in to comment.