Jump to content

Unraid Github Runners - Org: Support Thread


Recommended Posts

[Draft Until App(s) Published] - BTW - This is my first Unraid App so sorry if I'm not fully familiar with the process :

 

I created an Unraid app for running self-hosted Github runners for orgs as a fun project. I took myoung34/github-runner  and converted to an Unraid App... because... why not :)

 

 

image.png.02e2ee86d6135ca32d94dc92858cc659.png

If you're interested in using it, you'll need to generate a Personal Access Token (PAT) from Github and github org. Here's how to do it:

 

Go to your Github account settings.
Click on "Developer settings" in the left sidebar.
Click on "Personal access tokens".

The token will need thest permissions

  • repo (all)
  • admin:org (all) (mandatory for organization-wide runner)
  • admin:enterprise (all) (mandatory for enterprise-wide runner)
  • admin:public_key - read:public_key
  • admin:repo_hook - read:repo_hook
  • admin:org_hook
  • notifications
  • workflow

Click on "Generate new token".
Give your token a name and select the scopes you want to grant it.
Click on "Generate token".
Copy the generated token to a safe place, as you won't be able to see it again.

 


If you have any questions or issues with the app, please feel free to post them here and I'll do my best to help you out.

Thanks!

 

And before you ask... I will create another app for personal GitHub runners. I generally write code under my personal  GitHub org because I pay money each month to have it. :) 


Ref: 

https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners

https://github.com/programmingsecurely/unraid-templates/blob/main/github-runner-org/github-runner-org.xml

 

image.png

Edited by QuentinM
Updating the title
Link to comment
  • QuentinM changed the title to Unraid Github Runners - Org: Support Thread
  • 9 months later...

Thanks for creating this! I installed and configured, but it doesn't seem to work. This is what I get in the logs, despite providing a PAT.

Any ideas what need to be done to resolve this? Appreciate the help!

 

curl: (22) The requested URL returned error: 404 
Invalid configuration provided for token. Terminating unattended configuration.
An error occurred: Not configured. Run config.(sh/cmd) to configure the runner.
Runner reusage is disabled
Obtaining the token of the runner
Configuring

--------------------------------------------------------------------------------
|        ____ _ _   _   _       _          _        _   _                      |
|       / ___(_) |_| | | |_   _| |__      / \   ___| |_(_) ___  _ __  ___      |
|      | |  _| | __| |_| | | | | '_ \    / _ \ / __| __| |/ _ \| '_ \/ __|     |
|      | |_| | | |_|  _  | |_| | |_) |  / ___ \ (__| |_| | (_) | | | \__ \     |
|       \____|_|\__|_| |_|\__,_|_.__/  /_/   \_\___|\__|_|\___/|_| |_|___/     |
|                                                                              |
|                       Self-hosted runner registration                        |
|                                                                              |
--------------------------------------------------------------------------------

# Authentication

 

Link to comment

I was able to set up the repo-level runner. I'm also having some issues with that, but I'll make a post on that thread to keep the topics separate.
Ideally would like to use an org-level one, that's why I ask about that one here.

 

Were you able to run an org-level runner with the current version of unraid and the repo?

Appreciate any insight or troubleshooting help!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...