ssg.build_sce module
- class ssg.build_sce.SCEBuilder(env_yaml, product_yaml, template_builder, output_dir)[source]
Bases:
object
- ssg.build_sce.load_sce_and_metadata(file_path, local_env_yaml)[source]
For the given SCE audit file (file_path) under the specified environment (local_env_yaml), parse the file while expanding Jinja macros and read any metadata headers the file contains. Note that the last keyword of a specified type is the recorded one.
- Parameters:
file_path (str) – The path to the SCE audit file
local_env_yaml (dict) – The local environment dict
Returns (audit_content, metadata).