Closed annapoorna-s-alt closed 3 weeks ago
Testing output on starlord- https://gist.github.com/annapoorna-s-alt/981715de25d248527c7200d50398c731
Adding unit tests are pending
Core functionality is tested. Need to update the unit tests for the same.
@annapoorna-s-alt - Would take the ticket forward, as she has tested the draft PR
Output of testing other fields in the boot_sets support Jinja2 rendering - https://gist.github.com/annapoorna-s-alt/981715de25d248527c7200d50398c731#file-expand-other-fields-with-jinja
Output of testing other fields in the boot_sets support Jinja2 rendering - https://gist.github.com/annapoorna-s-alt/981715de25d248527c7200d50398c731#file-expand-other-fields-with-jinja
This testing looks good.
/backport release/3.32
Backporting into branch release/3.32 was successful. New PR: https://github.com/Cray-HPE/sat/pull/284
Summary and Scope
Make the following fixes:
boot_set
property fromBaseInputItem
. It is not appropriate there, and it is redundant withboot_sets
property that already exists in theInputSessionTemplate
jinja_rendered
decorator to recursively render more complex objects like lists and dictionaries. I think this is safe, but we should consider any edge cases more carefully.rootfs_provider_passthrough
in theboot_sets
.Could still use unit test enhancements that test this new ability to render fields in the boot_sets.
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.
Testing
List the environments in which these changes were tested.
Tested on:
Test description:
How were the changes tested and success verified? If schema changes were part of this change, how were those handled in your upgrade/downgrade testing?
Tested on a simple bootprep input file that used a variable in the
rootfs_provider_passthrough
field of a boot set in a BOS session template.Risks and Mitigations
Low
Pull Request Checklist