fix(ci): prefer ipv4 for local runner registration
This commit is contained in:
parent
64db209bab
commit
f0945a2d86
@ -102,6 +102,7 @@ brew services stop act_runner && brew services stop gitea
|
||||
## Troubleshooting
|
||||
|
||||
- **Runner not picking up jobs:** `brew services restart act_runner`
|
||||
- **Runner still queued after restart:** re-register against `http://127.0.0.1:3300` instead of `http://localhost:3300`
|
||||
- **Stale .next/lock:** `rm -f /Users/sd9235/code/mygh/learning_ai_common_plat/dashboards/*-web/.next/lock`
|
||||
- **Permission denied on tsc:** `chmod +x /Users/sd9235/code/mygh/learning_ai_common_plat/node_modules/.bin/*`
|
||||
- **Check runner log:** `tail -30 /opt/homebrew/var/log/act_runner.err`
|
||||
|
||||
@ -133,7 +133,7 @@ curl -s http://localhost:3300/api/v1/version
|
||||
```bash
|
||||
brew services stop act_runner
|
||||
rm /opt/homebrew/var/act_runner/.runner
|
||||
TOKEN=$(curl -s -u "bytelyst:bytelyst123" http://localhost:3300/api/v1/admin/runners/registration-token | python3 -c "import sys,json; print(json.load(sys.stdin)['token'])")
|
||||
cd /opt/homebrew/var/act_runner && /opt/homebrew/opt/act_runner/bin/act_runner register --config /opt/homebrew/etc/act_runner/config.yaml --instance http://localhost:3300 --token "$TOKEN" --name bytelyst-mac --no-interactive
|
||||
TOKEN=$(curl -s -u "bytelyst:bytelyst123" http://127.0.0.1:3300/api/v1/admin/runners/registration-token | python3 -c "import sys,json; print(json.load(sys.stdin)['token'])")
|
||||
cd /opt/homebrew/var/act_runner && /opt/homebrew/opt/act_runner/bin/act_runner register --config /opt/homebrew/etc/act_runner/config.yaml --instance http://127.0.0.1:3300 --token "$TOKEN" --name bytelyst-mac --no-interactive
|
||||
brew services start act_runner
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user