What's New in Etcha: v2024.03
Release notes for Etcha v2024.03.
Features
Push Targets
targets
can now be configured to create groups of push endpoints, similar to Ansible inventories or Puppet targets.
Sub Commands
Commands can now contain sub Commands. These Commands are executed within their own scope for onChange/Fail/Remove
.
Enhancements
- Added
sysinfo
tovars
, containing useful system information for Patterns and configurations to utilize. - Changed the ordering of change and remove. By default, all removes will now happen before changes. A Command can be configured for the old behavior (remove after change) using the property
removeAfter
. - Changed Commands to trigger a
remove
andchange
cycle if thechange
value is modified for an ID. SeechangeIgnore
for details on how to disable this. - Changed
exec.env
to be a map of strings. - Changed
onChange
,onFail
, andonRemove
to support RegExp values. - Changed
etcha init
to remove unrecognized files fromlib/etcha
. - Changed
etcha local
,etcha push
, andetcha test
to allow filtering for parent Command IDs for targeting and testing. - Changed
etcha local
to support rendering and running ad-hoc Jsonnet. See Render and Run for more information. - Changed
etcha push
andetcha run
to include the raw JWT as a var. - Fixed
etcha lint
not excluding directories correctly.
Removals
- Removed
sources.runAll
toggle, Patterns will always run all Commands by default.