From 1a0bdff268b09aa0d6b53e097366e3b63eae3bad Mon Sep 17 00:00:00 2001 From: Shylesh Kumar Mohan Date: Wed, 1 Jan 2025 12:19:46 +0530 Subject: [PATCH] Skip subctl download during deployment in case of downstream unreleased Signed-off-by: Shylesh Kumar Mohan --- ocs_ci/deployment/acm.py | 7 +++++-- ocs_ci/ocs/constants.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ocs_ci/deployment/acm.py b/ocs_ci/deployment/acm.py index 96aa8d491cb..9e3b84e5df8 100644 --- a/ocs_ci/deployment/acm.py +++ b/ocs_ci/deployment/acm.py @@ -86,8 +86,11 @@ def __init__(self): self.dr_only_list = [] def deploy(self): - # Download subctl binary in any case. - self.download_binary() + # Download subctl binary in any case except downstream unreleased. + if not ( + self.source == "downstream" and self.submariner_release_type == "unreleased" + ): + self.download_binary() if self.source == "upstream": self.deploy_upstream() elif self.source == "downstream": diff --git a/ocs_ci/ocs/constants.py b/ocs_ci/ocs/constants.py index 92ef9f9ef93..cfe6ac6917b 100644 --- a/ocs_ci/ocs/constants.py +++ b/ocs_ci/ocs/constants.py @@ -2703,7 +2703,7 @@ SUBMARINER_DOWNSTREAM_UNRELEASED_BUILD_URL = ( "https://datagrepper.engineering.redhat.com/raw?topic=/topic/" "VirtualTopic.eng.ci.redhat-container-image.pipeline.complete" - "&rows_per_page=25&delta=1296000&contains=submariner-operator-bundle-container-v" + "&rows_per_page=25&delta=12960000&contains=submariner-operator-bundle-container-v" ) SUBMARINER_BREW = "brew.registry.redhat.io/rh-osbs" SUBMARINER_BREW_REPO = "/".join([SUBMARINER_BREW, "iib"])