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

Stop using golang tip version in CI #13338

Merged
merged 1 commit into from
Sep 14, 2021
Merged

Conversation

serathius
Copy link
Member

This PR is meant to disable using tip golang version ("^1.16" means at least 1.16), and set one version in both CI and build. This is meant to avoid issues like #13334 where CI can break when new Go version is released. Having reproducible test is very important for fast resolution of bugs and reduction of flakes. This PR sets 1.16 version instead of upgrading to 1.16 as it should be also cherry-picked to v3.5 which is affected with the same problem.

Historically we also tested on Golang tip, but as a test that can fail. Having additional signal from "tip" in CI is a separate problem, that we can take a look after.

@ptabor

@serathius serathius requested a review from ptabor September 10, 2021 08:41
@serathius
Copy link
Member Author

cc @lilic

Copy link
Contributor

@lilic lilic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Strange failure in semaphoreci.

@serathius
Copy link
Member Author

serathius commented Sep 14, 2021

ok, I think that Semaphore fails as it tries to test in docker. Docker test require us to build a dedicated image that is versioned with golang version. I think I will skip updating golang to speed up this fix (need to cherry pick it to release-3.5)

@serathius serathius changed the title Stop using tip version in CI and migrate to Go 1.16.8 Stop using golang tip version in CI Sep 14, 2021
Copy link
Member

@spzala spzala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
Thanks @serathius

@hexfusion hexfusion merged commit 97756e3 into etcd-io:main Sep 14, 2021
@serathius serathius deleted the go1.16.8 branch June 15, 2023 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants