Breaking changes
config:nops servereads its options from the-configfile. Only-config,-listen-addr,-public-url,-db-path,-nomad-addrand-log-levelstay flags. Nops refuses to start without anauthblock, or with any other flag orNOPS_*variable, and names the attribute that replaces it. Move them as the upgrade notes say (configuration, #325, #326, #327, #331, #332, #333).
Upgrade notes
- Write the
-configfile with what your flags and variables set, each secret in the file a*_fileattribute names. Three names keep what Nops has recorded:repository "default"for the repository of-git-url, so the deployments keep their repository;auth "oidc"orauth "basic", so the binding rules keep matching; anotifyblock named after its type, such asnotify "slack", so theadapterlabel ofnops_notifications_failed_totalkeeps its value. - In the Nops job, remove the other flags and variables, pass
-config, and move the image to0.16. The example job shows the result.
Features
config: twonotifyblocks of the same type can run side by side, each with its own timeout (notifications, #325).config: eachNOPS_*variable thatnops servestill reads is deprecated, and logs a WARN at start naming the attribute that replaces it (rules, #334).engine: afterspec_retention, 30 days by default, a deployment that has ended loses its job spec, its file and var-file, and its hooks' specs, except the latest completed one of each job. The database and its backups no longer grow for good, nor keep secrets that nothing reads. The plan diff, the events, and the hook runs stay. The first detection cycle after the upgrade drops the specs of the deployments that ended over 30 days ago: setspec_retention = "0"before upgrading to keep them (storage, #335).- Dismiss an orphan job from its page, the Overview, the API, or
nops dismiss: Nops stops reporting it and leaves it running, until a new deployment of the job completes. It takes the newdismisscapability, whichpolicy = "write"grants (orphan jobs, #336).
Other changes
- The dependencies are updated:
golang.org/x/cryptomoves to v0.59.0 (#330). - The image's base,
distroless/static-debian13, moves to a newer digest (#328).
Commits: v0.15.4...v0.16.0