QuentinM Posted July 3, 2023 Share Posted July 3, 2023 (edited) [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 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 Edited July 3, 2023 by QuentinM Updating the title Quote Link to comment
guipace Posted April 28 Share Posted April 28 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 Quote Link to comment
QuentinM Posted May 2 Author Share Posted May 2 Glad you are getting value from this project. Interesting, have you tried regenerating the token and/or trying the app with the generated actions/runners key? Quote Link to comment
guipace Posted May 3 Share Posted May 3 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! Quote Link to comment
Recommended Posts
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.