Commit graph

6 commits

Author SHA1 Message Date
Michael Vogt
5fb17b967e image-builder: use github.com/osbuild/blueprint
Drop using the "images" library blueprint types and use the ones
from github.com/osbuild/blueprint/pkg/blueprint instead.

This also moves to the images library to v0.172.0 and the blueprints
library to v1.12.0 as this is required for this to work.
2025-08-07 16:56:35 +00:00
Michael Vogt
a2f71ad44c Reapply "blueprintload: enable strict checking for toml"
This reverts commit f25b5e325e.
2025-04-09 05:32:45 +00:00
Simon de Vlieger
f25b5e325e Revert "blueprintload: enable strict checking for toml"
This reverts commit d41bd9aa5b.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-03-28 16:05:11 +00:00
Michael Vogt
2895e71064 many: move to use the new github.com/osbuild/blueprint module
This commit moves ibcli over to use the new `osbuild/blueprint`
module for better compatibility with the composer and on-prem
blueprints.
2025-03-27 11:59:45 +00:00
Michael Vogt
d41bd9aa5b blueprintload: enable strict checking for toml
Add strict checking for toml keys in blueprints. This allows us
to error early if there are unknown keys in a toml blueprint and
helps our users by spotting e.g. typos early.

This is similar to
https://github.com/osbuild/bootc-image-builder/pull/549
(thanks Ondrej!).
2025-03-25 19:13:33 +00:00
Michael Vogt
f242005672 internal: add new blueprintload package
This commit provides a `blueprintload` package that can be used
to load blueprints from json/toml from a path. This will be used
in `bootc-image-builder` and `image-builder-cli` and should
eventually be merged into `images`.
2024-12-16 07:54:45 +00:00