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

Documentation about how to set up self-hosted runners #212

Open
LastStarDust opened this issue Mar 6, 2024 · 2 comments
Open

Documentation about how to set up self-hosted runners #212

LastStarDust opened this issue Mar 6, 2024 · 2 comments

Comments

@LastStarDust
Copy link

First of all thank you for developing such a useful action.

It works flawlessly for github runners but I am having trouble for a non ephemeral self-hosted runner.

By reading some issues, I came to understand that self-hosted runners need some manual configuration, like setting up the known hosts file and such.

While I could figure it out on my own with some effort, it would be much appreciated if the README file explained the steps needed to set up self-hosted runners.

@chufnagel
Copy link

Seconded, also experiencing issues with non-ephemeral self-hosted runners. @LastStarDust what manual configuration did you need to perform if you're able to share?

@LastStarDust
Copy link
Author

LastStarDust commented Mar 18, 2024

I had to reset the SSH and git configuration of the self-hosted runner and then I had to manually copy the private SSH keys with appropriate names. Moreover I had to modify the following snippet with the correct user name of the runner.

RUN sed 's|/home/runner|/root|g' -i.bak /root/.ssh/config

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