Skip to content

go: switch to go.mod, Mac build fixes#514

Merged
djs55 merged 5 commits intomoby:masterfrom
djs55:go.mod
Apr 21, 2021
Merged

go: switch to go.mod, Mac build fixes#514
djs55 merged 5 commits intomoby:masterfrom
djs55:go.mod

Conversation

@djs55
Copy link
Copy Markdown
Collaborator

@djs55 djs55 commented Jan 22, 2021

Although the go code is tested by CI on Linux, the Mac CI is currently broken and doesn't pick up failures in Mac-specific parts.

@thaJeztah
Copy link
Copy Markdown
Member

Looks like your git config doesn't match your sign-off; (DCO check can be picky with that)

Commit sha: ac55ea3, Author: David Scott, Committer: David Scott; Expected "David Scott dave@recoil.org", but got "David Scott dave.scott@docker.com".

@djs55
Copy link
Copy Markdown
Collaborator Author

djs55 commented Jan 22, 2021

@thaJeztah ah yes, I'd better fix that!

@thaJeztah
Copy link
Copy Markdown
Member

I should mention that you can manually mark it to "pass" if needed. Not sure if it supports a .mailmap file (which could work for this otherwise)

@simonferquel
Copy link
Copy Markdown
Contributor

lgtm

djs55 added 2 commits April 21, 2021 10:24
$ go mod init
$ go mod tidy

Signed-off-by: David Scott <dave@recoil.org>
Signed-off-by: David Scott <dave@recoil.org>
djs55 added 3 commits April 21, 2021 11:33
Also make kube-vpnkit-forwarder use the standard linuxkit pattern

Signed-off-by: David Scott <dave@recoil.org>
Signed-off-by: David Scott <dave@recoil.org>
This should hopefully make it easier to vendor this code elsewhere.

Signed-off-by: David Scott <dave@recoil.org>
@djs55
Copy link
Copy Markdown
Collaborator Author

djs55 commented Apr 21, 2021

OK I'm able to vendor this into another repo successfully 😅 ... the true test of go.mod

Regarding CI:

  • travis: hit a Docker rate limit
  • circleci: broken for an unrelated reason (fixed in a concurrent PR)
  • appveyor: Windows is broken and can't be fixed until we get rid of the Cygwin dependency (currently blocked on using opam monorepo which is blocked on switching uwt for luv and updating the tcpip package version)
  • DCO: pass!

@djs55 djs55 merged commit 3f1d5d5 into moby:master Apr 21, 2021
@djs55 djs55 deleted the go.mod branch April 21, 2021 13:49
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.

3 participants