diff --git a/.windsurf/workflows/gitea-ci.md b/.windsurf/workflows/gitea-ci.md index d1859026..9d3b234a 100644 --- a/.windsurf/workflows/gitea-ci.md +++ b/.windsurf/workflows/gitea-ci.md @@ -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` diff --git a/docs/devops/GITEA_LOCAL_CI.md b/docs/devops/GITEA_LOCAL_CI.md index 65c22d97..e68c56f7 100644 --- a/docs/devops/GITEA_LOCAL_CI.md +++ b/docs/devops/GITEA_LOCAL_CI.md @@ -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 ```