Freezes
Hold deploys to the places you choose for a period or on a weekly schedule, such as a peak week or every Friday afternoon.
A freeze holds deploys to a set of deployments for a period: a peak sales week, a database migration, the afternoon before a long weekend. While it is active, a snapshot that would reach a covered deployment is held and not applied, and the person who pushed can see which freeze did it and why. Freezes are a kind of guardrail, so the same model, Guardrails, covers them.
You can freeze once, or on a repeating weekly schedule. For hours when an environment should not change every day, a freeze is also the tool that works today: an environment's deploy window is stored but does not yet stop an apply.
How a freeze holds a deploy
A freeze is not a rule of its own. Wardn works out which freeze is active for a deployment and exposes it as a fact. The built-in guardrail Org freezes asks that no freeze is active:
Guardrail "Org freezes" holds this snapshot: No deploys during freezes (Black Friday).So a freeze holds a deploy only while Org freezes is in Enforce mode. If you switch it to Warn only or Off, freezes are recorded and hold nothing. The guardrail can be changed but not renamed or archived. Because it is a guardrail, an exception to it lets one place keep deploying through any freeze.
A snapshot held by a freeze is stored and shown as held, with the freeze's reason; nothing applies it by itself when the freeze ends. Pushing again renders a new snapshot, which is judged afresh. A step of a release that meets a freeze waits and looks again, rather than failing. A restore is not held unless the freeze says so (Freezes and restores), so a restore is a way to go back during a freeze. To get one snapshot through a freeze, a person with release:bypass bypasses it once.
Create a freeze
Open Guardrails › Freezes and choose New freeze.
Under Details, give it a Name (up to 80 characters) and a Reason. The reason is shown to anyone the freeze blocks, so write it for them.
Under Covers, add conditions the same way as in a guardrail's Applies to: environment class, environment, cluster label, app, team or pipeline. The chips below show how many deployments, apps and clusters it holds. An empty list covers everything.
Under When, choose One time or Recurring, then Starts, Ends and a Time zone. For a recurring freeze the form reads the first occurrence and repeats it weekly: it says, for example, "Repeats every Friday from 14:00 to 23:59."
Set Releases already rolling out to Pause at the next wave or Let them finish. Tick Also hold restores only if restores should stop too. Optionally fill in Who can bypass and Notify, and choose Create freeze.
Fields
| Field | Meaning |
|---|---|
kind | one_time needs endsAt, after startsAt. recurring repeats on the schedule; endsAt then ends the series, and leaving it out repeats without end. |
schedule | For a recurring freeze: days (mon to sun, each once) and start and end as HH:MM, the end after the start. A window does not cross midnight, and 24:00 is the end of the day. |
timeZone | utc, org (the organization's time zone), cluster or an IANA name such as Europe/Berlin. cluster ("Each cluster's local time") is read as the organization's zone, because clusters carry none yet. The web form's wall-clock times are turned into instants in the zone you choose, daylight saving time included. |
scope | Conditions as in a guardrail, all of which must hold. |
runningReleases | pause or finish. Stored and shown. A release's later steps wait while a freeze covers them whichever you choose; nothing yet pauses a wave in progress. |
appliesToRestores | true makes the freeze hold restores too. Off by default; see Freezes and restores. |
bypass | Rows of who, bypass, request or never, and a note of what they need. Who and what they can do are enforced: see Who may still deploy. The needs text is a note shown to the person asking; the server does not enforce it, a bypass always needs a reason. |
notify | Who is told and when. Sent: see Who is told. |
The Freezes list
The tiles count Active, Planned, Recurring and Ended, and double as tabs. Each row shows the freeze and its reason, what it Covers, When ("Nov 26 18:00 → Nov 30 06:00 UTC", "Fridays 14:00–23:59 local"), Who can bypass and a status: "Active · until Mon 06:00", "Recurring · Fri 14:00", "Planned · in 32 days" or "Ended Nov 12". Use Edit, or View for an ended freeze. An environment's Guardrails tab lists the freezes that cover it.
To cancel a freeze early, use POST /freezes/{id}/cancel: it stops holding at once and is shown as ended. The web app has no cancel button yet.
Who may still deploy
A freeze can be got past in three ways, none of which edits the freeze:
- An exception to Org freezes leaves a place out of every freeze for as long as it lasts.
- A one-time bypass lets one held snapshot through. A person who holds
release:bypassbypasses it directly, and anyone else withrelease:raiseasks and a holder grants it under Approvals › Bypass requests. It skips the freeze for that snapshot only, and Activity records who and why. See One-time bypass. - A restore, if the freeze does not hold restores.
The freeze's Who can bypass table is read by the server. A person must hold release:bypass and also be named by a row of every active freeze that holds the snapshot: a row can name a team or group of the organization, an organization role (owner, admin, member), Agents, Everyone else (everyone no other row names), or one person by id as user:<id>. Rows are resolved to ids and roles when the freeze is saved and matched by those, never by display name or address; a row that names none of these is refused (freeze.bypass_who). A freeze saved before this keeps its rows unresolved, which name no one, until it is saved again. Where several rows name someone, the most permissive wins. Bypass lets them bypass and grant a request; Request a bypass lets them ask but not grant; Never lets them do neither. A step the table does not allow is refused with 403 freeze.bypass_refused and written to Activity as freeze.bypass_refused, as a granted bypass is. A freeze with no rows asks nothing beyond the duty. The one exception is an incident break-glass restore or release, the documented emergency route: it stays allowed outside the table, and is audited and announced as a bypass. A plain restore bypass, or a release bypass without an incident, passes the table like any other.
Who is told
Notify rows are sent through the notification system: the teams that own what the freeze covers, a named team, the authors of releases it would hold up, and Slack channels (Slack #releases). When is a lead (24 hours, 3 days or 1 week before it starts), when it starts and ends, or as soon as it is saved; a recurring freeze tells people again each week. Everyone in the table is also told when someone gets a snapshot past the freeze, once, with who and why. The calendar feed already carries every freeze, so that row sends nothing. People named get a notice in their inbox; channels get a message.
To keep agents out of a freeze, give the guardrail requirement Only a person can promote when set to freeze.
The recurring form reads the first occurrence and repeats it every week. If you need a freeze on several days, or different hours on different days, use the API and give it an explicit schedule.
Freezes and restores
A freeze holds releases. It holds restores only if you tick Also hold restores (appliesToRestores in the API), which is off by default, because a restore is how an incident ends. The built-in Org freezes guardrail governs restores too, and each freeze then decides for itself, so a freeze that holds restores needs no other guardrail.
When a freeze holds a restore, the restore dialog lists it under Rules and the restore is blocked. Someone who holds restore:bypass can restore past it with a reason, and with a linked open Sev 1 or 2 incident that is a break-glass restore, recorded in Activity and sent to the notification routes. See Restore and rollback and Guardrails.
Permissions
| Action | Permission |
|---|---|
| See freezes | guardrail:read |
| Create, change, cancel | guardrail:manage on the organization |
| Bypass a freeze for one snapshot | release:bypass |
| Restore past a freeze that holds restores | restore:bypass |
Freezes follow the same visibility rules as guardrails: a freeze whose scope names a place you cannot see hides that part of it (Who sees what).