-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build in a container, use go1.5, vendor Dependancies, build for Darwin and Arm on Circle. #584
Conversation
8008334
to
05db73d
Compare
Latest: instead of vendoring whole repos in vendor/, The commands I ran to produce this were:
To update the vendored dependancies, you can do a |
Some numbers in my Vagrant box (using NFS):
|
Thanks for the timing info. Are those times acceptable? Note the slow down in build is due to go1.5, not the vendoring - I can't see a reason for the vendoring to make anything slower. Your git status time seems fine, and the checkout time won't be a problem once the change goes in. What do you think? |
@tomwilkie Yep, I think it's fine (I just shared the numbers to show how it performed in a dev VM with shared FS). |
Works On My Machine™ LGTM |
Just trying out gocertifi, quick... Edit: Gocertifi change looks good. |
Also, it runs the scope-probe build every time I do |
How do you run the tests with this?
|
Also, we should be running |
tools/test is run on circle; and I've got another PR open to add a make tests. Peter has been running go test in the subdir he wants, but you're right, this will break that. Tools will need updating for the vendoring. |
After f2f discussion, my main concern is that tools/test is not using the vendored deps, or same version of go. |
Nevermind. I understand now; |
Its not; circle it using tools/test, which does its own go gets. I'm just fixing the always-rebuilding-the-exes problem, then I'll look into On Mon, Oct 26, 2015 at 1:45 PM, Peter Bourgon notifications@github.com
|
Yep. This works fine via
from any of the individual directories. Which is fine for me. |
…ays rebuild the exes.
@paulbellamy PTAL I suggest we get this one in then fix the test issues, as its blocking paul fixing the SSL issues. |
LGTM, we should probably also apply similar to the frontend build at some point. Edit: And we should fix circle, so it's not lies, but this is ok to merge. |
Actually, I think this is missing a few deps. Particularly:
|
Apart from a longstanding panic bug when testing probe/endpoint on Darwin, this works fine for me:
|
git-subtree-dir: tools git-subtree-split: 58c9a39
@paulbellamy I think this one should be good. Mind taking one last look? |
…through to docker
Last two tools updates were to --no-go-get and no-coverage-for-vendored-packages fixes. Please don't ask me to squash them, I don't seem to be able to do it for subtrees. |
I count 2 LGTMs; quite a lot has gone in and @paulbellamy promises to give that a look tomorrow, after I has merged. |
Build in a container, use go1.5, vendor Dependancies, build for Darwin and Arm on Circle.
Fixes #535, Fixes #550, Fixes #530
With this change, make should build the scope container on a correctly configured Mac, using Docker Machine.
See #583 for more context.