How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Ignoring Mixin Errors and Idempotent Actions

calendar_today January 25, 2022 person domain porter

Previously, if you needed to handle an error in a bundle, you had to switch from Porter’s declarative mixin syntax to a bash script. But not anymore! The exec mixin has just added support for determining if the error returned by a command is fatal, and should stop the bundle, or if the error can be ignored. A common scenario for ignoring errors is during the install action. When an install fails halfway through, the user will try again by repeating the install command. If a resource was created…

open_in_new Read original post