-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: configure and set algod data directory fix: RX/TX display fix: bit rate display for GB fix: configuration override order feat: handle invalid configuration and token gracefully test: fix test state fix: loading of custom endpoint address fix: loading default port test: clear viper settings fix: finds path to directory and gives cmd instruction feat: adds node start and node stop commands fix: add -y fix: turn script into indivudal commands feat: check if sudo, clarify shell chore: make more go idiomatic fix: fix proper path check fix: interact with systemctl, cleanup prompts fix: remove sudo fix: separate commands fix: proper algorand service name fix: calling with sudo chore: testing systemctl fix: checks algorand system service has been enabled directly feat: implements editAlgorandServiceFile fix: else statement fix: quick check branch fix: string template feat: adds upgrade chore: removeu nnecessary code fix: check that installed and candidate are the same chore: improve print chore: add more output fix: single quote fix: -y fix: systemctl fix: upgrade and sudo text chore: go mod tidy fix: upgrade feat: disable ui elements while syncing feat: skip account loading on syncing feat: remove offline account expires date feat: installs algod and sets up service on mac feat: refactor, + mac feat: adds uninstall, mac only fix: remove plist file chore: rename test: protocol snapshots and 100% test: status snapshots and 100% test: error page snapshots and 100% test: controls snapshots test: accounts snapshots build: go mod tidy README: Add alpha/dev warnings & notes README: Moved note README: added note README: added note about admin token README: reordered README: numbered build steps README: final note test: add codecov reporter ci: temp node test flow chore: only when push systemctl ENABLE fix: rm -f file fix: install start and uninstall for redhat fix: add systemctl check chore: printout fix: ubuntu-based uninstall fix: uninstallation remove service fix: adds extar systemctl daemon-reload chroe: temp fix: provide output chore: dont fail silently fix: wildcard fix: remove extra daemon-reload fix: remore unnecessary output chore: rephrase ci: run in pushes
- Loading branch information
1 parent
ecf00bd
commit 415ea46
Showing
7 changed files
with
165 additions
and
57 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
## This is a temporary flow, until we have our custom docker images that work with systemd for linux. | ||
## Once we have that, we can remove this and use docker containers in parallel, covering the various OS:es. | ||
|
||
name: Node Command OS-Matrix Test | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "cmd/**" | ||
pull_request: | ||
paths: | ||
- "cmd/**" | ||
|
||
jobs: | ||
ubuntu: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.22 | ||
- name: Run Ubuntu commands | ||
run: | | ||
git clone https://github.com/algorandfoundation/hack-tui.git | ||
cd hack-tui | ||
go build . | ||
sudo ./hack-tui node install | ||
sudo ./hack-tui node start | ||
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 ./hack-tui node stop | ||
sudo ./hack-tui node upgrade | ||
# sudo ./hack-tui node configure | ||
sudo ./hack-tui node uninstall | ||
macos: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Run MacOs commands | ||
run: | | ||
brew install go | ||
cd ~/ | ||
git clone https://github.com/algorandfoundation/hack-tui.git | ||
cd hack-tui | ||
go build . | ||
sudo ./hack-tui node install | ||
sudo ./hack-tui node start | ||
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 ./hack-tui node stop | ||
sudo ./hack-tui node upgrade | ||
# sudo ./hack-tui node configure | ||
sudo ./hack-tui node uninstall |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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