changeset 1243:50700d370a33

Seems like network in the container takes a moment to work, added a sleep to build_upload_nightly to compensate
author Michael Pavone <pavone@retrodev.com>
date Sun, 26 Feb 2017 20:50:03 -0800
parents 73003ad27518
children 0a34e31c4fd0
files build_upload_nightly
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/build_upload_nightly	Sun Feb 26 20:21:52 2017 -0800
+++ b/build_upload_nightly	Sun Feb 26 20:50:03 2017 -0800
@@ -7,6 +7,7 @@
 if [ $? -ne 0 ]; then
 	exit $?
 fi
+sleep 10
 echo Starting build by $BUILD_USER in $CONTAINER_NAME
 lxc-attach -n "$CONTAINER_NAME" -- /home/$BUILD_USER/blastem/build_nightly $BUILD_USER > /tmp/build_${name}_out.log
 if [ $? -ne 0 ]; then