You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
786 B

  1. #!/bin/sh
  2. debora open "[::]:46661"
  3. debora --group default.upgrade list # TODO replace with command to test with
  4. echo "Will shut down barak default port..."
  5. sleep 10
  6. debora --group default.upgrade close "[::]:46660"
  7. debora --group default.upgrade run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; git pull origin develop; make"
  8. debora --group default.upgrade run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; mkdir -p ~/.barak/logs"
  9. debora --group default.upgrade run --bg --label barak -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; barak --options-file=cmd/barak/seed0 | stdinwriter -outpath ~/.barak/logs/barak.log"
  10. echo "Testing new barak..."
  11. debora list
  12. sleep 10
  13. echo "Will shut down old barak..."
  14. debora --group default.upgrade quit