Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit50b1e8c

Browse files
committed
ci: windows: Use CIRRUS_ESCAPING_PROCESSES, revert770011e.
cirrus-ci now defaults to killing processes still running at the end of ascript. Unfortunately we start postgres in the background, which seemsnontrivial to fix. Previously we worked around that in770011e by using anolder agent version, but now that CIRRUS_ESCAPING_PROCESSES we should use that.This reverts commit770011e "ci: windows:Work around cirrus-ci bug causing test failures.Discussion:https://postgr.es/m/CA+hUKGKx7k14n2nAALSvv6M_AB6oHasNBA65X6Dvo8hwfi9y0A@mail.gmail.com
1 parenta1fc506 commit50b1e8c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎.cirrus.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,12 @@ task:
375375
# "suites".
376376
T_C:"\"C:/Program Files/Git/usr/bin/timeout.exe\" -v -k60s 15m"
377377

378-
# Temporarily work around cirrus-ci bug causing processes started from a
379-
# script to be killed, even if intentionally running in background. See
380-
# https://github.com/cirruslabs/cirrus-ci-agent/issues/218
381-
# https://postgr.es/m/CA%2BhUKGKx7k14n2nAALSvv6M_AB6oHasNBA65X6Dvo8hwfi9y0A%40mail.gmail.com
382-
CIRRUS_AGENT_VERSION:1.73.2
378+
# startcreate_script starts a postgres instance that we don't want to get
379+
# killed at the end of that script (it's stopped in stop_script). Can't
380+
# trivially use background_scripts because a) need pg_ctl's dropping of
381+
# permissions b) need to wait for startup to have finished, and we don't
382+
# currently have a tool for that...
383+
CIRRUS_ESCAPING_PROCESSES:1
383384

384385
only_if:$CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*windows.*'
385386

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp