Skip to content

Commit

Permalink
Show mysql logs on failures
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Oct 14, 2024
1 parent 18b4eb8 commit be3da18
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/archivematica-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ jobs:
-u ubuntu \
-e "archivematica_src_am_version=${{ env.am_version }} archivematica_src_ss_version=${{ env.ss_version }}" \
-vvv
- name: "Debug"
if: ${{ failure() }}
working-directory: "${{ github.workspace }}/tests/archivematica-acceptance-tests"
run: |
podman-compose exec -u root archivematica bash -c "journalctl -xeu mysql.service --no-pager"
- name: "Disable machine learning in Elasticsearch"
working-directory: "${{ github.workspace }}/tests/archivematica-acceptance-tests"
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/archivematica-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ jobs:
-e "archivematica_src_configure_am_site_url=http://archivematica" \
-e "archivematica_src_configure_ss_url=http://archivematica:8000" \
-vvv
- name: "Debug"
if: ${{ failure() }}
working-directory: "${{ github.workspace }}/tests/archivematica-upgrade"
run: |
podman-compose exec -u root archivematica bash -c "journalctl -xeu mysql.service --no-pager"
- name: "Get the Archivematica version"
run: |
curl \
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/dip-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ jobs:
-u ubuntu \
-e "archivematica_src_am_version=${{ env.am_version }} archivematica_src_ss_version=${{ env.ss_version }}" \
-vvv
- name: "Debug"
if: ${{ failure() }}
working-directory: "${{ github.workspace }}/tests/dip-upload"
run: |
podman-compose exec -u root archivematica bash -c "journalctl -xeu mysql.service --no-pager"
- name: "Add the ubuntu user to the archivematica group"
working-directory: "${{ github.workspace }}/tests/dip-upload"
run: |
Expand Down

0 comments on commit be3da18

Please sign in to comment.