From b3a37f50aae35691064c8d1664f8b070e1d5998c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Fri, 2 Aug 2024 16:08:24 +0200 Subject: [PATCH] chore: bump chainsaw (cherry-pick #1104) (#1105) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: bump chainsaw (#1104) Signed-off-by: Charles-Edouard Brétéché * trigger Signed-off-by: Charles-Edouard Brétéché * release branch Signed-off-by: Charles-Edouard Brétéché * config Signed-off-by: Charles-Edouard Brétéché --------- Signed-off-by: Charles-Edouard Brétéché --- .chainsaw.yaml | 1 + .github/workflows/test.yml | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.chainsaw.yaml b/.chainsaw.yaml index 8de72b59c..946fb50d0 100755 --- a/.chainsaw.yaml +++ b/.chainsaw.yaml @@ -16,3 +16,4 @@ spec: fullName: true forceTerminationGracePeriod: 5s delayBeforeCleanup: 3s + template: false \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5aab0ba25..9ca5040bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,8 @@ on: workflow_dispatch: {} pull_request: branches: - - 'main' + - main + - release-* concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -91,17 +92,17 @@ jobs: - name: Install latest kyverno run: | set -e - kubectl create -f https://github.com/kyverno/kyverno/raw/main/config/install-latest-testing.yaml + kubectl create -f https://github.com/kyverno/kyverno/raw/release-1.12/config/install-latest-testing.yaml - name: Wait for kyverno ready run: | set -e - kubectl wait --namespace kyverno --for=condition=ready pod --selector '!job-name' --timeout=60s + kubectl wait --namespace kyverno --for=condition=ready pod --selector '!job-name' --timeout=2m - name: Install CRDs run: | set -e kubectl apply -f ./.chainsaw/crds - name: Install Chainsaw - uses: kyverno/action-install-chainsaw@56be3cb4ec65a987b6ef4d7ab3a55ee17760a57c # v0.1.2 + uses: kyverno/action-install-chainsaw@82d8e747037f840e0ef9bdd97ecdc617f5535bdc # v0.2.8 with: release: v0.0.9 - name: Test with Chainsaw