Releasing
How to perform a release in Facets: choose Full, Selective, or Custom, use Plan or Apply, and set advanced options like refresh, force, and destroy.
The steps to perform a release. For the concepts behind release types, statuses, and scheduling, see Releases.
Perform a release
Using prompt
Release the checkout project to dev and wait for it to finish.or
Using command
raptor create release -p PROJECT -e ENVIRONMENTWithout flags this is a Full Release. --plan runs the plan and stops, leaving it to
apply later. On a CRD-driven environment, --plan and
raptor plan start a Plan and apply release instead. -t TYPE/NAME, repeatable, makes it selective. -w waits for the release
to finish and tails its logs. -m records a comment against it.
New to the CLI? Install it first.
Releasing is a two-step flow. Step 1 is where you choose what to release and how; step 2 is a review of exactly what will change.
-
Open Projects and select the required Project.
-
Select the Environments tab and select the desired Environment.
-
Click Release.
-
Under Release type, choose Full Release, Selective, or Custom. Expand Advance settings & comments to set the advanced toggles and add a comment.
-
For Selective, use Group by to list resources by Resource Type or Resource Group, then pick the resources or groups you want to deploy.
-
For Custom, add the commands to run, editing or deleting them as needed.
-
Finish step 1 with one of the buttons in the footer. Which ones you see depends on the release type:
- Plan (Full and Selective only) creates a Terraform plan and closes the flow without changing anything. You apply that saved plan later from Apply Plan in the release history, which asks you to Confirm. On a CRD-driven environment it reads Plan and apply instead, and starts a Plan and apply release after step 2.
- Review release (Full and Selective) moves you to step 2. It does not deploy anything on its own.
- Apply (Custom only) runs the release immediately. A Custom release has no Plan button and no review step.
- When you reached the drawer by retrying or repeating an earlier release, the primary button reads Retry or Repeat instead of Review release.
-
On step 2, the Review resources table lists every resource the release touches, split into affected and unchanged. Each affected resource is tagged Create, Destroy, or Modify. Expand a row to see each change with its old and new value:
- Configuration: the effective config, meaning the blueprint merged with this environment's overrides, tagged Blueprint or Override by source. Compare shows it before and after.
- Artifact: the build being replaced and the new one.
- Module: the old and new module version, each linking to the Module Registry.
- Variable: a referenced secret or variable changed. Compare shows released against current values.
The advanced toggles you set in step 1 are echoed here read-only.
-
Click Release to deploy, Back to return to step 1, or Cancel to abandon the release.
Advance settings & comments
The Advance settings & comments section is available for all release types. It is expanded by default for a Full Release and collapsed for Selective and Custom.
The advanced toggles are:
- Refresh: When enabled, the release will detect any infrastructure drifts and update resource information in the backed-up database. Scheduled releases refresh unless one refreshed in the past 12 hours, and a full release started through the API refreshes by default. Releases from the web UI or the Praxis CLI refresh only when you turn Refresh on.
- Force: Runs the release even if Facets detects no pending changes for the environment. Useful for re-applying an unchanged blueprint, for example to recover from a partially-applied or drifted state.
- Allow destructive action: Lets the release destroy protected resources such as databases, Kubernetes clusters, and node groups, which modules guard with a Terraform
prevent_destroylifecycle rule. Facets gates it behind a separate permission, granted per release type.
The same section carries an optional Comment field, which is recorded against the release.
The three toggles are flags on raptor create release: --with-refresh, --force, and --allow-destroy. The comment is -m.
Plan and apply releases
A Plan and apply release plans, waits at a gate for approval, then applies exactly that plan, as one release. It runs only on CRD-driven environments: those whose project type is marked CRD-driven (Ops Center > Project Types) and that are on a facets-iac release stream.
Using prompt
Plan a selective release of service/api to prod and wait for my approval before applying.or
Using command
raptor create release -p PROJECT -e ENVIRONMENT -t service/api --plan -w
raptor approve release RELEASE_ID -p PROJECT -e ENVIRONMENT-w returns when the plan reaches the gate. approve release applies the plan, and
reject release with the same arguments stops it.
New to the CLI? Install it first.
- Start the release with Plan and apply (step 7 above).
- When it reaches the gate, open it and review the plan.
- Click Apply the plan, in release history or the release details, and confirm. Only the newest release can continue.
To stop it instead, choose Reject from its row actions.
| To | Needs |
|---|---|
| Start one | Plan Release, or Full Release or Selective Release |
| Approve, which applies the plan | Apply Release Plan, plus Allow Destroy for Full Release or for Selective Release if the release allows destroy |
| Reject | Apply Release Plan, or Release Approve/Reject |
Rejecting ends the release, as at any approval gate.
What marks a resource pending
Facets marks a resource pending when its effective config, artifact, module version, or referenced secrets and variables changed since its last release, or when it was enabled or disabled.
- Module versions count for custom modules only. Re-publishing one, or re-uploading a preview build, marks every resource using it pending in every environment, except resources inherited from a base environment. An identical preview re-upload can still do this.
- Module, secret and variable changes count only where the environment's IaC version reports them. Older versions don't; upgrade under Manage IaC.
- Until the environment's next sync recomputes the effective config, Facets compares blueprint commit and override version instead, so a resource can show pending with an unchanged config.
Once a release is running, see Deployment details for its status, changes, logs, and artifact tracking.
Pre-Release Hook Script Reference
The exit-code contract, release-context JSON schema, and working Python and Shell samples for hand-written Facets pre-release approval hooks.
Deployment Details
View a Facets release: status, timestamps, Terraform changes, app deployments, logs, sign-off, plus CRD phases and deployed artifact tracking.