forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python: cli: allow mustache templates in --env* options
Problem: It would be useful to expand mustache templates in environment variable values, but this is currently not supported in the submission cli commands. When processing the `--env*` set of options, detect any provided environment variable values that appear to contain a mustache template. Return these in a separate dict from the main environ dictionary and add them to `attributes.system.shel.optionsenv-expand` in jobspec. The job shell will then expand these variables before running the job.
- Loading branch information
Showing
1 changed file
with
17 additions
and
4 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