Skip to content

Commit 209f0f0

Browse files
committed
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
1 parent 6c14fb1 commit 209f0f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.cirrus.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@ task:
211211
EOF
212212
213213
on_failure:
214+
# if the server continues running, it often causes cirrus-ci to fail
215+
# during upload, as it doesn't expect artifacts to change size
216+
stop_running_script: |
217+
su postgres <<-EOF
218+
build/tmp_install/usr/local/pgsql/bin/pg_ctl -D build/runningcheck stop || true
219+
EOF
214220
<<: *on_failure_meson
215221
cores_script: src/tools/ci/cores_backtrace.sh freebsd /tmp/cores
216222

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy