From 6c659100ec87250ca8eed0f0d006f4966f898a8d Mon Sep 17 00:00:00 2001 From: "Kwiatosz, Krzysztof" Date: Tue, 9 Jan 2024 16:25:05 +0100 Subject: [PATCH] show warden logs in case of failure --- .github/workflows/warden-verify.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/warden-verify.yaml b/.github/workflows/warden-verify.yaml index 49a47938..ea47280e 100644 --- a/.github/workflows/warden-verify.yaml +++ b/.github/workflows/warden-verify.yaml @@ -56,12 +56,8 @@ jobs: run: | echo "IMG_DIRECTORY=prod" >> $GITHUB_ENV echo "IMG_VERSION=${{github.sha}}" >> $GITHUB_ENV - - name: Print envs - run: | - echo $IMG_DIRECTORY - echo $IMG_VERSION - name: run test run: make verify-on-cluster - name: Show Warden Logs if: failure() - run: kubectl logs -l app=warden --prefix=true; \ No newline at end of file + run: kubectl logs -l app=warden -n kyma-system --prefix=true; \ No newline at end of file