Skip to content

Commit 32e5be6

Browse files
committed
docker logs
1 parent 82932b0 commit 32e5be6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/e2e.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,16 @@ jobs:
8888
curl ${{ env.E2E_APP_HOST }}:5000 && sleep 35s
8989
resp=$(spp-cli -a change-me get-instruments) && [[ $resp == "[]" ]] && echo $resp || (echo $resp && exit 1)
9090
91-
- name: Docker logs
92-
run: cd e2e && docker-compose logs -t --tail="all"
91+
- run: ./gradlew composeLogs
9392
if: ${{ always() }}
9493

94+
- name: Upload docker logs artifact
95+
if: ${{ always() }}
96+
uses: actions/upload-artifact@v2
97+
with:
98+
name: docker-logs
99+
path: ./build/containers-logs
100+
95101
- name: Remove Old Release Drafts
96102
if: github.ref == 'refs/heads/master'
97103
env:

0 commit comments

Comments
 (0)