Skip to content

[19.03 backport] Use certs.d from XDG_CONFIG_HOME when in rootless mode (fixes #40236)#40461

Merged
cpuguy83 merged 1 commit into
moby:19.03from
AkihiroSuda:cherrypick-40243-1903
Feb 28, 2020
Merged

[19.03 backport] Use certs.d from XDG_CONFIG_HOME when in rootless mode (fixes #40236)#40461
cpuguy83 merged 1 commit into
moby:19.03from
AkihiroSuda:cherrypick-40243-1903

Conversation

@AkihiroSuda

Copy link
Copy Markdown
Member

cherrypick #40243

@AkihiroSuda AkihiroSuda added the area/rootless Rootless Mode label Feb 6, 2020
@thaJeztah thaJeztah modified the milestones: 19.03.6, 19.03.7 Feb 6, 2020

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry, I realize this is a cherry-pick of something that's already on master, but have some questions reading over it again 🤗

Comment thread registry/registry.go Outdated
Comment thread registry/registry.go Outdated
 from XDG_CONFIG_HOME
 when in rootless mode

Signed-off-by: Dmitry Sharshakov <[email protected]>
(cherry picked from commit f4fa98f)
Signed-off-by: Akihiro Suda <[email protected]>

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment thread registry/registry.go Outdated
@thaJeztah

Copy link
Copy Markdown
Member

@cpuguy83 @tiborvass PTAL

@thaJeztah

Copy link
Copy Markdown
Member

Why is swagger failing to build? Let me check if we made a mistake somewhere and didn't update it to use the forked version with fixes.


[2020-02-26T08:16:19.168Z] #15 ERROR: executor failed running [/bin/sh -c set -x 	&& export GOPATH="$(mktemp -d)" 	&& git clone https://github.com/go-swagger/go-swagger.git "$GOPATH/src/github.com/go-swagger/go-swagger" 	&& (cd "$GOPATH/src/github.com/go-swagger/go-swagger" && git checkout -q "$GO_SWAGGER_COMMIT") 	&& go build -o /build/swagger github.com/go-swagger/go-swagger/cmd/swagger 	&& rm -rf "$GOPATH"]: runc did not terminate sucessfully
[2020-02-26T08:16:19.168Z] ------
[2020-02-26T08:16:19.168Z]  > [swagger 1/1] RUN set -x 	&& export GOPATH="$(mktemp -d)" 	&& git clone https://github.com/go-swagger/go-swagger.git "/go/src/github.com/go-swagger/go-swagger" 	&& (cd "/go/src/github.com/go-swagger/go-swagger" && git checkout -q "c28258affb0b6251755d92489ef685af8d4ff3eb") 	&& go build -o /build/swagger github.com/go-swagger/go-swagger/cmd/swagger 	&& rm -rf "/go":
[2020-02-26T08:16:19.168Z] ------

@thaJeztah

Copy link
Copy Markdown
Member

Hm, nope, that's not it; the 19.03 branch still points to go-swagger/go-swagger@c28258a, which is the non-forked version.

This PR updates the branch to use the fork, but it's not merged yet; #40558

@thaJeztah

Copy link
Copy Markdown
Member

Triggered CI again 🤷‍♂

@cpuguy83 cpuguy83 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@cpuguy83
cpuguy83 merged commit 5101ce5 into moby:19.03 Feb 28, 2020
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.

4 participants