Approvals And Deployments
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
One of the strongest parts of the Nomatron GUI is the visibility it gives into change flow.
This is where operators and app teams usually:
- inspect new plans;
- review approval requirements;
- approve or reject changes;
- follow applies to completion;
- promote between environments;
- roll back to a prior healthy release in the same environment; and
- destroy live Nomad runtime jobs without deleting Nomatron configuration.
Nomatron environments are app-level deployment targets. The GUI should show deployments in terms of the app stack or app job being deployed into a target app environment.
The Basic Flow In The GUI
Although exact labels may change over time, the core lifecycle is usually:
- source change detected;
- plan or render created;
- approval requirement evaluated;
- approval granted or denied;
- apply executed; and
- deployment history recorded.
A deployable app needs at least one environment before the GUI can create a plan or apply. If no environment is selected for a normal deployment, Nomatron uses the first app environment by priority.
The GUI is useful because it makes that flow visible in one place rather than forcing users to piece it together from Git, Nomad, and logs independently.
Reviewing Plans
Before approving a change, use the GUI to inspect:
- the target app and job;
- the environment;
- the rendered configuration if the job is template-based;
- the plan output or diff; and
- any validation or execution errors already visible.
This is the point where the GUI often adds the most value compared with a raw API call.
Understanding Approval State
The approval view should tell you:
- whether approval is required;
- which policy caused it;
- how many approvals are needed; and
- whether the current user is allowed to approve.
If approval is blocked unexpectedly, the most common causes are:
- you are in the wrong environment;
- the active approval policy differs from what you expected; or
- your current RBAC role does not include approval authority.
Watching Applies
Once approval is granted, the GUI becomes the main place to follow execution progress.
Typical things to watch:
- whether the apply has started;
- whether it reaches a successful terminal state;
- whether any deployment or Nomad-side error is surfaced; and
- whether the final state matches what the plan promised.
This is also where the GUI helps bridge the gap between high-level control-plane status and deeper troubleshooting.
Promotion Between Environments
For multi-environment apps, the GUI is usually the easiest place to follow promotion.
Use it to confirm:
- the source environment that already deployed successfully;
- the target environment you are promoting into;
- the approval policy for the target environment; and
- that the resulting run uses the target environment’s variables and rules, not just a replay of the source environment.
Promotion is where the GUI really shows the value of combining environments, variables, approvals, and deployment history in one interface.
Promotion should follow the app environment order. Once the first environment has a successful release, the main forward action is promotion to the next environment. A new deployment or redeployment to the first environment should remain available at any point, even when a previous release has only reached an intermediate environment.
Rollback In The Same Environment
Use the job overview environment actions to roll back to a prior healthy release in that environment.
The GUI lists healthy rollback candidates (excluding the current head), defaults to the previous healthy release, and creates an approval-gated plan that replays the prior rendered jobspec. After apply, provenance shows as Rollback · <short-sha> and a Rolled back badge can appear next to the environment status.
Rollback is not promote-in-reverse. Cross-environment movement still uses promote. See Operations .
Destroy Runtime
Destroy plans stop and purge live Nomad jobs while keeping Nomatron app, job, environment, approval, release, and audit history intact. Use destroy when you want to remove runtime, not when you want to delete platform configuration.
Rendered Job Tab
Job pages include a Rendered job tab for TEMPLATE and NOMAD jobs. Use it to inspect the HCL or JSON Nomatron will plan or apply before you approve.
What To Look For During Troubleshooting
If a deployment flow is not behaving as expected, the GUI is the best first stop for answering:
- did Nomatron see the source change?
- did a plan actually get created?
- did template rendering succeed?
- is approval blocked or simply still pending?
- did apply start?
- did apply fail before or after reaching Nomad?
Once you know which stage failed, you can move to the CLI, API, server logs, or Nomad tooling with much more confidence.
Best Practices
- Review plans in the GUI even when the change originated elsewhere.
- Treat approval state as policy output, not as an informal team convention.
- Check the target environment carefully before approving or promoting.
- Use the GUI to confirm outcomes after automation or Terraform-driven configuration changes.
- Keep audit and deployment history visible during high-risk rollouts.