From 56e89cfb8f31b4250129e8b50f901c92dac9b8d0 Mon Sep 17 00:00:00 2001 From: Matt Pryor Date: Mon, 19 Jun 2023 14:20:16 +0100 Subject: [PATCH] Run a latest deployment on every push --- .github/workflows/test.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 38ae623..8bb8a2f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -160,21 +160,20 @@ jobs: name: test-group1 ##### - # On a draft PR, we just run the smoke test on a clean 1.27 deployment + # On every PR, including draft PRs, we run the smoke test on a clean deployment + # of the latest supported version ##### - name: Test clean Kubernetes 1.27 deployment uses: ./.github/actions/upgrade-and-test with: - name: ci-${{ github.run_id }} + name: ci-${{ github.run_id }}-kube-latest kubernetes-version: ${{ fromJson(inputs.images).kube-1-27-version }} image-id: ${{ fromJson(inputs.images).kube-1-27-image }} sonobuoy-upload: "yes" - if: ${{ github.event.pull_request.draft }} - name: Delete Kubernetes 1.27 deployment - run: helm delete ci-${{ github.run_id }} --wait - if: ${{ github.event.pull_request.draft && always() }} + run: helm delete ci-${{ github.run_id }}-kube-latest --wait ##### # On a reviewable PR, test that we can upgrade from a cluster deployed using the latest tag