[ARVADOS-DEV] updated: d4d09f8e0174a91552f29031493592cfe40e993a

git at public.curoverse.com git at public.curoverse.com
Wed Oct 14 21:42:54 EDT 2015


Summary of changes:
 jenkins/run-deploy.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  d4d09f8e0174a91552f29031493592cfe40e993a (commit)
      from  9d43ab88e37dcdb5053ce552a398a34ba9c9224f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit d4d09f8e0174a91552f29031493592cfe40e993a
Author: Ward Vandewege <ward at curoverse.com>
Date:   Wed Oct 14 21:42:11 2015 -0400

    7341: I had to make a few changes to make this script work on bash 4.3.11.
    
    refs #7341

diff --git a/jenkins/run-deploy.sh b/jenkins/run-deploy.sh
index 59c7ae4..2858f5d 100755
--- a/jenkins/run-deploy.sh
+++ b/jenkins/run-deploy.sh
@@ -65,12 +65,12 @@ EXITCODE=0
 COLUMNS=80
 
 PUPPET_AGENT='
-alias now="date +%s"
-let endtime="$(now) + 600"
-while [ "$endtime" -gt "$(now)" ]; do
+now=`date +%s`
+let endtime="$now + 600"
+while [ "$endtime" -gt "$now" ]; do
     puppet agent --test --detailed-exitcodes
     agent_exitcode=$?
-    if [ 0 = "$agent_exitcode" ] || [ 2 = "$agent_exitcode" ]; then
+    if [ "0" = "$agent_exitcode" ] || [ "2" = "$agent_exitcode" ]; then
         exit 0
     else
         sleep 10s

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list