https://blue-build.org/ logo
Recipes failing to validate
# questions
b
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.
Copy code
× 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
a
message has been deleted
g
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
Just FYI, I'm working on making these errors better https://github.com/blue-build/cli/issues/294
f
yes, it's due to that, good catch
b
Bam. Just changing the
gnome-extensions -> remove:
to
uninstall:
did the trick. Thanks for the help!
3 Views