Skip to content

build: retain local and tar exporter attributes#2509

Closed
crazy-max wants to merge 1 commit intodocker:masterfrom
crazy-max:keep-local-export-attrs
Closed

build: retain local and tar exporter attributes#2509
crazy-max wants to merge 1 commit intodocker:masterfrom
crazy-max:keep-local-export-attrs

Conversation

@crazy-max
Copy link
Copy Markdown
Member

@crazy-max crazy-max commented Jun 11, 2024

When investigating moby/buildkit#5017 I found that local and tar didn't have the dest attribute set. I think we should keep it even if not used as we want to keep track of it in the build record.

@crazy-max crazy-max changed the title build: retain local and tar export attributes build: retain local and tar exporter attributes Jun 11, 2024
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the keep-local-export-attrs branch from 5c22ac2 to 8646002 Compare June 11, 2024 11:44
@crazy-max crazy-max added this to the v0.15.0 milestone Jun 11, 2024
@crazy-max crazy-max requested a review from tonistiigi June 11, 2024 11:49
@crazy-max crazy-max marked this pull request as ready for review June 11, 2024 11:49
Copy link
Copy Markdown
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

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

I'm not sure we should be sending this to buildkit daemon. It is a client local path. If anything, it should be part of localstate.

@crazy-max
Copy link
Copy Markdown
Member Author

I'm not sure we should be sending this to buildkit daemon. It is a client local path. If anything, it should be part of localstate.

Yes indeed that's not safe, I'm looking at moving this in localstate

@crazy-max crazy-max removed this from the v0.15.0 milestone Jun 11, 2024
@crazy-max crazy-max marked this pull request as draft June 11, 2024 21:35
@crazy-max crazy-max modified the milestone: v0.16.0 Jun 12, 2024
@crazy-max crazy-max closed this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants