From fdb99149af5aad8c0079a73f61cf7ebc4175f7f5 Mon Sep 17 00:00:00 2001 From: Tamir David Date: Sun, 27 Oct 2024 11:16:43 +0200 Subject: [PATCH] Attach diagnose file to each cross cloud provider run (#1627) Co-authored-by: Tamir David --- .github/workflows/cross-cloud-tests.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cross-cloud-tests.yaml b/.github/workflows/cross-cloud-tests.yaml index f1628f3f3..ea86c1e6f 100644 --- a/.github/workflows/cross-cloud-tests.yaml +++ b/.github/workflows/cross-cloud-tests.yaml @@ -194,9 +194,23 @@ jobs: export COMMIT_HASH=${{ github.sha }} chainsaw test tests/e2e/${{ matrix.test-scenario }} + + - name: Run diagnose command + if: always() + run: | + ./cli/odigos diagnose + continue-on-error: true + + - name: Upload run details artifact + if: always() + uses: actions/upload-artifact@v4 + with: + name: run-details + path: odigos_debug*.tar.gz + continue-on-error: true - name: Destroy Resources - if: always() # Ensures this runs even if earlier steps fail + if: always() run: | tofu -chdir=$TF_DIR destroy -auto-approve