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

[bounty] self hosted runner on cloud #566

Open
louis030195 opened this issue Oct 22, 2024 · 2 comments
Open

[bounty] self hosted runner on cloud #566

louis030195 opened this issue Oct 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@louis030195
Copy link
Collaborator

github action runner are trash and i got charged $50 for a single run of their bigger runner

we want to use cloud, like GCP kubernetes or something like this to speed up things and stop crashing because out of storage

need more precision but should be a one liner for us like a script that create a cluster and setup things for github ideally

bounty TBD

@louis030195 louis030195 added the enhancement New feature or request label Oct 22, 2024
Copy link

linear bot commented Oct 22, 2024

@Neptune650
Copy link
Contributor

Neptune650 commented Oct 22, 2024

github action runner are trash and i got charged $50 for a single run of their bigger runner

we want to use cloud, like GCP kubernetes or something like this to speed up things and stop crashing because out of storage

need more precision but should be a one liner for us like a script that create a cluster and setup things for github ideally

bounty TBD

Well this can't be done with a single one liner because the process varies between OSes...
So what exactly do you wish to do

Generally though, it boils down to:

  • Creating a server in whatever cloud service, logging into it through SSH. (can be done through an API)
  • Install the GitHub runner application via SSH
  • Get a config token through the GitHub UI or use the GitHub API POST endpoint which is /repos/{owner}/{repo}/actions/runners/registration-token
  • Run the config program with the token and GitHub repo:
    ./config.sh --url https://github.com/octo-org --token TOKEN

And the self-hosted runner should be set-up, but the Actions files would still have to be modified after this to use the self-hosted runner of course. Also needs some other minor stuff like proper permissions and directories and so on.

I could implement this for you, but please clarify the question above regarding different OSes first, and also what cloud service would be used exactly.

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

No branches or pull requests

2 participants