[ARVADOS-DEV] updated: 33692d98e44828a7114f1b8faa54c359b769e87b

git at public.curoverse.com git at public.curoverse.com
Wed Sep 9 11:41:46 EDT 2015


Summary of changes:
 jenkins/libcloud-pin          | 1 +
 jenkins/run-build-packages.sh | 3 ++-
 jenkins/run-tests.sh          | 6 ++++--
 3 files changed, 7 insertions(+), 3 deletions(-)
 create mode 100644 jenkins/libcloud-pin

       via  33692d98e44828a7114f1b8faa54c359b769e87b (commit)
      from  761d43de01eb9c197162a14f8cacd3d58d67da77 (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 33692d98e44828a7114f1b8faa54c359b769e87b
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Sep 9 11:42:39 2015 -0400

    Add libcloud-pin and update to dev3 refs #7031

diff --git a/jenkins/libcloud-pin b/jenkins/libcloud-pin
new file mode 100644
index 0000000..4ebd37f
--- /dev/null
+++ b/jenkins/libcloud-pin
@@ -0,0 +1 @@
+LIBCLOUD_PIN=0.18.1.dev3
\ No newline at end of file
diff --git a/jenkins/run-build-packages.sh b/jenkins/run-build-packages.sh
index 31bf708..8fba12a 100755
--- a/jenkins/run-build-packages.sh
+++ b/jenkins/run-build-packages.sh
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 . `dirname "$(readlink -f "$0")"`/run-library.sh
+. `dirname "$(readlink -f "$0")"`/libcloud-pin
 
 read -rd "\000" helpmessage <<EOF
 $(basename $0): Build Arvados packages
@@ -394,7 +395,7 @@ LIBCLOUD_DIR=$(mktemp -d)
 (
     cd $LIBCLOUD_DIR
     git clone $DASHQ_UNLESS_DEBUG https://github.com/curoverse/libcloud.git .
-    git checkout apache-libcloud-0.18.1.dev2
+    git checkout apache-libcloud-$LIBCLOUD_PIN
     handle_python_package
 )
 fpm_build $LIBCLOUD_DIR "$PYTHON2_PKG_PREFIX"-apache-libcloud
diff --git a/jenkins/run-tests.sh b/jenkins/run-tests.sh
index 8264591..43a8acb 100755
--- a/jenkins/run-tests.sh
+++ b/jenkins/run-tests.sh
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+. `dirname "$(readlink -f "$0")"`/libcloud-pin
+
 read -rd "\000" helpmessage <<EOF
 $(basename $0): Install and test Arvados components.
 
@@ -419,8 +421,8 @@ pip freeze 2>/dev/null | egrep ^PyYAML= \
 
 # Preinstall forked version of libcloud, because nodemanager "pip install"
 # won't pick it up by default.
-pip freeze 2>/dev/null | egrep ^apache-libcloud==0.18.1.dev2 \
-    || pip install --pre --ignore-installed https://github.com/curoverse/libcloud/archive/apache-libcloud-0.18.1.dev2.zip >/dev/null \
+pip freeze 2>/dev/null | egrep ^apache-libcloud==$LIBCLOUD_PIN \
+    || pip install --pre --ignore-installed https://github.com/curoverse/libcloud/archive/apache-libcloud-$LIBCLOUD_PIN.zip >/dev/null \
     || fatal "pip install apache-libcloud failed"
 
 # If Python 3 is available, set up its virtualenv in $VENV3DIR.

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list