-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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: install go 1.10 on TC agents #30453
Conversation
We really want 1.11, but it isn't available yet. Relevant for go-test-teamcity in which I accidentally used a go1.10+ feature and broke nightly stress: > ../go-test-teamcity/main.go:254:5: dec.DisallowUnknownFields undefined (type *json.Decoder has no field or method DisallowUnknownFields) These things are bound to happen again in the future, so avoid them. Release note: None
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.
Hmm, that PPA looks pretty unmaintained. Might be worth switching to just downloading the pre-compiled Linux binaries from golang.org. LGTM in the meantime though.
It's safe to build the new TC agent image; they won't switch over until you update the TC agent config. But yeah, at that point you're just praying that nothing breaks. Typically we do that late at night.
Ok, merging this. And then, I assume, I click the "Rebuild TeamCity Agent Image" job? And if that goes through, we'll have to figure out the switchover timing (I'll probably just do it in my AM). |
bors r=benesch |
30453: build: install go 1.10 on TC agents r=benesch a=tschottdorf We really want 1.11, but it isn't available yet. Relevant for go-test-teamcity in which I accidentally used a go1.10+ feature and broke nightly stress: > ../go-test-teamcity/main.go:254:5: dec.DisallowUnknownFields undefined (type *json.Decoder has no field or method DisallowUnknownFields) These things are bound to happen again in the future, so avoid them. @benesch suggestions on testing this other than merge-and-pray? Release note: None Co-authored-by: Tobias Schottdorf <[email protected]>
Yep, SGTM.
…On Wed, Sep 26, 2018 at 8:31 AM Tobias Schottdorf ***@***.***> wrote:
bors r=benesch
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#30453 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA15IMwrVa7DWH5PWHTMld-kJG0OeT6dks5ue3OxgaJpZM4WxujE>
.
|
Build succeeded |
We really want 1.11, but it isn't available yet.
Relevant for go-test-teamcity in which I accidentally used a go1.10+
feature and broke nightly stress:
These things are bound to happen again in the future, so avoid them.
@benesch suggestions on testing this other than merge-and-pray?
Release note: None