Created
April 30, 2020 03:58
-
-
Save LeoHChen/ae1aaf08eb1e03d250f244c0aeea7683 to your computer and use it in GitHub Desktop.
upgrade a node in OSTN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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