This is an automated email from the ASF dual-hosted git repository.

abhishek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 801967b75fa Add test logs zipping and archival steps for failures in 
Static Checks Github Actions (#15506)
801967b75fa is described below

commit 801967b75fa9ee8a2dd508c06e043dbfbbb15a6e
Author: Vishesh Garg <[email protected]>
AuthorDate: Thu Dec 7 15:34:23 2023 +0530

    Add test logs zipping and archival steps for failures in Static Checks 
Github Actions (#15506)
    
    Add test logs zipping and archival steps for failures in Static Checks 
Github Actions
---
 .github/workflows/static-checks.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.github/workflows/static-checks.yml 
b/.github/workflows/static-checks.yml
index 49cd516f5ca..28535b334b0 100644
--- a/.github/workflows/static-checks.yml
+++ b/.github/workflows/static-checks.yml
@@ -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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to