Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Honor runners.autoscaler.delete_instances_on_shutdown
Gitlab Runner itself has a config parameter (runners.autoscaler.delete_instances_on_shutdown) which can be used to remove instances on runner shutdown. There is no need to handle this ourself, Gitlab Runner (or better taskscaler) will mark all instances to be removed before shutting down. See * https://gitlab.com/gitlab-org/fleeting/taskscaler/-/blob/f3cdb5de12a49180a8da538decd0e023b62e3a41/options.go#L220-L228 * https://gitlab.com/gitlab-org/fleeting/taskscaler/-/blob/f3cdb5de12a49180a8da538decd0e023b62e3a41/taskscaler.go#L273 Fixes sardinasystems#43
- Loading branch information