Skip to content
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

Merged
merged 1 commit into from
Sep 26, 2018
Merged

Conversation

tbg
Copy link
Member

@tbg tbg commented Sep 20, 2018

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

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
@tbg tbg requested a review from a team September 20, 2018 09:28
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@benesch benesch left a 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.

@tbg
Copy link
Member Author

tbg commented Sep 26, 2018

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).

@tbg
Copy link
Member Author

tbg commented Sep 26, 2018

bors r=benesch

craig bot pushed a commit that referenced this pull request Sep 26, 2018
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]>
@benesch
Copy link
Contributor

benesch commented Sep 26, 2018 via email

@craig
Copy link
Contributor

craig bot commented Sep 26, 2018

Build succeeded

@craig craig bot merged commit 3f86041 into cockroachdb:master Sep 26, 2018
@tbg tbg deleted the teamcity/govers branch September 26, 2018 14:16
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