mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
Merge branch 'destroy_vm' into 'master'
Distroy VM when running into timeout (Closes: #1094) Closes #1094 See merge request fdroid/fdroidserver!1285
This commit is contained in:
commit
c28bb024af
@ -893,7 +893,7 @@ def force_halt_build(timeout):
|
|||||||
logging.error(_('Force halting build after {0} sec timeout!').format(timeout))
|
logging.error(_('Force halting build after {0} sec timeout!').format(timeout))
|
||||||
timeout_event.set()
|
timeout_event.set()
|
||||||
vm = vmtools.get_build_vm('builder')
|
vm = vmtools.get_build_vm('builder')
|
||||||
vm.halt()
|
vm.destroy()
|
||||||
|
|
||||||
|
|
||||||
def parse_commandline():
|
def parse_commandline():
|
||||||
|
Loading…
Reference in New Issue
Block a user