Add support for building EE releases with the -ee flag

This requires you have s3cmd configured to give you access
This commit is contained in:
Andrew Thompson 2012-07-23 21:50:14 -04:00
parent e1ab3f3ae0
commit ac4d1d8774

View File

@ -58,16 +58,32 @@ build()
cd .. cd ..
} }
# Download Riak release source if [ $1 = "-ee" ]; then
wget -c http://downloads.basho.com/riak/riak-0.14/riak-0.14.2.tar.gz # Download Riak EE release source, need s3cmd configured
wget -c http://downloads.basho.com/riak/riak-1.0.3/riak-1.0.3.tar.gz s3cmd get --continue s3://builds.basho.com/riak_ee/riak_ee-0.14/0.14.2/riak_ee-0.14.2.tar.gz
wget -c http://downloads.basho.com/riak/riak-1.1.4/riak-1.1.4.tar.gz s3cmd get --continue s3://builds.basho.com/riak_ee/1.0/1.0.3/riak_ee-1.0.3.tar.gz
s3cmd get --continue s3://builds.basho.com/riak_ee/1.1/1.1.4/riak_ee-1.1.4.tar.gz
tar -xzf riak-0.14.2.tar.gz tar -xzf riak_ee-0.14.2.tar.gz
build "riak-0.14.2" $R13B04 build "riak_ee-0.14.2" $R13B04
tar -xzf riak-1.0.3.tar.gz tar -xzf riak_ee-1.0.3.tar.gz
build "riak-1.0.3" $R14B03 build "riak_ee-1.0.3" $R14B03
tar -xzf riak-1.1.4.tar.gz tar -xzf riak_ee-1.1.4.tar.gz
build "riak-1.1.4" $R14B03 build "riak_ee-1.1.4" $R14B03
else
# Download Riak release source
wget -c http://downloads.basho.com/riak/riak-0.14/riak-0.14.2.tar.gz
wget -c http://downloads.basho.com/riak/riak-1.0.3/riak-1.0.3.tar.gz
wget -c http://downloads.basho.com/riak/riak-1.1.4/riak-1.1.4.tar.gz
tar -xzf riak-0.14.2.tar.gz
build "riak-0.14.2" $R13B04
tar -xzf riak-1.0.3.tar.gz
build "riak-1.0.3" $R14B03
tar -xzf riak-1.1.4.tar.gz
build "riak-1.1.4" $R14B03
fi