add terraforce deployment method

This commit is contained in:
Ethan Buchman
2017-05-20 17:37:30 -04:00
parent d07e164796
commit f53fb46302
18 changed files with 554 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#! /bin/bash
set -u
N=$1 # number of nodes
QUERY=$2
N_=$((N-1))
# start all tendermint nodes
terraforce ssh --user root --ssh-key $HOME/.ssh/id_rsa --machines "[0-$N_]" curl -s localhost:46657/$QUERY