Print the PostgreSQL service log at the end of the CI job (refs #98)
ci / test (postgres) (push) Successful in 8m16s
ci / test (sqlite) (push) Successful in 5m16s
ci / test (postgres) (pull_request) Successful in 11m38s
ci / test (sqlite) (pull_request) Successful in 4m58s
ci / image (push) Successful in 1m42s
ci / image (pull_request) Successful in 47s
ci / test (postgres) (push) Successful in 8m16s
ci / test (sqlite) (push) Successful in 5m16s
ci / test (postgres) (pull_request) Successful in 11m38s
ci / test (sqlite) (pull_request) Successful in 4m58s
ci / image (push) Successful in 1m42s
ci / image (pull_request) Successful in 47s
The job log shows the tests losing every connection but not why the server went into recovery. A new tasks command reads the service container's log, state and memory through the Docker socket the runner mounts in the job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
25e71b679f
commit
0a9a8a38ec
3 files changed
+132
No files matched your search
@@ -45,6 +45,10 @@ jobs:
|
||||
git checkout -q FETCH_HEAD
|
||||
- name: Check
|
||||
run: sh ./tasks.sh check
|
||||
# The log of the PostgreSQL service, read through the Docker socket the runner mounts in the job (issue #98).
|
||||
- name: PostgreSQL log
|
||||
if: always() && matrix.db == 'postgres'
|
||||
run: sh ./tasks.sh ci-service-log postgres
|
||||
|
||||
image:
|
||||
needs: test
|
||||
|
||||
Reference in new issue
Block a user