zarf icon indicating copy to clipboard operation
zarf copied to clipboard

Run `zarf dev lint` on create and deploy

Open AustinAbro321 opened this issue 9 months ago • 0 comments

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

Packages should be linted on create and on deploy. If there is an error on create it should stop the package from being built, warning should be printed to the user. If there is an error on deploy the package should still deploy, but it should be printed to the user

Describe the solution you'd like

  • Given I have a zarf.yaml with schema errors
  • When I run zarf package create
  • Then my package create fails and I get the lint output

  • Given I have a package with schema errors
  • When I run zarf package deploy
  • Then my package deploy succeeds (or tries it's best) and I get the lint output

AustinAbro321 avatar May 08 '24 19:05 AustinAbro321