Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
release:gen-payload write assembly report to yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiouxme committed Sep 20, 2022
1 parent 7b2bf27 commit 16483cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doozerlib/cli/release_gen_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,9 @@ def run(self):
self.payload_entries_for_arch = self.generate_payload_entries(assembly_inspector)
assembly_report: Dict = self.generate_assembly_report(assembly_inspector)

# XXX: write this to a file!
print(yaml.dump(assembly_report, default_flow_style=False, indent=2))
print(yaml.dump(assembly_report["assembly_issues"], default_flow_style=False, indent=2))
with self.output_path.joinpath("assembly-report.yaml").open(mode="w") as report_file:
yaml.dump(assembly_report, stream=report_file, default_flow_style=False, indent=2)

self.assess_assembly_viability()
self.sync_payloads() # even when not permitted, produce what we _would have_ synced
Expand Down

0 comments on commit 16483cb

Please sign in to comment.