This release includes several bug fixes and improvements, and a major new feature: Dev mode for local services! This is very useful when you want to run one or more services locally with Garden during development.
Many thanks to @ohookins for his contribution to this release.
See the changelog in the release notes for the full list of changes introduced in this release.
exec service is deployed in dev mode, Garden assumes that the service’s
command starts a persistent process and does not wait for it return. The logs from the process can be retrieved via the
garden logs command as usual.
statusCommand is set for the service, Garden will wait until it returns a zero exit code before considering the service ready. Otherwise it considers the service immediately ready.
All in all, this makes it a lot more convenient to work with locally-running services in Garden. A great use-case for this is to run one or more services locally while also deploying other services to a Kubernetes cluster. In many cases, this can lead to faster testing and debugging when rapidly iterating on services.
We will be writing a how-to guide for this functionality soon, but in the meantime, please check out the updated reference documentation for the
exec module type.