Skip to content

Commit

Permalink
feat: add inspect to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nandor-magyar committed Nov 26, 2024
1 parent 0f1b504 commit 3cc55ad
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/product_builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -639,11 +639,12 @@ jobs:
run: |
docker ps
mkdir logs
docker logs dyo-e2e_crux-ui > logs/e2e-crux-ui.log 2>&1
docker logs dyo-e2e_crux > logs/e2e-crux.log 2>&1
docker logs dyo-e2e_kratos > logs/e2e-kratos.log 2>&1
docker logs dyo-e2e_traefik > logs/e2e-traefik.log 2>&1
docker logs dagent > logs/e2e-dagent.log 2>&1
CONTAINERS="dyo-e2e_crux-ui dyo-e2e_crux dyo-e2e_kratos dyo-e2e_traefik dagent"
for cont in CONTAINERS
do
docker logs $cont > logs/$cont.log 2>&1
docker inspect $cont > logs/$cont.inspect 2>&1
done
- uses: actions/upload-artifact@v3
if: failure()
with:
Expand Down

0 comments on commit 3cc55ad

Please sign in to comment.