-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Labels
bug 🐞Something isn't workingSomething isn't workinggood first issue 🥇Good for newcomersGood for newcomers
Description
Environment
Device and OS: System76 drap8
App version: v0.32.3
Kubernetes distro being used: any
Other: n/a
Steps to reproduce
- Include an action command (like
exit 1) that will fail right away without configuring maxTotalSeconds or maxRetries. - Run the associated Zarf command (i.e.
zarf package create .for the belowzarf.yaml):
kind: ZarfPackageConfig
metadata:
name: actions-error-msg
components:
- name: actions-error-msg
actions:
onCreate:
before:
- cmd: exit 1Expected result
An error message like Failed to create package: unable to add component "actions-error-msg": unable to run component before action: command "exit 1" failed displays.
Actual Result
The error message Failed to create package: unable to add component "actions-error-msg": unable to run component before action: command "exit 1" timed out after 0 seconds displays.
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
Medium
Additional Context
This causes confusion because people may be misled into believing that Zarf has timed out their command when it was the command that failed instead.
Metadata
Metadata
Assignees
Labels
bug 🐞Something isn't workingSomething isn't workinggood first issue 🥇Good for newcomersGood for newcomers
