
* tests: updating the four most recent k8s versions * bump oldest version to 1.16 * docs, Chart.yaml, and changelog for 1.14 -> 1.16
34 lines
922 B
YAML
34 lines
922 B
YAML
name: Acceptance Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
kind:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
kind-k8s-version: [1.16.15, 1.20.15, 1.21.10, 1.22.7, 1.23.4]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup test tools
|
|
uses: ./.github/workflows/setup-test-tools
|
|
|
|
- name: Create K8s Kind Cluster
|
|
uses: helm/kind-action@v1.2.0
|
|
with:
|
|
config: test/kind/config.yaml
|
|
node_image: kindest/node:v${{ matrix.kind-k8s-version }}
|
|
|
|
# Skip CSI tests if K8s version < 1.16.x
|
|
- run: echo K8S_MINOR=$(kubectl version -o json | jq -r .serverVersion.minor) >> $GITHUB_ENV
|
|
- if: ${{ env.K8S_MINOR < 16 }}
|
|
run: echo "SKIP_CSI=true" >> $GITHUB_ENV
|
|
|
|
- run: bats ./test/acceptance -t
|
|
env:
|
|
VAULT_LICENSE_CI: ${{ secrets.VAULT_LICENSE_CI }}
|