Skip to content
Permalink
Browse files
Fix defaults and dependencies. (#45)
* Add default for branch under test
* Fetch dependencies before running benchmarks.

Authored-by: Sean Goller <sgoller@pivotal.io>
  • Loading branch information
smgoller committed Jan 17, 2019
1 parent 7ec3829 commit e963cdb989d808c42817a9c31176877317a002e7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
@@ -20,6 +20,7 @@
set -e -o pipefail

BENCHMARK_BRANCH='develop'
BRANCH='develop'

TEMP=`getopt t:b::v::B::V::m::o::h "$@"`
eval set -- "$TEMP"
@@ -83,7 +83,19 @@ if [ ! -z "${BRANCH}" ]; then

ssh ${SSH_OPTIONS} geode@$FIRST_INSTANCE "\
rm -rf geode && \
git clone https://github.com/apache/geode --branch ${BRANCH} && \
git clone https://github.com/apache/geode --branch ${BRANCH}"

set +e
for i in {1..5}; do
if ssh ${SSH_OPTIONS} geode@$FIRST_INSTANCE "\
cd geode && \
./gradlew resolveDependencies"; then
break
fi
done
set -e

ssh ${SSH_OPTIONS} geode@$FIRST_INSTANCE "\
cd geode && \
./gradlew install installDist"

0 comments on commit e963cdb

Please sign in to comment.