mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[IMP] runbot_merge: debug prints in the ngrok tunnel script
This commit is contained in:
parent
2deeb914cc
commit
a0e237fbfc
@ -55,7 +55,6 @@ for _ in range(10):
|
|||||||
# check for weird responses
|
# check for weird responses
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
|
|
||||||
print("opened tunnel", file=sys.stderr)
|
|
||||||
print(r.json()['public_url'], flush=True)
|
print(r.json()['public_url'], flush=True)
|
||||||
sys.stdout.close()
|
sys.stdout.close()
|
||||||
break
|
break
|
||||||
@ -92,5 +91,4 @@ def cleanup(_sig, _frame):
|
|||||||
signal.signal(signal.SIGTERM, cleanup)
|
signal.signal(signal.SIGTERM, cleanup)
|
||||||
signal.signal(signal.SIGINT, cleanup)
|
signal.signal(signal.SIGINT, cleanup)
|
||||||
|
|
||||||
print("wait for signal", file=sys.stderr)
|
|
||||||
shutdown.wait()
|
shutdown.wait()
|
||||||
|
Loading…
Reference in New Issue
Block a user