|
@ -20,7 +20,12 @@ set -u |
|
|
export TMHEAD=`git rev-parse --abbrev-ref HEAD` |
|
|
export TMHEAD=`git rev-parse --abbrev-ref HEAD` |
|
|
export TM_IMAGE="tendermint/tmbase" |
|
|
export TM_IMAGE="tendermint/tmbase" |
|
|
|
|
|
|
|
|
|
|
|
# grab glide for dependency mgmt |
|
|
|
|
|
go get github.com/Masterminds/glide |
|
|
|
|
|
|
|
|
# grab network monitor, install mintnet, netmon |
|
|
# grab network monitor, install mintnet, netmon |
|
|
|
|
|
# these might err |
|
|
|
|
|
echo "... fetching repos. ignore go get errors" |
|
|
set +e |
|
|
set +e |
|
|
go get github.com/tendermint/network_testing |
|
|
go get github.com/tendermint/network_testing |
|
|
go get github.com/tendermint/mintnet |
|
|
go get github.com/tendermint/mintnet |
|
@ -28,20 +33,26 @@ go get github.com/tendermint/netmon |
|
|
set -e |
|
|
set -e |
|
|
|
|
|
|
|
|
# install vendored deps |
|
|
# install vendored deps |
|
|
|
|
|
echo "GOPATH $GOPATH" |
|
|
|
|
|
|
|
|
cd $GOPATH/src/github.com/tendermint/mintnet |
|
|
cd $GOPATH/src/github.com/tendermint/mintnet |
|
|
|
|
|
echo "... install mintnet dir $(pwd)" |
|
|
glide install |
|
|
glide install |
|
|
go install |
|
|
go install |
|
|
cd $GOPATH/src/github.com/tendermint/netmon |
|
|
cd $GOPATH/src/github.com/tendermint/netmon |
|
|
|
|
|
echo "... install netmon dir $(pwd)" |
|
|
glide install |
|
|
glide install |
|
|
go install |
|
|
go install |
|
|
|
|
|
|
|
|
cd $GOPATH/src/github.com/tendermint/network_testing |
|
|
cd $GOPATH/src/github.com/tendermint/network_testing |
|
|
|
|
|
echo "... running network test $(pwd)" |
|
|
bash experiments/exp_throughput.sh $DATACENTER $VALSETSIZE $BLOCKSIZE $TX_SIZE $NTXS $MACH_PREFIX $RESULTSDIR $CLOUD_PROVIDER |
|
|
bash experiments/exp_throughput.sh $DATACENTER $VALSETSIZE $BLOCKSIZE $TX_SIZE $NTXS $MACH_PREFIX $RESULTSDIR $CLOUD_PROVIDER |
|
|
|
|
|
|
|
|
# TODO: publish result! |
|
|
# TODO: publish result! |
|
|
|
|
|
|
|
|
# cleanup |
|
|
# cleanup |
|
|
|
|
|
|
|
|
|
|
|
echo "... destroying machines" |
|
|
mintnet destroy --machines $MACH_PREFIX[1-$VALSETSIZE] |
|
|
mintnet destroy --machines $MACH_PREFIX[1-$VALSETSIZE] |
|
|
|
|
|
|
|
|
|
|
|
|