-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runner: Centralize handling of hostenv and pass it via extra_env
The hostenv concept in the runner code predates the extra_env concept, and, unlike extra_env which is centralized thru the runner dispatcher, hostenv was handled independently by each runner.¹ By centralizing hostenv handling in the runner dispatcher and making it just another (automatic) part of extra_env, we simplify the runners, improve the security/visibility of the values in hostenv thru the recent improvements to extra_env handling, and make it easier to eventually deprecate/remove hostenv entirely. ¹ The reasoning at the time was that hostenv forwarding was only needed for containerized runners, and so the ambient (née native) runner didn't need to use it.
- Loading branch information
Showing
4 changed files
with
10 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters