|
@ -7,11 +7,8 @@ ID=$3 |
|
|
APP_PROXY=$4 |
|
|
APP_PROXY=$4 |
|
|
|
|
|
|
|
|
set +u |
|
|
set +u |
|
|
SEEDS=$5 |
|
|
|
|
|
|
|
|
NODE_FLAGS=$5 |
|
|
set -u |
|
|
set -u |
|
|
if [[ "$SEEDS" != "" ]]; then |
|
|
|
|
|
SEEDS=" --seeds $SEEDS " |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
set +eu |
|
|
set +eu |
|
|
|
|
|
|
|
@ -29,7 +26,7 @@ if [[ "$CIRCLECI" == true ]]; then |
|
|
--log-opt syslog-address=udp://127.0.0.1:5514 \ |
|
|
--log-opt syslog-address=udp://127.0.0.1:5514 \ |
|
|
--log-opt syslog-facility=daemon \ |
|
|
--log-opt syslog-facility=daemon \ |
|
|
--log-opt tag="{{.Name}}" \ |
|
|
--log-opt tag="{{.Name}}" \ |
|
|
$DOCKER_IMAGE node $SEEDS --log_level=debug --proxy_app=$APP_PROXY |
|
|
|
|
|
|
|
|
$DOCKER_IMAGE node $NODE_FLAGS --log_level=debug --proxy_app=$APP_PROXY |
|
|
else |
|
|
else |
|
|
set -u |
|
|
set -u |
|
|
docker run -d \ |
|
|
docker run -d \ |
|
@ -38,5 +35,5 @@ else |
|
|
--name local_testnet_$ID \ |
|
|
--name local_testnet_$ID \ |
|
|
--entrypoint tendermint \ |
|
|
--entrypoint tendermint \ |
|
|
-e TMROOT=/go/src/github.com/tendermint/tendermint/test/p2p/data/mach$ID/core \ |
|
|
-e TMROOT=/go/src/github.com/tendermint/tendermint/test/p2p/data/mach$ID/core \ |
|
|
$DOCKER_IMAGE node $SEEDS --log_level=info --proxy_app=$APP_PROXY |
|
|
|
|
|
|
|
|
$DOCKER_IMAGE node $NODE_FLAGS --log_level=info --proxy_app=$APP_PROXY |
|
|
fi |
|
|
fi |