Repository: incubator-airflow
Updated Branches:
  refs/heads/master 1870f9069 -> fb21bcbcc


Re-enable caching for hadoop components


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/fb21bcbc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/fb21bcbc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/fb21bcbc

Branch: refs/heads/master
Commit: fb21bcbcc1ffaaf78fde2e0d9a9b1414c346ec51
Parents: 1870f90
Author: Bolke de Bruin <[email protected]>
Authored: Fri Jun 16 08:41:54 2017 -0400
Committer: Bolke de Bruin <[email protected]>
Committed: Fri Jun 16 08:41:54 2017 -0400

----------------------------------------------------------------------
 scripts/ci/setup_env.sh | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/fb21bcbc/scripts/ci/setup_env.sh
----------------------------------------------------------------------
diff --git a/scripts/ci/setup_env.sh b/scripts/ci/setup_env.sh
index 1a6d242..c8db289 100755
--- a/scripts/ci/setup_env.sh
+++ b/scripts/ci/setup_env.sh
@@ -110,8 +110,6 @@ if $ONLY_DOWNLOAD; then
 fi
 
 echo "Extracting ${HADOOP_HOME}/hadoop.tar.gz into $HADOOP_HOME"
-# TODO: remove this below after first successful build
-rm -rf ${TRAVIS_CACHE}/${HADOOP_DISTRO}/hadoop.tar.gz
 tar zxf ${TRAVIS_CACHE}/${HADOOP_DISTRO}/hadoop.tar.gz --strip-components 1 -C 
$HADOOP_HOME
 
 if [ $? != 0 ]; then
@@ -128,8 +126,6 @@ fi
 
 echo "Downloading and unpacking hive"
 curl -z ${TRAVIS_CACHE}/hive/hive.tar.gz -o ${TRAVIS_CACHE}/hive/hive.tar.gz 
-L ${HIVE_URL}
-# TODO: remove this below after first successful build
-rm -rf ${TRAVIS_CACHE}/hive/hive.tar.gz
 tar zxf ${TRAVIS_CACHE}/hive/hive.tar.gz --strip-components 1 -C ${HIVE_HOME}
 
 if [ $? != 0 ]; then

Reply via email to