[ARVADOS-DEV] updated: 17a7412040734fa4b906b1e6c5743ddc41bacf2f

git at public.curoverse.com git at public.curoverse.com
Fri Jun 13 10:50:22 EDT 2014


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

       via  17a7412040734fa4b906b1e6c5743ddc41bacf2f (commit)
      from  722ec7495f5ad00a404c31d8b72052be41a780da (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 17a7412040734fa4b906b1e6c5743ddc41bacf2f
Author: Ward Vandewege <ward at curoverse.com>
Date:   Fri Jun 13 10:49:46 2014 -0400

    Build a new arvados-src package.
    
    No issue #

diff --git a/jenkins/run-build-packages.sh b/jenkins/run-build-packages.sh
index d9d3d18..9ff93a2 100755
--- a/jenkins/run-build-packages.sh
+++ b/jenkins/run-build-packages.sh
@@ -63,6 +63,8 @@ python setup.py egg_info -b ".$GIT_HASH" sdist upload
 
 # Build debs for everything
 
+# Build arvados src deb package
+
 build_and_scp_deb () {
   PACKAGE=$1
   PACKAGE_NAME=$2
@@ -117,6 +119,22 @@ fi
 # Make sure our destination directory on $APTSERVER exists - prm can delete it when invoked improperly
 ssh -p2222 $APTUSER@$APTSERVER mkdir tmp
 
+# Arvados-src
+# We use $WORKSPACE/src-build-dir as the clean directory from which to build the src package
+if [[ ! -d "$WORKSPACE/src-build-dir" ]]; then
+  mkdir "$WORKSPACE/src-build-dir"
+  cd "$WORKSPACE/src-build-dir"
+  git clone https://github.com/curoverse/arvados.git
+fi  
+
+cd "$WORKSPACE/src-build-dir"
+git fetch -a
+git checkout $GIT_REV
+cd $WORKSPACE
+
+cd $WORKSPACE/debs
+build_and_scp_deb $WORKSPACE/src-build-dir/=/usr/local/arvados/src arvados-src 'Curoverse, Inc.' 'dir' "-v 0.1.$GIT_HASH -x 'usr/local/arvados/src/.git*'"
+
 # Keep
 cd $WORKSPACE/services/keep
 ./go.sh install keep

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list