Skip to content
Permalink
Browse files

fix(deploy.py): delay so stderr is logged before pod exits

  • Loading branch information...
mboersma committed Jul 7, 2016
1 parent 41111f6 commit 02112edb7603ba2c2be3e764d9d107ef645329a8
Showing with 3 additions and 0 deletions.
  1. +3 −0 rootfs/deploy.py
@@ -1,6 +1,7 @@
import docker
import os
import tarfile
import time
import requests
import subprocess

@@ -25,6 +26,8 @@ def log_output(stream, decode):
elif DEBUG:
print(chunk.decode('utf-8'))
if error:
# HACK: delay so stderr is logged before this dockerbuilder pod exits.
time.sleep(3)
exit(1)


0 comments on commit 02112ed

Please sign in to comment.
You can’t perform that action at this time.