Skip to content

Commit

Permalink
Check related image only for add-bundles [CLOUDDST-25504] (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyzheng authored Jan 14, 2025
1 parent 59d47f0 commit 1669a2b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pubtools/_quay/operator_pusher.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,6 @@ def pubtools_iib_get_common_args(
"iib_overwrite_from_index_token"
]

if target_settings.get("check_related_images"):
args += ["--check-related-images"]

if target_settings.get("iib_build_timeout"):
args += ["--build-timeout", str(target_settings["iib_build_timeout"])]

Expand Down Expand Up @@ -307,6 +304,8 @@ def iib_add_bundles(
)
args, env_vars = cls.pubtools_iib_get_common_args(target_settings)

if target_settings.get("check_related_images"):
args += ["--check-related-images"]
if index_image:
args += ["--index-image", index_image]
if bundles:
Expand Down

0 comments on commit 1669a2b

Please sign in to comment.