
Pin github actions to the latest trusted versions, test with k8s 1.24-1.28, update vault and vault-k8s defaults to latest releases. --------- Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
24 lines
807 B
YAML
24 lines
807 B
YAML
name: Acceptance Tests
|
|
on: [push, workflow_dispatch]
|
|
jobs:
|
|
kind:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
kind-k8s-version: [1.24.15, 1.25.11, 1.26.6, 1.27.3, 1.28.0]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
|
- name: Setup test tools
|
|
uses: ./.github/actions/setup-test-tools
|
|
- name: Create K8s Kind Cluster
|
|
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
|
|
with:
|
|
config: test/kind/config.yaml
|
|
node_image: kindest/node:v${{ matrix.kind-k8s-version }}
|
|
version: v0.20.0
|
|
- run: bats --tap --timing ./test/acceptance
|
|
env:
|
|
VAULT_LICENSE_CI: ${{ secrets.VAULT_LICENSE_CI }}
|
|
permissions:
|
|
contents: read
|