forked from vmware-tanzu/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI test across K8s version v1.16-v1.22
Signed-off-by: JenTing Hsiao <[email protected]>
- Loading branch information
JenTing Hsiao
committed
Aug 13, 2021
1 parent
8fbf799
commit dca1b38
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,17 @@ on: pull_request | |
jobs: | ||
lint-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# Latest k8s versions. There's no series-based tag, nor is there a latest tag. | ||
k8s: | ||
- 1.16.15 | ||
- 1.17.17 | ||
- 1.18.15 | ||
- 1.19.7 | ||
- 1.20.2 | ||
- 1.21.1 | ||
- 1.22.0 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
@@ -20,6 +31,9 @@ jobs: | |
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
with: | ||
version: "v0.11.1" | ||
node_image: "kindest/node:v${{ matrix.k8s }}" | ||
# Only build a kind cluster if there are chart changes to test. | ||
if: steps.lint.outputs.changed == 'true' | ||
|
||
|