From 1c527fa50d59f938e39b3ebc18aba214d6906f28 Mon Sep 17 00:00:00 2001 From: Tom Proctor Date: Mon, 23 Oct 2023 16:07:42 +0100 Subject: [PATCH] Add 'make deploy exercise' to CI --- .github/workflows/tests.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 620d95a3..1fabdadb 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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} @@ -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