Skip to content

Commit

Permalink
test(node): update playbook and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Dec 12, 2024
1 parent 8414f71 commit 965404b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/node_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@ jobs:
- name: Run Ubuntu commands
run: |
go build .
sudo ./algorun-tui node install
sudo ./algorun-tui node start
./algorun-tui node install
systemctl status algorand.service
export TOKEN=$(cat /var/lib/algorand/algod.admin.token)
curl http://localhost:8080/v2/participation -H "X-Algo-API-Token: $TOKEN" | grep "null"
sudo ./algorun-tui node stop
sudo ./algorun-tui node upgrade
# sudo ./algorun-tui node configure
sudo ./algorun-tui node uninstall
./algorun-tui node stop
./algorun-tui node upgrade
./algorun-tui node uninstall
macos:
runs-on: macos-latest
Expand All @@ -46,13 +44,11 @@ jobs:
- name: Run MacOs commands
run: |
go build .
sudo ./algorun-tui node install
sudo ./algorun-tui node start
./algorun-tui node install
sudo launchctl print system/com.algorand.algod
sleep 5
export TOKEN=$(cat ~/.algorand/algod.admin.token)
curl http://localhost:8080/v2/participation -H "X-Algo-API-Token: $TOKEN" | grep "null"
sudo ./algorun-tui node stop
sudo ./algorun-tui node upgrade
# sudo ./algorun-tui node configure
sudo ./algorun-tui node uninstall
./algorun-tui node stop
./algorun-tui node upgrade
./algorun-tui node uninstall
2 changes: 0 additions & 2 deletions playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
when: not binpath.stat.exists
- name: Run installer
command: algorun node install
- name: Run installer twice
command: algorun node install
- name: Run upgrade
command: algorun node upgrade
- name: Run stop
Expand Down

0 comments on commit 965404b

Please sign in to comment.