Extend custom executor config
What does this MR do?
-
Extends the Custom Executor
config
API with two new information that can be passed to the Runner: customized hostname of the environment where the job is executed and the information about the driver (currently name and version). -
Moves the
ConfigExecOutput
structure to a separate package -gitlab.com/gitlab-org/gitlab-runner/executors/custom/api
- so the drivers may import it and use it for preparing the configuration output.
Why was this MR needed?
These changes came up while working on our initial ~"Shared Runners::Windows" implementation with the https://gitlab.com/gitlab-org/ci-cd/custom-executors/autoscaler driver.
Are there points in the code the reviewer needs to double check?
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug -
In case of conflicts with master
- branch was rebased