test fixes...

This commit is contained in:
Spencer Alger
2014-03-27 18:26:42 -07:00
parent 913edeb728
commit af89a4917f
14 changed files with 9427 additions and 70 deletions

View File

@ -13,18 +13,20 @@ fi
re_nightly='^(.*)_nightly$';
re_090='^0\.90\..*$';
re_10='^1\.0\..*$';
re_1x='^1\.([0-9]+)\..*$';
if [[ "$ES_V" =~ $re_nightly ]]; then
export ES_BRANCH=${BASH_REMATCH[1]}
elif [[ "$ES_V" =~ $re_090 ]]; then
export ES_BRANCH='0.90'
export ES_RELEASE=$ES_V
elif [[ "$ES_V" =~ $re_10 ]]; then
export ES_BRANCH='1.0'
elif [[ "$ES_V" =~ $re_1x ]]; then
export ES_BRANCH="1.${BASH_REMATCH[1]}"
export ES_RELEASE=$ES_V
else
echo "unable to parse ES_V $ES_V"
exit 1
fi
echo "ES_BRANCH = $ES_BRANCH , ES_RELEASE = $ES_RELEASE"
source $HERE/ci.sh