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

[QUESTION] How do i remove the runner before deleting the pod #27

Open
sairam9994 opened this issue Sep 22, 2023 · 1 comment
Open

[QUESTION] How do i remove the runner before deleting the pod #27

sairam9994 opened this issue Sep 22, 2023 · 1 comment
Labels
question Further information is requested

Comments

@sairam9994
Copy link

Question

We've enabled HPA Autoscaling for github shared runner. Based on the workflow request from label, New pod is going to create. Once the workflow executed successfully, Pod is getting deleted but Runner is still showing at Org level as "Offline". I see there is function called remove in register.sh file but how do i call that function before deleting the pod. Any suggestions here?

@sairam9994 sairam9994 added the question Further information is requested label Sep 22, 2023
@sairam9994 sairam9994 changed the title How do i remove the runner before deleting the pod [QUESTION] [QUESTION] How do i remove the runner before deleting the pod Sep 22, 2023
@sairam9994
Copy link
Author

Trap command as part of entrypoint.sh file was not working as part of removal process. Any other suggestions.

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

No branches or pull requests

1 participant