Skip to content

Conversation

@crazy-max
Copy link
Member

carry #1966

@crazy-max crazy-max added kind/enhancement New feature or request area/driver labels Nov 14, 2023
@crazy-max crazy-max added this to the v0.12.0 milestone Nov 14, 2023
@crazy-max
Copy link
Member Author

crazy-max commented Nov 14, 2023

Needs some changes after #2038 and #2113. I'm looking into it.

This patch reworks and updates the node resolution logic for selecting a
node from a builder.

The new implementation reworks the logic to make use of containerd's
platforms.Matcher interface instead of manually associated strings, and
additionally provides a few behavioural changes over the original
implementation, namely platforms can be matched with non-strict
semantics. e.g. i386 builds can be scheduled on an amd64 node, arm/v6
builds can be scheduled on an arm/v7 node.

We also add a new collection of tests for tracking regressions and
making the intended behaviour clearer.

Signed-off-by: Justin Chadwell <me@jedevc.com>
@crazy-max crazy-max force-pushed the rework-driver-resolution2 branch from 6d2d1d6 to 616fb3e Compare November 14, 2023 14:09
@tonistiigi tonistiigi merged commit d537b9e into docker:master Nov 14, 2023
@crazy-max crazy-max deleted the rework-driver-resolution2 branch November 14, 2023 16:55
@crazy-max crazy-max modified the milestones: v0.12.0, v0.13.0 Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/driver kind/enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants