Skip to content

Commit

Permalink
fix(test): runner reboot fix (#8284)
Browse files Browse the repository at this point in the history
* Update gh-runner.sh

* Update README.md
  • Loading branch information
skrdgraph authored Sep 14, 2022
1 parent 3b64afc commit ee44bb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions contrib/gh-runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,4 @@ wget https://raw.githubusercontent.com/dgraph-io/dgraph/main/contrib/gh-runner/g
```
sh gh-runner.sh
```
NOTE: this will reboot the machine, once the machine is back up follow the next steps
4. Restart the Github Actions Runner agent
```
cd /home/ubuntu/actions-runner && ./run.sh &
```
NOTE: this will reboot the machine, once the machine is back up it will connect to Github
3 changes: 2 additions & 1 deletion contrib/gh-runner/gh-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ curl -o actions-runner-linux-x64-2.296.2.tar.gz -L https://github.com/actions/ru
echo "34a8f34956cdacd2156d4c658cce8dd54c5aef316a16bbbc95eb3ca4fd76429a actions-runner-linux-x64-2.296.2.tar.gz" | shasum -a 256 -c
tar xzf ./actions-runner-linux-x64-2.296.2.tar.gz
./config.sh --url https://github.com/dgraph-io/dgraph --token $TOKEN
./run.sh & # TODO move to /dev/null
sudo ./svc.sh install
sudo ./svc.sh start
# Reboot Machine
sudo reboot

0 comments on commit ee44bb7

Please sign in to comment.