Browse Source

Merge pull request #2 from tendermint/refactor

Refactor branch to master
pull/1943/head
Greg Szabo 8 years ago
committed by GitHub
parent
commit
86d999a4e9
5 changed files with 8 additions and 6 deletions
  1. +1
    -1
      ansible/README.md
  2. +2
    -2
      ansible/group_vars/all
  3. +1
    -1
      ansible/roles/install-basecoin/defaults/main.yml
  4. +1
    -1
      ansible/roles/install-tendermint/defaults/main.yml
  5. +3
    -1
      terraform-digitalocean/README.md

+ 1
- 1
ansible/README.md View File

@ -87,7 +87,7 @@ Mac OSX:
sudo pip install dopy sudo pip install dopy
``` ```
Amazon AWS inventory dependencies:
#### Amazon AWS inventory dependencies:
Ubuntu/Debian: Ubuntu/Debian:
``` ```


+ 2
- 2
ansible/group_vars/all View File

@ -11,7 +11,7 @@
## tendermint_download stores the link to the specific tendermint release to install ## tendermint_download stores the link to the specific tendermint release to install
## ##
#tendermint_download: "https://s3-us-west-2.amazonaws.com/tendermint/binaries/tendermint/v0.10.0-rc1/tendermint_0.10.0-rc1_linux_amd64.zip"
#tendermint_download: "https://s3-us-west-2.amazonaws.com/tendermint/binaries/tendermint/v0.10.0/tendermint_0.10.0_linux_amd64.zip"
## tendermint_binary stores the path to a private tendermint binary to install ## tendermint_binary stores the path to a private tendermint binary to install
## ##
@ -37,7 +37,7 @@
## basecoin_download stores the link to the specific basecoin release to install ## basecoin_download stores the link to the specific basecoin release to install
## ##
#basecoin_download: "https://s3-us-west-2.amazonaws.com/tendermint/binaries/basecoin/v0.4.0/basecoin_0.4.0_linux_amd64.zip"
#basecoin_download: "https://s3-us-west-2.amazonaws.com/tendermint/binaries/basecoin/v0.5.2/basecoin_0.5.2_linux_amd64.zip"
## basecoin_binary stores the path to a private basecoin binary to install ## basecoin_binary stores the path to a private basecoin binary to install
## ##


+ 1
- 1
ansible/roles/install-basecoin/defaults/main.yml View File

@ -1,6 +1,6 @@
--- ---
basecoin_release_install: true basecoin_release_install: true
basecoin_download: "https://s3-us-west-2.amazonaws.com/tendermint/binaries/basecoin/v0.4.0/basecoin_0.4.0_linux_amd64.zip"
basecoin_download: "https://s3-us-west-2.amazonaws.com/tendermint/binaries/basecoin/v0.5.2/basecoin_0.5.2_linux_amd64.zip"
basecoin_binary: "{{ lookup('env','GOPATH') | default('') }}/bin/basecoin" basecoin_binary: "{{ lookup('env','GOPATH') | default('') }}/bin/basecoin"


+ 1
- 1
ansible/roles/install-tendermint/defaults/main.yml View File

@ -1,6 +1,6 @@
--- ---
tendermint_release_install: true tendermint_release_install: true
tendermint_download: "https://s3-us-west-2.amazonaws.com/tendermint/binaries/tendermint/v0.10.0-rc1/tendermint_0.10.0-rc1_linux_amd64.zip"
tendermint_download: "https://s3-us-west-2.amazonaws.com/tendermint/binaries/tendermint/v0.10.0/tendermint_0.10.0_linux_amd64.zip"
tendermint_binary: "{{ lookup('env','GOPATH') | default('') }}/bin/tendermint" tendermint_binary: "{{ lookup('env','GOPATH') | default('') }}/bin/tendermint"


+ 3
- 1
terraform-digitalocean/README.md View File

@ -29,13 +29,15 @@ TESTNET_NAME="testnet-servers"
terraform env new "$TESTNET_NAME" terraform env new "$TESTNET_NAME"
``` ```
Note this `terraform env` command is only available in terraform `v0.9` and up.
## Execution ## Execution
The below command will create 4 nodes in DigitalOcean. They will be named `testnet-servers-node0` to `testnet-servers-node3` and they will be tagged as `testnet-servers`. The below command will create 4 nodes in DigitalOcean. They will be named `testnet-servers-node0` to `testnet-servers-node3` and they will be tagged as `testnet-servers`.
``` ```
DO_API_TOKEN="<The API token received from DigitalOcean>" DO_API_TOKEN="<The API token received from DigitalOcean>"
SSH_IDS="[ \"<The SSH ID received from the curl call above.>\" ]" SSH_IDS="[ \"<The SSH ID received from the curl call above.>\" ]"
terraform apply -var TESTNET_NAME="testnet-servers" -var servers=4 -var DO_API_TOKEN="$DO_API_TOKEN" -var ssh_keys=$SSH_IDS
terraform apply -var TESTNET_NAME="testnet-servers" -var servers=4 -var DO_API_TOKEN="$DO_API_TOKEN" -var ssh_keys="$SSH_IDS"
``` ```
Note: `ssh_keys` is a list of strings. You can add multiple keys. For example: `["1234567","9876543"]`. Note: `ssh_keys` is a list of strings. You can add multiple keys. For example: `["1234567","9876543"]`.


Loading…
Cancel
Save