File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
dev/breeze/src/airflow_breeze/commands Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 21
21
import signal
22
22
import subprocess
23
23
import sys
24
- import time
25
24
from copy import deepcopy
26
25
from pathlib import Path
27
26
from typing import TYPE_CHECKING
@@ -189,19 +188,6 @@ def prepare_for_building_ci_image(params: BuildCiParams):
189
188
make_sure_builder_configured (params = params )
190
189
191
190
192
- def build_timout_handler (build_process_group_id : int , signum , frame ):
193
- # Kill the forked process group - it will kill the build even if it is running in parallel
194
- # with multiple processes and docker build sessions
195
- os .killpg (build_process_group_id , signal .SIGTERM )
196
- os .waitpid (build_process_group_id , 0 )
197
- # give the output a little time to flush so that the helpful error message is not hidden
198
- time .sleep (5 )
199
- if os .environ .get ("GITHUB_ACTIONS" , "false" ) != "true" :
200
- get_console ().print ("::endgroup::" )
201
- get_console ().print ()
202
- sys .exit (1 )
203
-
204
-
205
191
def kill_process_group (build_process_group_id : int ):
206
192
with contextlib .suppress (OSError ):
207
193
os .killpg (build_process_group_id , signal .SIGTERM )
You can’t perform that action at this time.
0 commit comments