mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-28 05:47:23 +00:00
Merge pull request #349 from dholbach/fix-347
Update test matrix to latest 3 sets of k8s releases
This commit is contained in:
@@ -2,12 +2,12 @@ kind: Cluster
|
||||
apiVersion: kind.x-k8s.io/v1alpha4
|
||||
nodes:
|
||||
- role: control-plane
|
||||
image: kindest/node:v1.19.4
|
||||
image: kindest/node:v1.19.7
|
||||
- role: control-plane
|
||||
image: kindest/node:v1.19.4
|
||||
image: kindest/node:v1.19.7
|
||||
- role: control-plane
|
||||
image: kindest/node:v1.19.4
|
||||
image: kindest/node:v1.19.7
|
||||
- role: worker
|
||||
image: kindest/node:v1.19.4
|
||||
image: kindest/node:v1.19.7
|
||||
- role: worker
|
||||
image: kindest/node:v1.19.4
|
||||
image: kindest/node:v1.19.7
|
||||
|
||||
@@ -2,12 +2,12 @@ kind: Cluster
|
||||
apiVersion: kind.x-k8s.io/v1alpha4
|
||||
nodes:
|
||||
- role: control-plane
|
||||
image: "kindest/node:v1.20.0"
|
||||
image: "kindest/node:v1.20.2"
|
||||
- role: control-plane
|
||||
image: "kindest/node:v1.20.0"
|
||||
image: "kindest/node:v1.20.2"
|
||||
- role: control-plane
|
||||
image: "kindest/node:v1.20.0"
|
||||
image: "kindest/node:v1.20.2"
|
||||
- role: worker
|
||||
image: "kindest/node:v1.20.0"
|
||||
image: "kindest/node:v1.20.2"
|
||||
- role: worker
|
||||
image: "kindest/node:v1.20.0"
|
||||
image: "kindest/node:v1.20.2"
|
||||
|
||||
@@ -2,12 +2,12 @@ kind: Cluster
|
||||
apiVersion: kind.x-k8s.io/v1alpha4
|
||||
nodes:
|
||||
- role: control-plane
|
||||
image: kindest/node:v1.18.8
|
||||
image: kindest/node:v1.21.1
|
||||
- role: control-plane
|
||||
image: kindest/node:v1.18.8
|
||||
image: kindest/node:v1.21.1
|
||||
- role: control-plane
|
||||
image: kindest/node:v1.18.8
|
||||
image: kindest/node:v1.21.1
|
||||
- role: worker
|
||||
image: kindest/node:v1.18.8
|
||||
image: kindest/node:v1.21.1
|
||||
- role: worker
|
||||
image: kindest/node:v1.18.8
|
||||
image: kindest/node:v1.21.1
|
||||
@@ -36,6 +36,8 @@ jobs:
|
||||
|
||||
- name: Create default kind cluster
|
||||
uses: helm/kind-action@v1.1.0
|
||||
with:
|
||||
version: v0.11.0
|
||||
if: ${{ matrix.test-action == 'install' }}
|
||||
|
||||
- name: Run chart tests
|
||||
@@ -52,6 +54,8 @@ jobs:
|
||||
# Default name for helm/kind-action kind clusters is "chart-testing"
|
||||
- name: Create 1 node kind cluster
|
||||
uses: helm/kind-action@v1.1.0
|
||||
with:
|
||||
version: v0.11.0
|
||||
|
||||
- name: Deploy kured on default namespace with its helm chart
|
||||
run: |
|
||||
|
||||
@@ -97,9 +97,9 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
kubernetes:
|
||||
- "1.18"
|
||||
- "1.19"
|
||||
- "1.20"
|
||||
- "1.21"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Find go version
|
||||
@@ -130,6 +130,7 @@ jobs:
|
||||
uses: helm/kind-action@v1.1.0
|
||||
with:
|
||||
config: .github/kind-cluster-${{ matrix.kubernetes }}.yaml
|
||||
version: v0.11.0
|
||||
|
||||
- name: Preload previously built images onto kind cluster
|
||||
run: kind load docker-image docker.io/${{ github.repository_owner }}/kured:${{ github.sha }} --name chart-testing
|
||||
@@ -169,7 +170,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
kubernetes:
|
||||
- "1.20"
|
||||
- "1.21"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Find go version
|
||||
@@ -198,6 +199,8 @@ jobs:
|
||||
# Default name for helm/kind-action kind clusters is "chart-testing"
|
||||
- name: Create 1 node kind cluster
|
||||
uses: helm/kind-action@v1.1.0
|
||||
with:
|
||||
version: v0.11.0
|
||||
|
||||
- name: Preload previously built images onto kind cluster
|
||||
run: kind load docker-image docker.io/${{ github.repository_owner }}/kured:${{ github.sha }} --name chart-testing
|
||||
|
||||
@@ -74,9 +74,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
kubernetes:
|
||||
- "1.18"
|
||||
- "1.19"
|
||||
- "1.20"
|
||||
- "1.21"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Find go version
|
||||
@@ -103,6 +103,7 @@ jobs:
|
||||
uses: helm/kind-action@v1.1.0
|
||||
with:
|
||||
config: .github/kind-cluster-${{ matrix.kubernetes }}.yaml
|
||||
version: v0.11.0
|
||||
|
||||
- name: Deploy kured on default namespace with its helm chart
|
||||
run: |
|
||||
@@ -132,4 +133,4 @@ jobs:
|
||||
env:
|
||||
DEBUG: true
|
||||
run: |
|
||||
./tests/kind/follow-coordinated-reboot.sh
|
||||
./tests/kind/follow-coordinated-reboot.sh
|
||||
|
||||
Reference in New Issue
Block a user