Skip to content

Commit

Permalink
[konflux] Fail when SBOMs can't be accessed
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwindasr committed Dec 2, 2024
1 parent 2edf740 commit 9ccd9ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doozer/doozerlib/backend/konflux_image_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ async def _get_for_arch(arch):
return source_rpms

results = await asyncio.gather(*(_get_for_arch(arch) for arch in arches))
if None in results:
raise ChildProcessError("Could get data from SBOM")
installed_packages = set()
for srpms in results:
installed_packages.update(srpms)
Expand Down

0 comments on commit 9ccd9ee

Please sign in to comment.