github-actions-runner-operator icon indicating copy to clipboard operation
github-actions-runner-operator copied to clipboard

Can this work with Runner group at enterprise level

Open Deepak1100 opened this issue 3 years ago • 3 comments

i have installed the operator and used GitHub App to authenticate. and it worked fine when it comes to runner group at org level. But does it support runner groups at the enterprise level?

Self-hosted runner groups are used to control access to self-hosted runners at the organization and enterprise level

Cause when I tried it's giving me 404.

Usecase: wanted to manage the runner group across orgs.

Deepak1100 avatar Oct 28 '21 10:10 Deepak1100

yes, just pass:

- name: ACTIONS_RUNNER_INPUT_RUNNERGROUP
  value: "thegroupname"

to the runner env.

note that the group needs to exist (you can create it through the UI).

davidkarlsen avatar Oct 28 '21 11:10 davidkarlsen

Yes, i already did that but it was giving 404. again this is an enterprise runner group that can be used by multiple organisations at the same time

Deepak1100 avatar Oct 28 '21 17:10 Deepak1100

https://docs.github.com/en/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups

GitHub Docs
You can use policies to limit access to self-hosted runners that have been added to an organization or enterprise.

Deepak1100 avatar Oct 28 '21 17:10 Deepak1100