-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Tolerate go get failures for coredns/forward #1435
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
Conversation
is forward being pulled in the dir where we just checkout coredns? |
Travis builds ok... but it seems that the travis is building with a simple "go test"... which means its getting dependency heads, and building on those. |
Nevermind - i see that the "test" target does call "godeps"... so we should be good on the unit tests. I suppose travis build OK because its building in master... vs building in a branch in local builds and in the CI... |
I confirmed that when building locally on my laptop, I get the same error when building from within a branch, but everything builds ok when building in master. I haven't yet figured out why that makes a difference... |
/integration-cipr27 |
1 similar comment
/integration-cipr27 |
Codecov Report
@@ Coverage Diff @@
## master #1435 +/- ##
=======================================
Coverage 52.01% 52.01%
=======================================
Files 173 173
Lines 8465 8465
=======================================
Hits 4403 4403
Misses 3724 3724
Partials 338 338 Continue to review full report at Codecov.
|
Well - the hack above (in "chop" 206817f) makes things work with brute force. But this wont work for local builds with uncommitted changes. To account for those we'd have to stash changes, switch to master, do the go gets, then switch back and unstash. Which, IMO, is too obnoxious. So we need a better fix. |
Last commit tolerates failures in the go get of Travis and coredns/ci tests look like they are doing ok with this change. Also this fix should work locally with uncommitted changes in a branch since it doesn't involve switching back to master. It's still a hack... but IMO it's one we can work with. |
@miekg : are you ok to merge this fix so we can have build on local branches and ci working again ? |
Can we just remove the go get for the coredns/forward? Because this line is already there:
|
Ok, I see now that |
1. What does this pull request do?
Make will tolerate failures when go-getting coredns/forward. Specifically, the failure to get coredns/coredns, when coredns/coredns is the current project.
This fix is a hack. But its IMO a workable one until we identify a better fix.
2. Which issues (if any) are related?
Fixes #1442
3. Which documentation changes (if any) need to be made?
n/a