Making timeout to acquire a new instance configurable within gitlab-runner
Description
Currently it seems that it is not possible to configure the timeout while an instance gets acquired from the autoscaler. For that a "TODO" was added into the executor.go file stating that this could be added later on. https://gitlab.com/gitlab-org/gitlab-runner/-/blame/main/executors/internal/autoscaler/executor.go?ref_type=heads#L35
Proposal
It should be possible to make that timeout as an option available within the config.toml. Therefore if you are working e.g. with windows instances you can set this to longer periods or decrease the standard value of 15 minutes for faster instances.
Links to related issues and merge requests / references
Info
Moritz Scheve moritz.scheve@mercedes-benz.com, Mercedes-AMG GmbH Provider Information