Nomad Pack 0.4.2 released

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 --detach flag is provided: run, stop, destroy.

  • A --deploy-override flag 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 info command can output more complex variable types and defaults.

  • HCL errors are easier to find with line and column numbers in the error message.

  • New fmt command formats .tpl and .hcl files

  • New pack.path metadata value enables pack-relative file paths

  • New registry update command 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 tpl function 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:

1 Like