IMPROVEMENTS:
- deps: Update the Nomad OpenAPI depedency [GH-288] and require Go 1.18 as a build dependency
- template: Render other templates than jobspecs inside
templates/
[GH-303] - template: Automatically format templates before outputting [GH-311]
- template: Skip templates that would render to just whitespace [GH-313]
FEATURES:
- Generate Sample Pack or Registry - Using the
nomad-pack generate
command, you can get started writing your own pack or building your own pack registry using built-in starting artifacts.
BUG FIXES:
- cli: Add missing --name flag for status command [GH-212]
- cli: Remove duplicate
this
in some command outputs [GH-251] - cli: Use Pack metadata
Name
in error context once known [GH-217] - cli: Fixed a panic in the
info
command when outputting a variable with a nil type [GH-254] - cli: Fixed a bug that prevented the use of map of maps variables [GH-272]
- runner: Update runner to properly handle dependencies [GH-229]
IMPROVEMENTS:
- cli: Add flags to configure Nomad API client [GH-213]
- template: Add support for custom Spew configurations. [GH-220]
- template: Create a
my
alias for the current pack [GH-221] - cli: Add flags to override exit codes on
plan
command [GH-236] - cli: Add environment variables to configure Nomad API client [GH-230]
- deps: Update the Nomad OpenAPI dependency [GH-270]
FEATURES:
-
Run Pack from Folder - Nomad Pack can run and render packs stored in the current folder. For example, if the current folder contains a pack named
simple-service
, you can run it usingnomad-pack run ./simple-service
. -
Set Nomad Pack variables using environment variables - Pack reads the environment for variables prefixed with
NOMAD_PACK_VAR_
and supplies them to the running pack.
BUG FIXES:
- template: Handle HEREDOC delimiter immediately before EOF [GH-191]
- cli: display API client errors in CLI output [GH-183]
- cli: add flags to
info
command help output [GH-200] - cli: fix panic from bad registry metadata [GH-202]
IMPROVEMENTS:
- cache: Moved the pack registry cache to the platform-specific user cache directory [GH-172]
- cli: Don't build pack registry cache during the
version
command [GH-128] - cli: Support Nomad ACLs and mTLS configuration [GH-177, GH-205]
- cli/plan: Run template canonicalization before planning to fix diffs [GH-181]
- dependencies: Removed direct import of Nomad code base [GH-157]
- template: Added
toStringList
function [GH-136] - template: Update Sprig library to v3 [GH-197]
Initial release.