Skip to content

Commit

Permalink
fix also go-test.yaml github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
clamoriniere committed Oct 23, 2024
1 parent 455c052 commit a35c3d0
Showing 1 changed file with 29 additions and 17 deletions.
46 changes: 29 additions & 17 deletions .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,40 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
k8s:
- v1.16.15
- v1.18.20
- v1.22.17
- v1.24.17
- v1.25.16
- v1.26.15
- v1.27.16
- v1.28.13
- v1.29.9
- v1.30.4
- v1.31.1
versions:
- k8s: v1.16.15
kind: v0.15.0
- k8s: v1.18.20
kind: v0.17.0
- k8s: v1.22.17
kind: v0.22.0
- k8s: v1.24.17
kind: v0.22.0
- k8s: v1.25.16
kind: v0.22.0
- k8s: v1.26.15
kind: v0.22.0
- k8s: v1.27.16
kind: v0.22.0
- k8s: v1.28.13
kind: v0.22.0
- k8s: v1.29.8
kind: v0.22.0
- k8s: v1.30.4
kind: v0.22.0
- k8s: v1.31.1
kind: v0.22.0
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create kind ${{ matrix.k8s }} cluster
- name: Create K8s ${{ matrix.versions.k8s }} cluster with kind version ${{ matrix.versions.kind }}
uses: helm/[email protected]
with:
node_image: kindest/node:${{ matrix.k8s }}
cluster_name: operator-ci-${{ matrix.k8s }}
version: ${{ matrix.versions.kind }}
node_image: kindest/node:${{ matrix.versions.k8s }}
cluster_name: operator-ci-${{ matrix.versions.k8s }}
config: .github/kind_config.yaml
- name: Add Cert Manager Helm repo
run: helm repo add jetstack https://charts.jetstack.io && helm repo update
Expand All @@ -70,8 +82,8 @@ jobs:
env:
API_KEY: ${{ secrets.GO_INTEG_TEST_API_KEY }}
APP_KEY: ${{ secrets.GO_INTEG_TEST_APP_KEY }}
CLUSTER_NAME: operator-ci-${{ matrix.k8s }}
K8S_VERSION: ${{ matrix.k8s }}
CLUSTER_NAME: operator-ci-${{ matrix.versions.k8s }}
K8S_VERSION: ${{ matrix.versions.k8s }}
run: |
kubectl cluster-info
kubectl get nodes
Expand Down

0 comments on commit a35c3d0

Please sign in to comment.