Skip to content

feat: add support for buildx create --annotations flag#690

Merged
gabrieldemarmiesse merged 8 commits intogabrieldemarmiesse:masterfrom
bo0tzz:master
Nov 17, 2025
Merged

feat: add support for buildx create --annotations flag#690
gabrieldemarmiesse merged 8 commits intogabrieldemarmiesse:masterfrom
bo0tzz:master

Conversation

@bo0tzz
Copy link
Contributor

@bo0tzz bo0tzz commented Oct 21, 2025

No description provided.

@gabrieldemarmiesse
Copy link
Owner

Very cool, thanks! Can you add a few unit tests?

Copy link
Owner

@gabrieldemarmiesse gabrieldemarmiesse left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the PR! Just a few changes and we can merge :)



@patch("python_on_whales.components.buildx.imagetools.cli_wrapper.run")
def test_imagetools_create_with_annotations_command_construction(mock_run):

Choose a reason for hiding this comment

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

Would it be possible in addition of this patched test to have a test running the real command? To make sure the inputs and outputs are what is expected by the real buildkit engine?

Copy link
Contributor Author

@bo0tzz bo0tzz Oct 24, 2025

Choose a reason for hiding this comment

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

Sorry about that, I'd run into a strange error and lazily mocked the test instead of actually understanding what was wrong. Fixed that now.

Copy link
Owner

@gabrieldemarmiesse gabrieldemarmiesse left a comment

Choose a reason for hiding this comment

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

Awesome thanks! And sorry for the delay!

@gabrieldemarmiesse gabrieldemarmiesse merged commit 1c681d7 into gabrieldemarmiesse:master Nov 17, 2025
21 checks passed
@bo0tzz
Copy link
Contributor Author

bo0tzz commented Nov 17, 2025

No worries, thank you!

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