Recipes failing to validate

Hey! I'm trying to adapt my custom image recipes to pass BlueBuild CLI's validation based on the latest blog post and looking at some of the maintainers' own recipes. I'm not sure what I'm doing wrong.
× Recipe recipes/recipe-toybox.yml failed to validate
╰─▶
× 11 errors encountered
╭─[./recipes/recipe-common.yml:79:9]
78 │ # Add these Gnome extentions
79 │ ╭─▶ - type: gnome-extensions
· │ ────────┬───────
· │ ╰─┤ - "default-flatpaks" was expected
· │ │ - "gschema-overrides" was expected
· │ │ - "copy" was expected
· │ │ - "containerfile" was expected
· │ │ - "rpm-ostree" was expected
· │ │ - "yafti" was expected
· │ │ - "akmods" was expected
· │ │ - "script" was expected
· │ │ - "brew" was expected
80 │ │ install:
82 │ │ - Dash to Dock
· │ ──────┬─────
· │ ╰─┤ - "negativo17" was expected
· │ │ - "ublue-update" was expected
· │ │ - "gnome-vrr" was expected
· │ │ - "1password" was expected
· │ │ - "dconf-update-service" was expected
· │ │ - "rpmfusion" was expected
× Recipe recipes/recipe-toybox.yml failed to validate
╰─▶
× 11 errors encountered
╭─[./recipes/recipe-common.yml:79:9]
78 │ # Add these Gnome extentions
79 │ ╭─▶ - type: gnome-extensions
· │ ────────┬───────
· │ ╰─┤ - "default-flatpaks" was expected
· │ │ - "gschema-overrides" was expected
· │ │ - "copy" was expected
· │ │ - "containerfile" was expected
· │ │ - "rpm-ostree" was expected
· │ │ - "yafti" was expected
· │ │ - "akmods" was expected
· │ │ - "script" was expected
· │ │ - "brew" was expected
80 │ │ install:
82 │ │ - Dash to Dock
· │ ──────┬─────
· │ ╰─┤ - "negativo17" was expected
· │ │ - "ublue-update" was expected
· │ │ - "gnome-vrr" was expected
· │ │ - "1password" was expected
· │ │ - "dconf-update-service" was expected
· │ │ - "rpmfusion" was expected
https://github.com/BrodyB/ublue-brody/tree/main/recipes
GitHub
ublue-brody/recipes at main · BrodyB/ublue-brody
Custom Linux recipes I use for building my personal game development-focused operating systems! - BrodyB/ublue-brody
Solution:
I think it's the remove: property you have. According to the spec it should be uninstall: instead. I've really got to work on filtering out all the irrelevant jsonschema errors
Jump to solution
5 Replies
Solution
Luke Skywunker
I think it's the remove: property you have. According to the spec it should be uninstall: instead. I've really got to work on filtering out all the irrelevant jsonschema errors
Luke Skywunker
BlueBuild
gnome-extensions
The gnome-extensions module can be used to install GNOME extensions inside system directory.
Luke Skywunker
Just FYI, I'm working on making these errors better https://github.com/blue-build/cli/issues/294
GitHub
fix: Improve validation errors · Issue #294 · blue-build/cli
Currently the validation errors are very confusing to the users as it shows too many at once when it comes to validating the modules: × Recipe recipes/recipe-toybox.yml failed to validate ╰─▶ × 11 ...
fiftydinar
fiftydinar2w ago
yes, it's due to that, good catch
Brody
BrodyOP2w ago
Bam. Just changing the gnome-extensions -> remove: to uninstall: did the trick. Thanks for the help!
Want results from more Discord servers?
Add your server