-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRAYSAT-1896: Add Jinja2 template support to more bootprep fields
Add support for Jinja2 template rendering to several more properties in the `sat bootprep` input file. The following properties now support Jinja2 templating: - configurations[].layers[].git.commit - configurations[].layers[].git.url - configurations[].layers[].product.commit - All properties under images[].base.ims - session_templates[].image.ims.id Allowing Jinja2 template rendering for these fields is helpful in writing automated test cases for `sat bootprep` that can run on any system. These values will vary from system to system, so it's helpful to pass this information in to the bootprep input file as a variable. Test Description: Added unit tests pass. Will also be tested on a system with bootprep input files that use Jinja templates in these properties.
- Loading branch information
1 parent
054e7bd
commit 49b5c01
Showing
6 changed files
with
158 additions
and
2 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
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