remove debora scriptspull/1546/merge
@ -1,13 +0,0 @@ | |||||
#!/bin/bash | |||||
set -euo pipefail | |||||
IFS=$'\n\t' | |||||
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; killall tendermint" | |||||
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; tendermint unsafe_reset_priv_validator; rm -rf ~/.tendermint/data" | |||||
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; git pull origin develop; make" | |||||
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; mkdir -p ~/.tendermint/logs" | |||||
debora run --bg --label tendermint -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; tendermint node 2>&1 | stdinwriter -outpath ~/.tendermint/logs/tendermint.log" | |||||
printf "\n\nSleeping for a minute\n" | |||||
sleep 60 | |||||
debora download tendermint "logs/async$1" | |||||
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; killall tendermint" |
@ -1,11 +0,0 @@ | |||||
#!/bin/bash | |||||
set -euo pipefail | |||||
IFS=$'\n\t' | |||||
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; killall tendermint; killall logjack" | |||||
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; tendermint unsafe_reset_priv_validator; rm -rf ~/.tendermint/data; rm ~/.tendermint/config/genesis.json; rm ~/.tendermint/logs/*" | |||||
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; git pull origin develop; make" | |||||
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; mkdir -p ~/.tendermint/logs" | |||||
debora run --bg --label tendermint -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; tendermint node 2>&1 | stdinwriter -outpath ~/.tendermint/logs/tendermint.log" | |||||
debora run --bg --label logjack -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; logjack -chopSize='10M' -limitSize='1G' ~/.tendermint/logs/tendermint.log" | |||||
printf "Done\n" |
@ -1,10 +0,0 @@ | |||||
#!/bin/bash | |||||
set -euo pipefail | |||||
IFS=$'\n\t' | |||||
printf "Starting group $1...\n" | |||||
sleep 3 | |||||
debora --group "$1" run --bg --label tendermint -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; tendermint node 2>&1 | stdinwriter -outpath ~/.tendermint/logs/tendermint.log" | |||||
debora --group "$1" run --bg --label logjack -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; logjack -chopSize='10M' -limitSize='1G' ~/.tendermint/logs/tendermint.log" | |||||
printf "Done\n" |
@ -1,9 +0,0 @@ | |||||
#!/bin/bash | |||||
set -euo pipefail | |||||
IFS=$'\n\t' | |||||
printf "Stopping group $1...\n" | |||||
sleep 3 | |||||
debora --group "$1" run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; killall tendermint; killall logjack" | |||||
printf "Done\n" |
@ -1,19 +0,0 @@ | |||||
#!/bin/bash | |||||
set -euo pipefail | |||||
IFS=$'\n\t' | |||||
debora open "[::]:46661" | |||||
debora --group default.upgrade status | |||||
printf "\n\nShutting down barak default port...\n\n" | |||||
sleep 3 | |||||
debora --group default.upgrade close "[::]:46660" | |||||
debora --group default.upgrade run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; git pull origin develop; make" | |||||
debora --group default.upgrade run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; mkdir -p ~/.barak/logs" | |||||
debora --group default.upgrade run --bg --label barak -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; barak --config=cmd/barak/seed 2>&1 | stdinwriter -outpath ~/.barak/logs/barak.log" | |||||
printf "\n\nTesting new barak...\n\n" | |||||
sleep 3 | |||||
debora status | |||||
printf "\n\nShutting down old barak...\n\n" | |||||
sleep 3 | |||||
debora --group default.upgrade quit | |||||
printf "Done!\n" |
@ -1,9 +0,0 @@ | |||||
#!/bin/bash | |||||
set -euo pipefail | |||||
IFS=$'\n\t' | |||||
printf "Upgrading group $1...\n" | |||||
sleep 3 | |||||
debora --group "$1" run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; git pull origin develop; make" | |||||
printf "Done\n" |