We are excited to announce the release of Nomad Pack 0.4.2!
This one is extra special. We now have a whole dedicated team for Nomad ecosystem projects, like Pack, Autoscaler, and our Nomad Terraform provider, and we think you’ll agree that this Pack changelog reflects their enthusiasm.
Lots of CLI changes:
-
Commands now monitor deployments unless the
--detachflag is provided:run,stop,destroy. -
A
--deploy-overrideflag allows a Pack deployment to replace a job that was not created with Pack. -
You can now set exit code conditions with environment variables.
-
The
infocommand can output more complex variable types and defaults. -
HCL errors are easier to find with line and column numbers in the error message.
-
New
fmtcommand formats.tpland.hclfiles -
New
pack.pathmetadata value enables pack-relative file paths -
New
registry updatecommand modifies your local registry config -
Pack refs may now contain slashes, e.g. git tags like “pack-name/vX.Y.Z”
Some template and variable improvements:
-
Allow hyphens in namespace and region fields.
-
New
tplfunction can evaluate templates in variables. -
Support
optional()type constraint for object attributes.
A notable behavior change:
- When updating running a new version of a pack, any jobs that were removed from the pack definition will be stopped.
And of course a few bug fixes.
We hope you enjoy!
~ The Nomad Team
Links:
-
0.4.2 Changelog - https://github.com/hashicorp/nomad-pack/releases/tag/v0.4.2
-
0.4.2 Binaries - https://releases.hashicorp.com/nomad-pack/0.4.2/
-
Docker images - https://hub.docker.com/r/hashicorp/nomad-pack/tags
-
Getting Started - https://developer.hashicorp.com/nomad/tools/nomad-pack