What's New in Etcha: v2024.03
Release notes for Etcha v2024.03.
Features
Push Targets
Config > 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
sysinfoto Config >vars, 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
removeandchangecycle if thechangevalue is modified for an ID. SeechangeIgnorefor details on how to disable this. - Changed env to be a map of strings.
- Changed
onChange,onFail, andonRemoveto support RegExp values. - Changed
etcha initto remove unrecognized files fromlib/etcha. - Changed
etcha local,etcha push, andetcha testto allow filtering for parent Command IDs for targeting and testing. - Changed
etcha localto support rendering and running ad-hoc Jsonnet. See Render and Run for more information. - Changed
etcha pushandetcha runto include the raw JWT as a var. - Fixed
etcha lintnot excluding directories correctly.
Removals
- Removed runall toggle, Patterns will always run all Commands by default.