mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 21:36:26 +00:00
fix integration script (#3667)
This commit is contained in:
committed by
Ethan Buchman
parent
97ceeed054
commit
5997e75c84
@@ -59,5 +59,5 @@
|
||||
* `Mempool#Update` and `BlockExecutor#Commit` now accept
|
||||
`[]*abci.ResponseDeliverTx` - list of `DeliverTx` responses, which should
|
||||
match `block.Txs`
|
||||
- [networks] fixes ansible integration script (@carlosflrs)
|
||||
- [lite] \#3669 Add context parameter to RPC Handlers in proxy routes (@yutianwu)
|
||||
|
||||
|
||||
@@ -62,16 +62,18 @@ There are several roles that are self-explanatory:
|
||||
First, we configure our droplets by specifying the paths for tendermint
|
||||
(`BINARY`) and the node files (`CONFIGDIR`). The latter expects any
|
||||
number of directories named `node0, node1, ...` and so on (equal to the
|
||||
number of droplets created). For this example, we use pre-created files
|
||||
from [this
|
||||
directory](https://github.com/tendermint/tendermint/tree/master/docs/examples).
|
||||
To create your own files, use either the `tendermint testnet` command or
|
||||
review [manual deployments](./deploy-testnets.md).
|
||||
number of droplets created).
|
||||
|
||||
Here's the command to run:
|
||||
To create the node files run:
|
||||
|
||||
```
|
||||
ansible-playbook -i inventory/digital_ocean.py -l sentrynet config.yml -e BINARY=$GOPATH/src/github.com/tendermint/tendermint/build/tendermint -e CONFIGDIR=$GOPATH/src/github.com/tendermint/tendermint/docs/examples
|
||||
tendermint testnet
|
||||
```
|
||||
|
||||
Then, to configure our droplets run:
|
||||
|
||||
```
|
||||
ansible-playbook -i inventory/digital_ocean.py -l sentrynet config.yml -e BINARY=$GOPATH/src/github.com/tendermint/tendermint/build/tendermint -e CONFIGDIR=$GOPATH/src/github.com/tendermint/tendermint/networks/remote/ansible/mytestnet
|
||||
```
|
||||
|
||||
Voila! All your droplets now have the `tendermint` binary and required
|
||||
|
||||
@@ -30,7 +30,6 @@ go get $REPO
|
||||
cd $GOPATH/src/$REPO
|
||||
|
||||
## build
|
||||
git checkout zach/ansible
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
make build
|
||||
@@ -84,8 +83,11 @@ ip3=$(strip $ip3)
|
||||
# all the ansible commands are also directory specific
|
||||
cd $GOPATH/src/github.com/tendermint/tendermint/networks/remote/ansible
|
||||
|
||||
# create config dirs
|
||||
tendermint testnet
|
||||
|
||||
ansible-playbook -i inventory/digital_ocean.py -l sentrynet install.yml
|
||||
ansible-playbook -i inventory/digital_ocean.py -l sentrynet config.yml -e BINARY=$GOPATH/src/github.com/tendermint/tendermint/build/tendermint -e CONFIGDIR=$GOPATH/src/github.com/tendermint/tendermint/docs/examples
|
||||
ansible-playbook -i inventory/digital_ocean.py -l sentrynet config.yml -e BINARY=$GOPATH/src/github.com/tendermint/tendermint/build/tendermint -e CONFIGDIR=$GOPATH/src/github.com/tendermint/tendermint/networks/remote/ansible/mytestnet
|
||||
|
||||
sleep 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user