Skip to content

Conversation

mvo5
Copy link
Collaborator

@mvo5 mvo5 commented Aug 4, 2025

WIP branch that shows porting bib to use the images library for manifest generation.

mvo5 added 13 commits July 29, 2025 08:42
This commit moves to images v0.166.0
With that we can compare manifests between bib and images,
e.g.
```
$ go build && sudo IMAGE_BUILDER_EXPERIMENTAL=bib-mock-resolvers ./bootc-image-builder manifest -v --type qcow2 quay.io/centos-bootc/centos-bootc:stream9 |jq > bootc_centos_9-x86_64-qcow2-bootc_empty.json && diff -u bootc_centos_9-x86_64-qcow2-bootc_empty.json /tmp/new/bootc_centos_9-x86_64-qcow2-bootc_empty.json
```
to see the difference between bib and images for the same
container.
Add a `gen-manifests` helper that creates mock manifests from
the given image type. Its not perfect mocks as it still will
look into the bootc ref (centos9).

Its not generating checksums only because to compare from the
manifests generated by bib and images its easier to work with
full manifests and we only have very few of them in bib.
Unlike images which has tons of manifests we only have a
few and when we do cross images<->bib manifest diff having
them in git will be useful.
…mvo5/images@50744ebf2e6bce9a2a5f9108e1173ff695f0579b to get latest bib-images-convergence-disk-only-for-now branch
@mvo5
Copy link
Collaborator Author

mvo5 commented Aug 7, 2025

Closing in favor of #1014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant