Skip to content

Commit

Permalink
Add test logs zipping and archival steps for failures in Static Check…
Browse files Browse the repository at this point in the history
…s Github Actions (apache#15506)

Add test logs zipping and archival steps for failures in Static Checks Github Actions
  • Loading branch information
gargvishesh authored Dec 7, 2023
1 parent b541000 commit 801967b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,14 @@ jobs:
web-console/script/druid start
(cd web-console && npm run test-e2e)
web-console/script/druid stop
- name: Tar druid logs
if: ${{ failure() }}
run: tar cvzf ./druid-logs.tgz -C ./distribution/target/apache-druid-*-SNAPSHOT/ logs

- name: Upload druid logs to GitHub
if: ${{ failure() }}
uses: actions/upload-artifact@master
with:
name: Druid logs web-checks
path: druid-logs.tgz

0 comments on commit 801967b

Please sign in to comment.