Skip to content

Commit

Permalink
Save AM docker logs on AMAUAT failures
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Feb 1, 2024
1 parent 6427e2a commit 917b0c2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/acceptance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,18 @@ jobs:
- name: "Run AMAUAT tag"
run: |
make -C hack/ test-at-behave TAGS="${{ matrix.tag }}" BROWSER=${{ matrix.browser }}
- name: "Save docker logs on failure"
if: failure()
run: |
mkdir docker-logs
docker compose logs --no-log-prefix --no-color archivematica-mcp-server > docker-logs/mcp-server.log
docker compose logs --no-log-prefix --no-color archivematica-mcp-client > docker-logs/mcp-client.log
docker compose logs --no-log-prefix --no-color archivematica-dashboard > docker-logs/dashboard.log
docker compose logs --no-log-prefix --no-color archivematica-storage-service > docker-logs/storage-service.log
working-directory: ./hack
- name: "Upload docker logs on failure"
if: failure()
uses: "actions/upload-artifact@v4"
with:
name: "docker-logs-${{ matrix.tag }}-${{ matrix.browser }}"
path: "./hack/docker-logs"

0 comments on commit 917b0c2

Please sign in to comment.