Skip to content
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

Gitea Actions - could not find runner by label #26045

Closed
sgabenov opened this issue Jul 21, 2023 · 4 comments · Fixed by #26091
Closed

Gitea Actions - could not find runner by label #26045

sgabenov opened this issue Jul 21, 2023 · 4 comments · Fixed by #26091
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail topic/gitea-actions related to the actions of Gitea type/bug

Comments

@sgabenov
Copy link

Description

Gitea - v 1.20.0
Runner - tested on 0.2.3 (linux) and nightly v0.2.3-10-g1a7ec5f
Runner - INFO Registering runner, arch=amd64, os=linux, version=v0.2.3-10-g1a7ec5f

I have configured Gitea Actions, added and registered runner, but all jobs are not executed. I can see on UI, that it could not find runner by label. But the label exists. See attached screenshots.

Gitea Version

1.20.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

actions_0 actions_1 actions_2 ubunt

Git Version

No response

Operating System

ubuntu 22.10

How are you running Gitea?

docker

Database

PostgreSQL

@CaiCandong
Copy link
Member

I can't reproduce the bug, are you able to provide more details?

@wolfogre
Copy link
Member

Let me guess.

  • According to the screenshot, the type of the runner is "Individual", so it means that you have registered a runner for your own account, not an organization or the entire instance.
  • And you tried to test Actions on sandbox/gitea-actions, I am not sure, but sandbox doesn't sound like a username, maybe it's a organization?
  • If I'm right, you should register a runner for sandbox, not your own account.

@wolfogre wolfogre added topic/gitea-actions related to the actions of Gitea issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail labels Jul 24, 2023
@sgabenov
Copy link
Author

sgabenov commented Jul 24, 2023

@wolfogre Thank you! Indeed, the runner was configured not for organization, but for individual.

@CaiCandong - There is a problem in documentation, actual links to configure actions are different, compared to this article:
https://docs.gitea.com/next/usage/actions/act-runner#obtain-a-registration-token

Actual links to Gitea 1.20 are:
Global: https://<gitea_url>/admin/actions/runners
Organization: https://<gitea_url>/org/(org_name)/settings/actions/runners
Individual: https://<gitea_url>/user/settings/actions/runners

Also i wold recommend to add information how to configure it from UI as well to this page (https://docs.gitea.com/next/usage/actions/quickstart)

Global: Site Administration > Actions > Runners
Organization: Explore > Organizations > (org_name) > Settings > Actions > Runners
Individual: User > Settings > Actions > Runners

@CaiCandong
Copy link
Member

@sgabenov Thank you a lot for your suggestion

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail topic/gitea-actions related to the actions of Gitea type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants