-
Notifications
You must be signed in to change notification settings - Fork 397
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
jenkins: work around git.apache.org failures #2944
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Seems like we changed the version of thrift we depend on? Though, it also seems like the source isn't actually part of the build, so it probably doesn't matter.
- I think this should also be fixed by the newly released go1.13 because it by default goes through a centralized proxy that caches all this stuff.
Looks fine to me, though.
I tried to keep the same hash-version in place, but Go insisted on ignoring the directive entirely until I put an actual version there. I don't know why. At least I didn't make up So yeah maybe it's not perfect, but since go.opencensus.io only comes in to the picture because of golang-migrate, and we only use golang-migrate in a very limited way, I feel very comfortable in saying we don't actually use any thrift code anywhere in our product, so... yeah. Whatever. Go 1.13 will be nice |
Wait what did you just say Go 1.13 is released now?? |
Indeed: https://blog.golang.org/go1.13 |
we can't build the old version because of this same problem, so that check can't succeed.
Awesome. After updating my storage node to go1.13 it is finally running again. Yea! |
* storj/master: satellitedb: always release savepoint processing orders (#2936) Add TopperDEL to the CLA list (#2947) jenkins: work around git.apache.org failures (#2944) storagenode: add custom dial timeout for orders sending (#2939) docs/design: Adapt SN Downtime tracking to be a blueprint (#2931)
(cherry picked from commit bf5a16b)
What:
Adds a
replace
directive togo.mod
which causes Go to use the Apache Thrift module from github instead of the one at git.apache.org (which is no longer reachable).Why:
I got really tired of the errors with Go being unable to fetch git.apache.org/thrift.git. Apparently, Thrift development officially moved to Github quite some time ago anyway. See:
So this
replace
directive causes opencensus.io/foo to use the correct url for the thrift module. Until opencensus.io fixes its dependencies:this might be the only recourse.
Please describe the tests:
Please describe the performance impact:
Code Review Checklist (to be filled out by reviewer)