You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Often binaries or other files that need to be included in a Zarf package are contained inside of archives (zip / tar) and need to be extracted to be used. This currently requires an additional script or action which clutters the zarf.yaml.
Describe the solution you'd like
Given I have a zarf.yaml that specifies a file archive
Then the archive is extracted and only the internal file or directory is included in the package
And the SHASUM I provide would be that of the source archive
Describe alternatives you've considered
We could add an addition unarchive action type (similar to wait) but this action is not normally life cycle specific and likely would not make sense being done in this way.
## Description
Add support for ArchivePath which can be a file or a folder in Zarf
Package
## Related Issue
Fixes#1928
<!-- or -->
Relates to #
## Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)
## Checklist before merging
- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed
---------
Signed-off-by: Case Wylie <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
Is your feature request related to a problem? Please describe.
Often binaries or other files that need to be included in a Zarf package are contained inside of archives (zip / tar) and need to be extracted to be used. This currently requires an additional script or action which clutters the
zarf.yaml
.Describe the solution you'd like
zarf.yaml
that specifies a file archivearchivePath
Describe alternatives you've considered
We could add an addition unarchive action type (similar to wait) but this action is not normally life cycle specific and likely would not make sense being done in this way.
Additional context
Common binaries like flux are distributed this way and in use in zarf packages today: https://github.com/defenseunicorns/uds-package-dubbd/blob/6c00497870b7bed3ce1b03554705b20dda746c41/defense-unicorns-distro/zarf.yaml#L138
The text was updated successfully, but these errors were encountered: