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 Jan 31, 2024
1 parent 6427e2a commit 3ac25b1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/acceptance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,15 @@ 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()
uses: "jwalton/gh-docker-logs@v2"
with:
images: "am-archivematica-mcp-server,am-archivematica-mcp-client,am-archivematica-dashboard,am-archivematica-storage-service"
dest: "./docker-logs"
- name: "Upload docker logs on failure"
if: failure()
uses: "actions/upload-artifact@v4"
with:
name: "docker-logs-${{ matrix.tag }}-${{ matrix.browser }}"
path: "./docker-logs"

0 comments on commit 3ac25b1

Please sign in to comment.