Skip to content

bump k8s version (#269) #408

bump k8s version (#269)

bump k8s version (#269) #408

Workflow file for this run

name: Tests
on: [push, workflow_dispatch]
jobs:
fmtcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: .go-version
- run: make fmtcheck
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: .go-version
- run: make test
integrationTest:
runs-on: ubuntu-latest
needs: [fmtcheck, test]
strategy:
fail-fast: false
matrix:
kind-k8s-version: [1.27.16, 1.28.15, 1.29.10, 1.30.6, 1.31.2]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Create K8s Kind Cluster
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
with:
version: v0.25.0
cluster_name: vault-plugin-auth-kubernetes
node_image: kindest/node:v${{ matrix.kind-k8s-version }}
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: .go-version
- run: make setup-integration-test
- env:
INTEGRATION_TESTS: true
run: make integration-test