github garden-io/garden 0.12.28

latest releases: 0.13.41, edge-bonsai, 0.13.40...
2 years ago

Garden 0.12.28 is out! 🎉

This release includes several bug fixes, and a few new features.

Many thanks to @mattpolzin for his contribution to this release.

Happy hacking!

Two-way-resolved option for dev mode syncs

This new two-way sync mode ensures that local changes always win out when the local and remote versions conflict.

Allow sparse arrays in more config fields

We now allow sparse arrays for many more config fields, such as services[].args (and command) and in workflow step commands.

This can now be done in most places where arrays of strings are provided in configuration.

For example, this will now work in a workflow step command (where the step command will be run without additional arguments if var.serviceNames is null):

[deploy, ${var.serviceNames ? var.serviceNames : null}]

This makes it easier to implement highly dynamic configuration and reduce repetition in certain cases.

--force flag for dev command

This flag force-deploys services when the command starts (but after that, doesn't force-deploy them on source changes).

Changelog

Bug Fixes

  • core: fix test dependencies for dev command (930b59a3)
  • k8s: harbor registry support (#2619) (edd5e3f4)
  • cli: ensure help exits with code 0 (9fb6a6ef)
  • core: fix task batch partitioning algorithm (5625e79d)
  • k8s: uncaught error when trying to patch namespace resource (2ba8f6dd)
  • k8s: fix port-forward error handling (0c859255)

Features

  • core: add --force flag to dev command (4312152d)
  • cloud: emit session events on exit (04f58d54)
  • core: allow sparse arrays for more fields (b286373c)
  • k8s: add two-way-resolved option for dev mode syncs (6371af0d)

Don't miss a new garden release

NewReleases is sending notifications on new releases.