Created
November 17, 2020 21:32
-
-
Save fruch/330295cb31cb66cbb4c2f20bc68e7d4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VERSION=rc1 | |
BRANCH=4.3 | |
AWS_BASE=s3://downloads.scylladb.com/downloads/scylla/relocatable/scylladb-$BRANCH/ | |
for f in `aws s3 ls ${AWS_BASE} | awk '{print $4}' | grep "${VERSION}" | grep 'scylla-tools\|scylla-package\|scylla-jmx'` ; | |
do | |
aws s3 cp ${AWS_BASE}${f} . | |
if [[ $f == *"scylla-package"* ]]; then | |
export SCYLLA_CORE_PACKAGE=./$f | |
fi | |
if [[ $f == *"scylla-tools"* ]]; then | |
export SCYLLA_TOOLS_JAVA_PACKAGE=./$f | |
fi | |
if [[ $f == *"scylla-jmx"* ]]; then | |
export SCYLLA_JMX_PACKAGE=./$f | |
fi | |
done | |
ccm create temp_${BRANCH}_${VERION} -n 1 --scylla --version branch_$BRANCH:$VERSION | |
ccm remove | |
echo "now it can be used in dtest as:" | |
echo "export SCYLLA_VERSION=branch_$BRANCH:$VERSION" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment