Skip to content

Commit

Permalink
Add 'make deploy exercise' to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhjp committed Oct 23, 2023
1 parent da6722b commit 1c527fa
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@ jobs:
path: ${{ env.TARBALL_FILE }}

acceptance:
needs:
- test
# needs:
# - test
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: Makefile tests
run: make deploy exercise

# Setup test tools from https://github.com/hashicorp/vault-helm/blob/main/.github/workflows/setup-test-tools/action.yaml
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
- run: npm install -g bats@${BATS_VERSION}
Expand Down Expand Up @@ -76,6 +80,7 @@ jobs:
kind load docker-image hashicorp/vault-k8s:0.0.0-dev
- name: bats tests
working-directory: ./vault-helm
run: |
yq --in-place --yaml-roundtrip '.injector.image.tag |= "0.0.0-dev"' ./vault-helm/values.yaml
bats ./vault-helm/test/acceptance -t --filter injector

0 comments on commit 1c527fa

Please sign in to comment.