-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token #32946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
6d3bb62 to
c4567b7
Compare
c4567b7 to
e0d2adf
Compare
5cd3af8 to
d5cf822
Compare
|
@lunny @Zettat123 would you like to update the document and examples? |
…tea#32946) Fix go-gitea#23703 When Gitea starts, it reads GITEA_RUNNER_REGISTRATION_TOKEN or GITEA_RUNNER_REGISTRATION_TOKEN_FILE to add registration token.
Yes. I'll do that later. |
… (#32964) Backport #32946 by wxiaoguang Fix #23703 When Gitea starts, it reads GITEA_RUNNER_REGISTRATION_TOKEN or GITEA_RUNNER_REGISTRATION_TOKEN_FILE to add registration token. Co-authored-by: wxiaoguang <[email protected]>
* giteaofficial/main: Add sub issue list support (go-gitea#32940) [skip ci] Updated translations via Crowdin Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (go-gitea#32946) Fix commit range paging (go-gitea#32944) Fix outdated tmpl code (go-gitea#32953)
|
For go-gitea/gitea#32946 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/630 Reviewed-by: Lunny Xiao <[email protected]> Reviewed-by: techknowlogick <[email protected]> Co-authored-by: Zettat123 <[email protected]> Co-committed-by: Zettat123 <[email protected]>
…gitea#33280) Move the main logic of `generateTaskContext` and `findTaskNeeds` to the `services` layer. This is a part of go-gitea#32751, since we need the git context and `needs` to parse the concurrency expressions. --------- Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: wxiaoguang <[email protected]> (cherry picked from commit d0962ce) Conflicts: routers/api/actions/runner/main_test.go routers/api/actions/runner/utils.go services/actions/context_test.go services/actions/init_test.go tests/integration/actions_job_test.go simple conflicts related to ref_type": string(refName.RefType()), // string, The type of ref that triggered the workflow run. Valid values are branch or tag. Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (go-gitea#32946)
fix #23703
Now when Gitea start, it reads GITEA_RUNNER_REGISTRATION_TOKEN/GITEA_RUNNER_REGISTRATION_TOKEN_FILE to use that value as global runner token.
If users would like to deploy stateless Gitea/Runner instances, they could simply do this: