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

Organization runners #2

Open
MPV opened this issue May 27, 2020 · 1 comment
Open

Organization runners #2

MPV opened this issue May 27, 2020 · 1 comment

Comments

@MPV
Copy link

MPV commented May 27, 2020

Hi,
Interesting blog series, thanks @wayofthepie

Are you running this today, or are you using something like https://github.com/evryfs/github-actions-runner-operator/ or https://github.com/summerwind/actions-runner-controller/ nowadays?

Also, what's your thoughts on trying this for org-level runners?

@wayofthepie
Copy link
Owner

Hi @MPV, thanks!

Im not currently using self-hosted actions, we are able to get away with the public ones where I work. However this will be necessary soon enough and we will likely go with a kubernetes based approach. I wouldn't use what I have in this repo for anything other than exploring the API's 😄 it was just a way for me to better understand how the runners work.

I wish they exposed more of the internal workings, so we could build on them outside the actions-runner repo. For example if you look at a runner's config, the .runner file, it has a field serverUrl that looks something like https://pipelines.actions.githubusercontent.com/xcH99UdnlYnfqDyvmge4GBRq/. If you call this with the right credentials it will hang and time out after 60 seconds. But, this is where run request events get sent for a specific runner, so if you long poll it and test with a new build you will get an event. If this was documented better and was deemed a public API you could build true event based runners using it.

Technically you can build this now but because its not really documented, its just an implementation detail of the runners, it could break at any time. The org level runners make this an even more powerful solution. Thinking about all this again makes me want to build it out properly 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants