From 1c066c4e421e1b51d06c350f5be26b8af47bd0b3 Mon Sep 17 00:00:00 2001 From: Emily Zheng Date: Tue, 14 Jan 2025 09:57:52 +0800 Subject: [PATCH] Check related image only for add-bundles [CLOUDDST-25504] --- src/pubtools/_quay/operator_pusher.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pubtools/_quay/operator_pusher.py b/src/pubtools/_quay/operator_pusher.py index 2afd3816..e3e865f7 100644 --- a/src/pubtools/_quay/operator_pusher.py +++ b/src/pubtools/_quay/operator_pusher.py @@ -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"])] @@ -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: