WARN on recipe linting errors during --chaos..
Some checks failed
continuous-integration/drone/push Build is failing

..and show multiple linting errors instead of bailing on the first one.

Re #497
This commit is contained in:
3wc
2025-08-11 11:57:30 +01:00
parent a32e30374f
commit ef77db1559
2 changed files with 13 additions and 3 deletions

View File

@ -108,7 +108,11 @@ checkout as-is. Recipe commit hashes are also supported as values for
}
if err := lint.LintForErrors(app.Recipe); err != nil {
log.Fatal(err)
if internal.Chaos {
log.Warn(err)
} else {
log.Fatal(err)
}
}
if err := validateSecrets(cl, app); err != nil {