mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 16:22:55 +00:00
Set stabilization if any branch is in stabilization (CS-2523)
Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
parent
b698f10bf3
commit
7dbbdbdef4
1 changed files with 3 additions and 1 deletions
|
@ -399,6 +399,7 @@ def determine_active_y_version(rhel_version, api_url):
|
||||||
|
|
||||||
active_y_version = -1
|
active_y_version = -1
|
||||||
beta = False
|
beta = False
|
||||||
|
in_exception_phase = False
|
||||||
for entry in payload:
|
for entry in payload:
|
||||||
shortname = entry["shortname"]
|
shortname = entry["shortname"]
|
||||||
|
|
||||||
|
@ -410,7 +411,8 @@ def determine_active_y_version(rhel_version, api_url):
|
||||||
active_y_version = y_version
|
active_y_version = y_version
|
||||||
beta = bool(extra_version and "beta" in extra_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(
|
logger.debug(
|
||||||
"Active Y-stream: {}, Enforcing: {}, Beta: {}".format(
|
"Active Y-stream: {}, Enforcing: {}, Beta: {}".format(
|
||||||
|
|
Loading…
Add table
Reference in a new issue