[ARVADOS-DEV] updated: 85ea947a0961e4217be9d53763fb5f40aed6e3db

git at public.curoverse.com git at public.curoverse.com
Tue Nov 18 12:01:39 EST 2014


Summary of changes:
 jenkins/run-build-packages.sh | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

       via  85ea947a0961e4217be9d53763fb5f40aed6e3db (commit)
      from  adb6ea84650d517054fc67c097b456714057d07f (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 85ea947a0961e4217be9d53763fb5f40aed6e3db
Author: Ward Vandewege <ward at curoverse.com>
Date:   Tue Nov 18 12:01:10 2014 -0500

    Package cwltool.
    
    Refs #4572

diff --git a/jenkins/run-build-packages.sh b/jenkins/run-build-packages.sh
index b78cf7f..71ac1fe 100755
--- a/jenkins/run-build-packages.sh
+++ b/jenkins/run-build-packages.sh
@@ -401,6 +401,36 @@ for deppkg in python-gflags pyvcf google-api-python-client oauth2client \
     build_and_scp_deb "$deppkg"
 done
 
+# cwltool from common-workflow-language. We use this in arv-run-pipeline-instance.
+# We use $WORKSPACE/common-workflow-language as the clean directory from which to build the cwltool package
+if [[ ! -d "$WORKSPACE/common-workflow-language" ]]; then
+  mkdir "$WORKSPACE/common-workflow-language"
+  cd "$WORKSPACE"
+  if [[ "$DEBUG" != 0 ]]; then
+    git clone https://github.com/rabix/common-workflow-language.git common-workflow-language
+  else
+    git clone -q https://github.com/rabix/common-workflow-language.git common-workflow-language
+  fi
+fi
+
+cd "$WORKSPACE/common-workflow-language"
+if [[ "$DEBUG" != 0 ]]; then
+  git checkout master
+  git pull
+else
+  git checkout -q master
+  git pull -q
+fi
+
+cd reference
+handle_python_package
+CWLTOOL_VERSION=`git log --first-parent --max-count=1 --format='format:0.1.%ct.%h'`
+
+# Build cwltool package
+cd $WORKSPACE/debs
+
+build_and_scp_deb $WORKSPACE/common-workflow-language/reference cwltool 'Common Workflow Language Working Group' 'python' "$(awk '($1 == "Version:"){print $2}' $WORKSPACE/common-workflow-language/reference/cwltool.egg-info/PKG-INFO)"
+
 # Finally, publish the packages, if necessary
 if [[ "$UPLOAD" != 0 && "$CALL_FREIGHT" != 0 ]]; then
   ssh -p2222 $APTUSER@$APTSERVER -t "cd tmp && ls -laF *deb && freight add *deb apt/wheezy && freight cache && rm -f *deb"

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list