Skip to content

Commit

Permalink
build: collect docker logs from E2E tests as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
grisha87 committed Dec 16, 2023
1 parent 5032fd1 commit 52c070c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,20 @@ jobs:
name: cypress-logs
path: .cypress

- name: Collect logs from providers and requestor
run: |
mkdir log-output
docker compose -f tests/docker/docker-compose.yml logs provider-1 > log-output/provider-1.log
docker compose -f tests/docker/docker-compose.yml logs provider-2 > log-output/provider-2.log
docker compose -f tests/docker/docker-compose.yml logs requestor > log-output/requestor.log
- name: Upload provider output and logs
uses: actions/upload-artifact@v3
if: always()
with:
name: golem-provider-and-requestor-logs
path: log-output

- name: Cleanup Docker
if: always()
run: |
Expand Down

0 comments on commit 52c070c

Please sign in to comment.