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

Don't remove foreign runners #41

Merged

Conversation

gabriel-samfira
Copy link
Member

When garm starts up, it attempts to cleanup any orphaned runners from github. This, unfortunately ends up deleting manually set up runners. This change looks for our controller ID in the labels of the runners and only deleted runners that we created.

Fixes: #40

Signed-off-by: Gabriel Adrian Samfira gsamfira@cloudbasesolutions.com

When garm starts up, it attempts to cleanup any orphaned runners from
github. This, unfortunately ends up deleting manually set up runners.
This change looks for our controller ID in the labels of the runners and
only deleted runners that we created.

Fixes: cloudbase#40

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira merged commit 8db1f05 into cloudbase:main Oct 18, 2022
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

Successfully merging this pull request may close these issues.

garm removes externally managed runners
1 participant