Skip to content

vendor: update git url handling with changes to buildkit#2023

Closed
jsternberg wants to merge 1 commit intodocker:masterfrom
jsternberg:gitutil-ssh-protocol
Closed

vendor: update git url handling with changes to buildkit#2023
jsternberg wants to merge 1 commit intodocker:masterfrom
jsternberg:gitutil-ssh-protocol

Conversation

@jsternberg
Copy link
Copy Markdown
Collaborator

The git ssh url parsing API changed a bit and broke how buildx utilized
the API. This updates the affected method with the new method of
identifying an SSH url.

The git ssh url parsing API changed a bit and broke how buildx utilized
the API. This updates the affected method with the new method of
identifying an SSH url.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
@tonistiigi tonistiigi requested a review from jedevc August 25, 2023 18:56
@jedevc
Copy link
Copy Markdown
Collaborator

jedevc commented Aug 25, 2023

The SSH stuff looks fine, but there is quite a large difference in other buildkit changes - maybe might be worth holding off on merging till after the next buildx release?

No strong feelings though, LGTM

@tonistiigi
Copy link
Copy Markdown
Member

@jedevc Otoh we already have vendored master so would need to ship with an unreleased version anyway.

Comment thread go.mod
github.com/hashicorp/go-cty-funcs v0.0.0-20200930094925-2721b1e36840
github.com/hashicorp/hcl/v2 v2.8.2
github.com/moby/buildkit v0.12.1-0.20230804094609-b49a8873179b
github.com/moby/buildkit v0.12.1-0.20230822160532-fdacdb78e93a
Copy link
Copy Markdown
Member

@crazy-max crazy-max Aug 28, 2023

Choose a reason for hiding this comment

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

https://github.com/docker/buildx/actions/runs/5979375406/job/16223405923?pr=2023#step:6:229

2023/08/25 18:52:10 buildkitd: flag provided but not defined: -otel-socket-path
2023/08/25 18:52:10 > stopped 2023-08-25 18:52:10.334278273 +0000 UTC m=+5.977077113 exit status 1 1

Related to moby/buildkit@06d51f9

As we now vendor buildkit moby/buildkit@fdacdb7 with this change we need to update

ARG BUILDKIT_VERSION=v0.11.6

Probably using this digest as version matching the very same commit: https://github.com/moby/buildkit/actions/runs/5941283562/job/16115090302#step:7:1179

master@sha256:f860a4917188cc9918319dc058a32c968c087ecbd3acda9c4447c650eefa11df

Copy link
Copy Markdown
Member

@crazy-max crazy-max Aug 28, 2023

Choose a reason for hiding this comment

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

@jsternberg Can you do the vendor update in a separate commit with the Dockerfile update as well?

@jsternberg
Copy link
Copy Markdown
Collaborator Author

This and some other changes are going to be part of #2035 so I'm going to close this one and allow that PR to take this one's place.

@jsternberg jsternberg closed this Sep 11, 2023
@jsternberg jsternberg deleted the gitutil-ssh-protocol branch September 11, 2023 18:02
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.

4 participants