I'm in the process of building an image and have noticed some of the error messages are ambiguous at best and misleading at worst.
I hope to add to this as I continue to explore this project. Unfortunately draft issues aren't a thing so right now it's a short list.
"Is a directory"
modules:
- from-file: ../directory # this causes the error
ERROR => Failed:
× Recipe ./recipes/recipe.yml failed to validate
╰─▶ × Is a directory (os error 21)
A line number or reference to the from-file key would be helpful.
Old ./config references
If I cd into ./recipes and run bluebuild build, I get:
WARN => Use of ./config for recipes is deprecated, please move your recipe files into ./recipes
ERROR => Failed:
× File ./config/recipe.yml must exist
This is confusing because I am not using ./config per the warning, and the error is telling me to use ./config.
I'm in the process of building an image and have noticed some of the error messages are ambiguous at best and misleading at worst.
I hope to add to this as I continue to explore this project. Unfortunately draft issues aren't a thing so right now it's a short list.
"Is a directory"
ERROR => Failed: × Recipe ./recipes/recipe.yml failed to validate ╰─▶ × Is a directory (os error 21)A line number or reference to the
from-filekey would be helpful.Old ./config references
If I
cdinto ./recipes and runbluebuild build, I get:This is confusing because I am not using ./config per the warning, and the error is telling me to use ./config.