Skip to content

Commit

Permalink
Attach diagnose file to each cross cloud provider run (#1627)
Browse files Browse the repository at this point in the history
Co-authored-by: Tamir David <tamirdavid@Tamirs-MacBook-Pro.local>
  • Loading branch information
tamirdavid1 and Tamir David authored Oct 27, 2024
1 parent 0544864 commit fdb9914
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/cross-cloud-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdb9914

Please sign in to comment.