Skip to content

Commit

Permalink
Merge pull request #1147 from vfreex/exlucde-microshift-from-batch
Browse files Browse the repository at this point in the history
[ART-10837] Exclude microshift advisory from batch
  • Loading branch information
vfreex authored Nov 22, 2024
2 parents 8aeea02 + 335cb41 commit 5179efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyartcd/pyartcd/pipelines/prepare_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ async def run(self):

if batch:
# Update batch with advisories
advisories_for_main_batch = [ad for ad_type, ad in advisories.items() if ad_type != 'advance' and ad > 0]
advisories_for_main_batch = [ad for ad_type, ad in advisories.items() if ad > 0 and ad_type not in {'advance', 'microshift'}]
await self._ensure_batch_advisories(self._errata_api, batch, advisories_for_main_batch, self.dry_run)

if "advance" in advisories.keys():
Expand Down

0 comments on commit 5179efd

Please sign in to comment.