rename tmbase image to tendermint

The main reason is people usually expect docker image to have the same
name as the repo. Plus, tendermint is cleaner than tmbase.

tmbase would make sense if we had multiple docker images within
tendermint, but we don't.
This commit is contained in:
Anton Kaliaev 2017-01-30 11:59:35 +04:00
parent 67ab574e98
commit c0e7d05b5c
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
2 changed files with 7 additions and 16 deletions

View File

@ -1,24 +1,20 @@
# Docker # Docker
Tendermint uses docker for deployment of testnets via the [mintnet](github.com/tendermint/mintnet) tool. Tendermint uses docker for deployment of testnets via the [mintnet](github.com/tendermint/mintnet) tool.
For faster development iterations (ie. to avoid docker builds),
the dockerfile just sets up the OS, and tendermint is fetched/installed at runtime.
For the deterministic docker builds used in testing, see the [tests directory](https://github.com/tendermint/tendermint/tree/master/test) For the deterministic docker builds used in testing, see the [tests directory](https://github.com/tendermint/tendermint/tree/master/test)
# Build and run a docker image and container # Build and run a docker image and container
These are notes for the dev team. These are notes for the dev team.
``` ```
# Build base Docker image # Build base Docker image
# Make sure ./run.sh exists. docker build -t "tendermint/tendermint" -t "tendermint/tendermint:0.8.0" -t "tendermint/tendermint:0.8" .
docker build -t tendermint/tmbase -f Dockerfile .
# Log into dockerhub # Log into dockerhub
docker login docker login
# Push latest build to dockerhub # Push latest build to dockerhub
docker push tendermint/tmbase docker push tendermint/tendermint
``` ```

View File

@ -17,18 +17,13 @@ if [[ "$MACH_PREFIX" == "" ]]; then
fi fi
set -u set -u
export TMHEAD=`git rev-parse --abbrev-ref HEAD` cd "$GOPATH/src/github.com/tendermint/network_testing"
export TM_IMAGE="tendermint/tmbase"
cd $GOPATH/src/github.com/tendermint/network_testing
echo "... running network test $(pwd)" echo "... running network test $(pwd)"
bash experiments/exp_throughput.sh $DATACENTER $VALSETSIZE $BLOCKSIZE $TX_SIZE $NTXS $MACH_PREFIX $RESULTSDIR $CLOUD_PROVIDER TMHEAD=$(git rev-parse --abbrev-ref HEAD) TM_IMAGE="tendermint/tendermint" 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" echo "... destroying machines"
mintnet destroy --machines $MACH_PREFIX[1-$VALSETSIZE] mintnet destroy --machines $MACH_PREFIX[1-$VALSETSIZE]