Features
cli:nops config validate <file>checks a configuration file asnops servereads it, with the same messages, and exits non-zero when it's invalid. It runs offline, so a pipeline can check the file before it reaches the server (commands, #344).engine:nops planandPOST /api/planshow what Nops would do with a change to a repository before it's merged, so a pipeline on the pull request can check it: each job's sync state, policy, hooks, meta issues and redacted diff, and the jobs the change removes. Nops writes nothing, and the command exits non-zero on an error that keeps a job from deploying. It takes the newplancapability, whichpolicy = "write"grants (planning a change, #347).meta:nops_apply_timeoutsets a job's own apply timeout, withapply_timeoutas the default. The deployment's page shows the one that applies (the apply timeout, #345).meta: abatchorsysbatchjob withnops_healthy = "running"is healthy once it runs instead of once its run is over, so its post-hooks run while it still runs. Without a Nomad deployment, a running allocation now counts once its tasks have run for 10 seconds without a restart: a job whose task fails in its first seconds fails its deployment instead of completing it (healthy, #346).
Other changes
- The dependencies are updated:
modernc.org/sqlitemoves to v1.63.0 (#343). - The image's base,
distroless/static-debian13, moves to a newer digest (#339).
Commits: v0.16.0...v0.17.0