[ARVADOS-DEV] updated: 2b9ef5ac8ac2aa45607858bae1396eb8d60c0c10

Git user git at public.curoverse.com
Thu Apr 6 17:21:06 EDT 2017


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

       via  2b9ef5ac8ac2aa45607858bae1396eb8d60c0c10 (commit)
      from  46df14bbcd51588802c62c2eb57bc24ae16ba564 (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 2b9ef5ac8ac2aa45607858bae1396eb8d60c0c10
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Apr 6 17:21:01 2017 -0400

    11332: clone repos with --depth 1 to reduce bandwidth/disk usage.

diff --git a/jenkins/run-cwl-test.sh b/jenkins/run-cwl-test.sh
index bebb906..085dbf0 100755
--- a/jenkins/run-cwl-test.sh
+++ b/jenkins/run-cwl-test.sh
@@ -159,10 +159,10 @@ if [[ "$ARVADOS_API_HOST" == "" ]] || [[ "$ARVADOS_API_TOKEN" == "" ]]; then
   exit 1
 fi
 
-run_command shell.$IDENTIFIER ECODE "if [[ ! -e common-workflow-language ]]; then git clone https://github.com/common-workflow-language/common-workflow-language.git; fi"
+run_command shell.$IDENTIFIER ECODE "if [[ ! -e common-workflow-language ]]; then git clone --depth 1 https://github.com/common-workflow-language/common-workflow-language.git; fi"
 
 if [[ "$ECODE" != "0" ]]; then
-  echo "Failed to git clone https://github.com/common-workflow-language/common-workflow-language.git"
+  echo "Failed to git clone --depth 1 https://github.com/common-workflow-language/common-workflow-language.git"
   exit $ECODE
 fi
 
@@ -175,10 +175,10 @@ fi
 
 run_command shell.$IDENTIFIER ECODE "cd common-workflow-language; git pull; ARVADOS_API_HOST=$ARVADOS_API_HOST ARVADOS_API_TOKEN=$ARVADOS_API_TOKEN ./run_test.sh RUNNER=/home/$ACCT/arvados-cwl-runner-with-checksum.sh "
 
-run_command shell.$IDENTIFIER ECODE "if [[ ! -e arvados ]]; then ARVADOS_API_HOST=$ARVADOS_API_HOST ARVADOS_API_TOKEN=$ARVADOS_API_TOKEN git clone https://git.$IDENTIFIER.arvadosapi.com/arvados.git; fi"
+run_command shell.$IDENTIFIER ECODE "if [[ ! -e arvados ]]; then ARVADOS_API_HOST=$ARVADOS_API_HOST ARVADOS_API_TOKEN=$ARVADOS_API_TOKEN git clone --depth 1 https://git.$IDENTIFIER.arvadosapi.com/arvados.git; fi"
 
 if [[ "$ECODE" != "0" ]]; then
-  echo "Failed to git clone git at git.$IDENTIFIER.arvadosapi.com:arvados.git"
+  echo "Failed to git clone --depth 1 git at git.$IDENTIFIER.arvadosapi.com:arvados.git"
   exit $ECODE
 fi
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list