You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was wondering if there is a way to tell cirunner to unregister a runner, maybe adding a "ensure absent" parameter, or something like that.
Is something feasible/useful/planned?
If yes, I could have a look at it
The text was updated successfully, but these errors were encountered:
This is probably not easily possible as there would have to be communication with the Gitlab API. This is not yet implemented and also not planned in the near future. If you want to work on this, I'll be happy to see a pull request.
The new runner has gitlab-runner unregister --name value so you may be able to collect up all the names of you runners and add them to a file somewhere and then unregister any that dont appear in it.
I use the folloowing in my profile to clean up old runners. It doesnt unregister but you can delete them from the UI and then the module will recreate them with the updated config.
Hi,
I was wondering if there is a way to tell cirunner to unregister a runner, maybe adding a "ensure absent" parameter, or something like that.
Is something feasible/useful/planned?
If yes, I could have a look at it
The text was updated successfully, but these errors were encountered: