Skip to content

Instantly share code, notes, and snippets.

@LeoHChen
Created April 30, 2020 03:58
Show Gist options
  • Select an option

  • Save LeoHChen/ae1aaf08eb1e03d250f244c0aeea7683 to your computer and use it in GitHub Desktop.

Select an option

Save LeoHChen/ae1aaf08eb1e03d250f244c0aeea7683 to your computer and use it in GitHub Desktop.
upgrade a node in OSTN
# login to devop machine
cd /home/ec2-user/go/src/github.com/harmony-one/harmony
# make sure you have the right branch, right code, you need to test on OSTN
make linux_static
# check the version of your build
bin/harmony --version
# upload the static binary
source ~/bin/ostn.profile
./scripts/go_executable_build.sh -s upload
./scripts/go_executable_build.sh -s release
cd /home/ec2-user/go/src/github.com/harmony-one/experiment-deploy/pipeline
/restart_node.sh -y -U -d logs/os -p os -t 0 -r 0 -R 0 IP_OF_THE_NODE
# check watchdog on the version you got in line 9
http://watchdog.hmny.io/report-ostn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment