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

Fix travis Go version #415

Merged
merged 1 commit into from
May 26, 2020
Merged

Fix travis Go version #415

merged 1 commit into from
May 26, 2020

Conversation

mkmik
Copy link
Collaborator

@mkmik mkmik commented May 25, 2020

Turns out all our released binaries are compiled with Go 1.14.0 because .travis.yaml
contains the 1.14 version spec which doesn't imply "latest version of 1.14 branch"

(I checked that on our released binaries following the instructions on https://dave.cheney.net/2017/06/20/how-to-find-out-which-go-version-built-your-binary)

A user reported an issue (#411) that is likely caused by a toolchain bug (golang/go#37436)
which is fixed in 1.14.1 (2020/03/19).

Several sealed-secret releases happened after that and we didn't inherit the fix.

Given the strong backwards compat guarantees the Go team commits to,
I think it's a good idea to just build with the latest version of the toolchain.

Closes #411

Turns out all our released binaries are compiled with Go 1.14.0 because .travis.yaml
contains the `1.14` version spec which doesn't imply "latest version of 1.14 branch"

(I checked that on our released binaries following the instructions on https://dave.cheney.net/2017/06/20/how-to-find-out-which-go-version-built-your-binary)

A user reported an issue (#411) that is likely caused by a toolchain bug (golang/go#37436)
which is fixed in 1.14.1 (2020/03/19).

Several sealed-secret releases happened after that and we didn't inherit the fix.

Given the strong backwards compat guarantees the Go team commits to,
I think it's a good idea to just build with the latest version of the toolchain.

Closes #411
@mkmik mkmik requested a review from josvazg May 25, 2020 13:39
Copy link
Collaborator

@josvazg josvazg left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@josvazg josvazg left a comment

Choose a reason for hiding this comment

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

LGTM

@mkmik
Copy link
Collaborator Author

mkmik commented May 26, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented May 26, 2020

Build succeeded:

@bors bors bot merged commit 29441fc into master May 26, 2020
@bors bors bot deleted the go-version branch May 26, 2020 09:50
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.

Go lang bug causes controller to CrashLoopBackoff
3 participants