From 56aed6e6ff8c69173e1dc69cb58a9955e6f4622f Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Tue, 21 May 2024 20:56:03 +0900 Subject: [PATCH] chore(ci): export kind logs (#3996) * chore(ci): export kind logs * chore: add empty line --- .github/actions/sqlness-test/action.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/actions/sqlness-test/action.yml b/.github/actions/sqlness-test/action.yml index 28d58902a6ba..9764f03a846e 100644 --- a/.github/actions/sqlness-test/action.yml +++ b/.github/actions/sqlness-test/action.yml @@ -57,3 +57,14 @@ runs: AWS_SECRET_ACCESS_KEY: ${{ inputs.aws-secret-access-key }} run: | aws s3 rm s3://${{ inputs.aws-ci-test-bucket }}/${{ inputs.data-root }} --recursive + - name: Export kind logs + if: failure() + shell: bash + run: kind export logs -n greptimedb-operator-e2e /tmp/kind + - name: Upload logs + if: failure() + uses: actions/upload-artifact@v4 + with: + name: kind-logs + path: /tmp/kind + retention-days: 3