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
kind: ZarfPackageConfig
metadata:
name: no-cluster-pkg
version: 0.0.1
variables:
- name: COUNTRY
default: Scotland
components:
- name: echo
required: true
actions:
onDeploy:
before:
- cmd: echo "Unicorns are the national animal of "${ZARF_VAR_COUNTRY}""
Build the Zarf pkg and push to an OCI registry
Pull the pkg down and deploy
Expected result
The package deploys successfully!
Actual Result
Pulling the Zarf pkg down and running zarf p deploy zarf-package-no-cluster-pkg-arm64-0.0.1.tar.zst yields:
ERROR: Failed to deploy package: unable to load the Zarf Package: unable to get a list of components...
open /var/folders/sf/_jrk8zgs5tg33r_h1gzh_6t40000gn/T/zarf-2374842217/components: no such file or
directory
Additional Context
At some point in the OCI reg, the components folder is removed from the Zarf pkg because it is an empty folder that a digest can't be computed for, so it's left out of the Zarf tarball artifact.
## Related Issue
Fixes#1963
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
---------
Signed-off-by: razzle <harry@razzle.cloud>
Co-authored-by: Wayne Starr <Racer159@users.noreply.github.com>
Environment
Device and OS: Mac m1
App version: v0.28.3
Steps to reproduce
Given the following
zarf.yaml
:Expected result
The package deploys successfully!
Actual Result
Pulling the Zarf pkg down and running
zarf p deploy zarf-package-no-cluster-pkg-arm64-0.0.1.tar.zst
yields:Additional Context
components
folder is removed from the Zarf pkg because it is an empty folder that a digest can't be computed for, so it's left out of the Zarf tarball artifact.The text was updated successfully, but these errors were encountered: