mirror of https://github.com/postgres/postgres
ci: freebsd: stop postgres instance on failure, to prevent log upload failures
Discussion: https://postgr.es/m/20230205233057.e2243nl44agf7c3i@alap3.anarazel.de Discussion: https://postgr.es/m/20230206221422.ykidlne7pmywu4ay@awork3.anarazel.de
This commit is contained in:
parent
6c14fb17e4
commit
209f0f0e85
|
@ -211,6 +211,12 @@ task:
|
|||
EOF
|
||||
|
||||
on_failure:
|
||||
# if the server continues running, it often causes cirrus-ci to fail
|
||||
# during upload, as it doesn't expect artifacts to change size
|
||||
stop_running_script: |
|
||||
su postgres <<-EOF
|
||||
build/tmp_install/usr/local/pgsql/bin/pg_ctl -D build/runningcheck stop || true
|
||||
EOF
|
||||
<<: *on_failure_meson
|
||||
cores_script: src/tools/ci/cores_backtrace.sh freebsd /tmp/cores
|
||||
|
||||
|
|
Loading…
Reference in New Issue