Open akefirad opened 1 year ago
Thanks for bringing this up @akefirad. I've gone ahead and made a backlog to discuss enabling faster failures when processing manifests that refer to missing resource/scp template files.
Sure. To be clear, I kinda like not failing fast. It’s just the logs that are not super helpful and might cause confusion.
Describe the bug The Build stage should fail fast when a non-existing template is referenced in
manifest.yaml
.To Reproduce
resources
to themanifest.yaml
file.Expected behavior The build job should fail fast. If the current behavior is by design, then it'd be nice to improve the logging. (See additional context.)
Please complete the following information about the solution:
Additional context Interestingly, it fails at some other step without any helpful message:
As you can see the above logs are not really helpful. If you miss only one line (195) somewhere way above in logs, looking at this part of the logs confuses you that there's something is wrong with
parameters
which is not the case. Maybe would be nice to add a success message to checking parameters step to make it clear that this step is not the root cause of the failure.