Clarify the Frozen variable #2481

Merged
ryanlerch merged 1 commit from clarify-frozen into main 2025-02-18 19:57:57 +00:00
3 changed files with 8 additions and 3 deletions

View file

@ -207,7 +207,7 @@ package_list =
# Rawhide adding, unblocking and blocking is allowed. # Rawhide adding, unblocking and blocking is allowed.
tag f{{FedoraRawhideNumber}} && match action add unblock block :: allow tag f{{FedoraRawhideNumber}} && match action add unblock block :: allow
# In branched blocking is allowed only before final freeze. # In branched blocking is allowed only before final freeze.
tag f{{FedoraBranchedNumber}} && match action add unblock {{ 'block' if not Frozen or FedoraBranchedBodhi != 'postbeta' else '' }} :: allow tag f{{FedoraBranchedNumber}} && match action add unblock {{ 'block' if not NextReleaseFrozen or FedoraBranchedBodhi != 'postbeta' else '' }} :: allow
# Stable releases: only adding and unblocking is allowed. # Stable releases: only adding and unblocking is allowed.
tag f{{FedoraCycleNumber}} f{{FedoraPreviousCycleNumber}} && match action add unblock :: allow tag f{{FedoraCycleNumber}} f{{FedoraPreviousCycleNumber}} && match action add unblock :: allow
# EPEL: adding, blocking, and unblocking are allowed # EPEL: adding, blocking, and unblocking are allowed

View file

@ -1,2 +1,7 @@
--- ---
Frozen: True # is the infrastructure freeze currently in place?
InfraFrozen: True
# is the pending release (Branched) currently frozen?
NextReleaseFrozen: True
# for 'backwards compatibility'
Frozen: {{ InfraFrozen }}

View file

@ -35,7 +35,7 @@ FedoraPreviousCycleNumber.yaml - number of previous stable release
FedoraPreviousPreviousCycleNumber.yaml - number of previous previous stable release or 0 FedoraPreviousPreviousCycleNumber.yaml - number of previous previous stable release or 0
FedoraPreviousPrevious.yaml - true if there is a previous previous, otherwise false FedoraPreviousPrevious.yaml - true if there is a previous previous, otherwise false
FedoraRawhideNumber.yaml - The number of the current rawhide FedoraRawhideNumber.yaml - The number of the current rawhide
Frozen.yaml - If we are frozen or not, true or false Frozen.yaml - If infra (InfraFrozen) and the pending release (NextReleaseFrozen) are frozen or not, true or false
This directory also contains variables (one per file) that are loaded into This directory also contains variables (one per file) that are loaded into
various playbooks. The first set of these is to allow templates to various playbooks. The first set of these is to allow templates to