Skip to content

Set the target image reference for the bink node#57

Merged
jlebon merged 4 commits into
bootc-dev:mainfrom
alicefr:updates
Jun 12, 2026
Merged

Set the target image reference for the bink node#57
jlebon merged 4 commits into
bootc-dev:mainfrom
alicefr:updates

Conversation

@alicefr

@alicefr alicefr commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Overwrite the node image reported by bootc status to the image pushed in the local registry. Also, it infers the digest of the node image from the label stored on the node disk image.

Additionally, this PR prepares a second image for the testing of the update. It generates a second image starting from the node image and push it to the local registry

@alicefr

alicefr commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator Author

We still have some mismatch with the digest. So, it is expected that the test failed, but the PR is ready for review. The problem is on bink

Comment thread test/e2e/e2eutil/env.go Outdated
Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread test/e2e/e2eutil/env.go Outdated
Comment thread test/e2e/e2eutil/env.go Outdated
Comment thread test/e2e/bootcnode_test.go Outdated
Comment thread Makefile Outdated
Comment thread test/e2e/bootcnode_test.go Outdated
Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@jlebon jlebon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly minor comments; LGTM overall!

I filed #60 for the Justfile migration, but probably also eventually we should move a lot of the bink setup stuff to a dedicated hack/ script file to make it more manageable.

Feel free to merge after fixing at least the non-optional comments.

Comment thread Makefile
Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread test/e2e/bootcnode_test.go Outdated
Comment thread Makefile
Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread Makefile Outdated
alicefr added 3 commits June 12, 2026 07:01
Seed the bink registry with the bootc image from the node disk image
so e2e tests can reference real images. Add --target-imgref support
to make nodes track the registry image.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Verify that the BootcNode booted image and digest match the seeded
registry image when available.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move the update image build logic out of e2e test code and into a
Makefile target. Build the update image as part of deploy-bink so it
is available for both manual testing and e2e tests.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@jlebon jlebon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jlebon jlebon merged commit 3a27f6e into bootc-dev:main Jun 12, 2026
6 checks passed
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.

2 participants