https://blue-build.org/ logo
default-flatpaks v2 migration issue
# questions
i
I updated my default-flatpaks config to use the new module, but my [builds](https://github.com/ptinopedila/ptinopedila/actions/runs/16568406740/job/46854006217) fail.
Copy code
[12:02:20 ERROR] => Failed:
  × Recipe ./recipes/ptinopedila-home-nvidia.yml failed to validate
  ╰─▶   × 1 error encountered
         ╭─[./recipes/common_modules/default-flatpaks.yml:1:1]
       1 │ type: default-flatpaks
         · ┬
         · ╰── value is not valid under any of the schemas listed in the
      'anyOf' keyword
       2 │ configurations:
         ╰────
        help: Try adding these lines to the top of your file for editor
      validation
              highlights:
              ---
              # yaml-language-server: $schema=https://schema.blue-
      build.org/module-
              v1.json
      
  help: Use `bluebuild validate --all-errors ./recipes/ptinopedila-home-
        nvidia.yml` to view more information.
        If you're using a local module, be sure to add `source: local` to the
        module entry

Error: Process completed with exit code 1.
Does anyone have a minute to take a look at tell me what I'm missing please? https://cdn.discordapp.com/attachments/1399364573588361257/1399364574515298324/message.txt?ex=6888bb51&is=688769d1&hm=5cec3aae9b35c76ecbc8c2d354184c108867e669c1d551a7e833111231416894&
a
message has been deleted
m
try to add this
Copy code
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
at the very beginning of your main recipe file
The properties name, description, base-image, image-version, and modules are all defined in the file that this yaml file is imported from https://github.com/ptinopedila/ptinopedila/blob/main/recipes/ptinopedila-home-nvidia.yml
m
try to remove the
#
before
notify
. could be an error due to to a missing
-
and FYI
Copy code
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
is ideally placed in the main image recipe files so
recipes/ptinopedila-*.yml
in your case
s
First key under "configurations:" needs "-", as its an array, you're missing that since you commented out the notify line
i
Thank you. That was it
8 Views