-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
ci: Update Go version to 1.8 #2550
Conversation
36d8882
to
4859896
Compare
Actually, this is CI and not build, build is done by promu. Reading https://github.com/golang/go/milestone/53 right now. |
You mean "build" in the PR / commit title? The CI does build and push though, too :) Well, I can rename it. |
4859896
to
a44aadf
Compare
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.
Definitely 👍 to start testing with go1.8, I can't see much harm with that.
Reading the go1.8.1 milestone, I can't say for sure some the bugs won't affect us though ...
Yeah, hard to tell, and some of the problems reported in those issues seem to be older than 1.8 even (breaking commits from last year). I think it's worth the risk, as 1.8 might even be better overall in terms of bugs. |
You can use |
@AlekSi Interesting! I wonder if we want that. It would make it less explicit which version of Go we're building with. |
|
@AlekSi Yeah, for the Travis tests, that sounds ok. If we additionally add the The CircleCI one that builds the release images I would think we'd like to keep at a deterministic version that doesn't change without us doing anything. |
They will run in parallel. |
Why you use both Travis and Circle CI? |
@AlekSi I have no idea anymore, but there were surely some initial reasons :) Maybe @sdurrheimer knows the current reasoning... |
Travis runs only the tests and provides fast feedback. That's also what we
set up first. CircleCI tests that actually building the various binaries
works and was added later. As it takes a long time to get feedback from
CircleCI, we opted to keep Travis.
…On Mon, Apr 3, 2017 at 1:31 PM Julius Volz ***@***.***> wrote:
@AlekSi <https://github.com/AlekSi> I have no idea anymore, but there
were surely some initial reasons :) Maybe @sdurrheimer
<https://github.com/sdurrheimer> knows the current reasoning...
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#2550 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAANaFuBREfHHbSzqE5QUV38ldQ4Y_Djks5rsR7rgaJpZM4Mu_x->
.
|
I'm not in favor of building master against tip and let it fail, as we use
the master build status as indicator of the project health.
…On Mon, Apr 3, 2017 at 1:36 PM Tobias Schmidt ***@***.***> wrote:
Travis runs only the tests and provides fast feedback. That's also what we
set up first. CircleCI tests that actually building the various binaries
works and was added later. As it takes a long time to get feedback from
CircleCI, we opted to keep Travis.
On Mon, Apr 3, 2017 at 1:31 PM Julius Volz ***@***.***>
wrote:
@AlekSi <https://github.com/AlekSi> I have no idea anymore, but there
were surely some initial reasons :) Maybe @sdurrheimer
<https://github.com/sdurrheimer> knows the current reasoning...
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#2550 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAANaFuBREfHHbSzqE5QUV38ldQ4Y_Djks5rsR7rgaJpZM4Mu_x->
.
|
It is possible to configure Travis to build |
If the overall health indicator is not dependent on the tip/master status,
I don't really care. How will we be able to notice such build failures
though? Does TravisCI still send out notifications?
…On Mon, Apr 3, 2017 at 1:41 PM Alexey Palazhchenko ***@***.***> wrote:
It is possible to configure Travis to build master Prometheus against
both 1.8.x and master (previously known as tip) Go and not change the
whole status to Failed for that particular combination
<https://docs.travis-ci.com/user/customizing-the-build#Rows-that-are-Allowed-to-Fail>.
Those two builds will run concurrently, there is no slowdown. And it will
help to uncover bugs in Go.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#2550 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAANaBuXGWgd4pmoZPruf0DBuECpb1vlks5rsSFJgaJpZM4Mu_x->
.
|
Yes, it's configurable and emails are enabled by default. |
Well, I tried it. Email is not sent if
WDYT? |
@AlekSi Thanks for all the testing! Hm, since Prometheus's primary purpose is not to test new Go releases and this is looking more and more complicated, I would tend towards 1. With option 2, nobody would realistically ever look at the outcome. And maintaining an extra webhook for option 3 also seems unideal. But I don't feel strongly, if others have different opinions. |
I agree. Unless the go team explicitly requests such feedback from us, I'm
in favor of keeping the current state. Being mindful about travisci
resources is another argument for that.
…On Tue, Apr 4, 2017, 06:47 Julius Volz ***@***.***> wrote:
@AlekSi <https://github.com/AlekSi> Thanks for all the testing! Hm, since
Prometheus's primary purpose is not to test new Go releases and this is
looking more and more complicated, I would tend towards 1. With option 2,
nobody would realistically ever look at the outcome. And maintaining an
extra webhook for option 3 also seems unideal. But I don't feel strongly,
if others have different opinions.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#2550 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAANaIczW8tzZpx0iQX_Z_tQcnHnRwlfks5rshG5gaJpZM4Mu_x->
.
|
See #2568. |
No description provided.