-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Add PATH parameter handling logic to preprocess_job_parameters…
…() (#39) * Add parameters job_template_dir, current_working_dir, and allow_job_template_dir_walk_up. * When resolving parameters: * PATH parameter defaults that are relative paths are joined with job_template_dir. * PATH parameter values that are relative paths are joined with current_working_dir. * Empty ("") PATH parameter values are passed through, so they can be used as a "not providing any value" signal. The value "." is what to use where a path is intended. * If allow_job_template_dir_walk_up is False, then: * PATH parameter defaults cannot be absolute paths. * Relative PATH parameter defaults cannot walk up out of job_template_dir. * The provided job_template_dir must be an absolute path. Signed-off-by: Mark Wiebe <399551+mwiebe@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
392 additions
and
21 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
Oops, something went wrong.