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 fa61e654e47 fix uploading IT docker logs to GHA artifacts (#15046)
fa61e654e47 is described below
commit fa61e654e47ca80271798c497eda2f3018e9c636
Author: Tejaswini Bandlamudi <[email protected]>
AuthorDate: Thu Sep 28 15:25:52 2023 +0530
fix uploading IT docker logs to GHA artifacts (#15046)
---
.github/workflows/reusable-revised-its.yml | 4 ++--
.github/workflows/reusable-standard-its.yml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/reusable-revised-its.yml
b/.github/workflows/reusable-revised-its.yml
index e003716e062..e59284b0c3b 100644
--- a/.github/workflows/reusable-revised-its.yml
+++ b/.github/workflows/reusable-revised-its.yml
@@ -137,6 +137,7 @@ jobs:
- name: Collect docker logs on failure
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
run: |
+ mkdir docker-logs
for c in $(docker ps -a --format="{{.Names}}")
do
docker logs $c > ./docker-logs/$c.log
@@ -156,8 +157,7 @@ jobs:
- name: Collect service logs on failure
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
run: |
- docker cp middlemanager:/shared/logs/ ./service-logs
- tar cvzf ./service-logs.tgz ./service-logs
+ tar cvzf ./service-logs.tgz ~/shared/logs
- name: Upload Druid service logs to GitHub
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
diff --git a/.github/workflows/reusable-standard-its.yml
b/.github/workflows/reusable-standard-its.yml
index 890caabdeec..b96bb4b4c49 100644
--- a/.github/workflows/reusable-standard-its.yml
+++ b/.github/workflows/reusable-standard-its.yml
@@ -91,6 +91,7 @@ jobs:
- name: Collect docker logs on failure
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
run: |
+ mkdir docker-logs
for c in $(docker ps -a --format="{{.Names}}")
do
docker logs $c > ./docker-logs/$c.log
@@ -110,8 +111,7 @@ jobs:
- name: Collect service logs on failure
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
run: |
- docker cp druid-middlemanager:/shared/logs/ ./service-logs
- tar cvzf ./service-logs.tgz ./service-logs
+ tar cvzf ./service-logs.tgz ./shared/logs
- name: Upload Druid service logs to GitHub
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]