-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(exec source): add support for customizing command environment (#…
…18223) * feat(exec source): add support for customizing command environment This commit adds support to the `exec` source for: * Setting or updating environment variables for the command before running. * Clearing all environment variables for the command before setting/updating custom ones (if any). The combination of both options allows to create a fully controlled environment for the command. Signed-off-by: Hugo Hromic <hhromic@gmail.com> * Rename `clear_env` option to `clear_environment` * Add `configurable` macros for docs generation * Regenerate docs using vdev build component-docs * Add tests for the new options --------- Signed-off-by: Hugo Hromic <hhromic@gmail.com>
- Loading branch information
Showing
2 changed files
with
126 additions
and
0 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