Skip to content

Improve ergonomics of "zarf init" for those building from source #5298

Description

@bradclawsie

Is your feature request related to a problem? Please describe.

Building zarf from source, I was unable to naively run zarf init.

Describe the behavior you'd like

  • Given a user building zarf from source, obtaining a binary instrumented with the commit hash
  • When that user attempts to run zarf init
  • Then the corresponding init pkg will not be found, as the commit hash of the built zarf binary will be part of the oci reference.

Describe alternatives you've considered

Assuming it is acceptable for a user building from source to expect zarf init to work, some alternatives to just failing the package pull:

  1. Just use the init pkg from the last major version
  2. Provide users with some simple messaging of how to create their own init pkg locally

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions