Set stabilization if any branch is in stabilization (CS-2523)

Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
Troy Dawson 2024-09-10 09:22:45 -07:00
parent b698f10bf3
commit 7dbbdbdef4

View file

@ -399,6 +399,7 @@ def determine_active_y_version(rhel_version, api_url):
active_y_version = -1
beta = False
in_exception_phase = False
for entry in payload:
shortname = entry["shortname"]
@ -410,7 +411,8 @@ def determine_active_y_version(rhel_version, api_url):
active_y_version = y_version
beta = bool(extra_version and "beta" in extra_version)
in_exception_phase = entry["phase"] == 450
if not in_exception_phase:
in_exception_phase = entry["phase"] == 450
logger.debug(
"Active Y-stream: {}, Enforcing: {}, Beta: {}".format(