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

chore: bump minimum go version to 1.15 #7944

Merged
merged 3 commits into from
May 12, 2021
Merged

Conversation

aschmahmann
Copy link
Contributor

bumping minimum version to 1.15 to indicate we are no longer explicitly supporting 1.14, and bumping CI testing to use 1.15.

@@ -33,7 +33,7 @@ default_environment: &default_environment
executors:
golang:
docker:
- image: circleci/golang:1.14.4
- image: circleci/golang:1.15.8
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a bit awkward that we track this here, below, and in the orb https://github.com/ipfs/ci-helpers/blob/fb84aaad053f46509acd7264420a57629ec95046/orbs/ci-go/%40root.yml#L26. Does this have to be duplicated?

Copy link
Member

Choose a reason for hiding this comment

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

I think we only set it here to override the orb's default. We can update the one in the orb and delete this if you'd like.

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like you may also want to change line 63 to have the same version of go.

At this point, probably want to update to test with go1.16.2

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I switched everything to 1.15.2 since that's what CircleCI gives us for the sharness containers and I figured it'd be good to keep all the testing aligned for now. We should figure out running tests for Go 1.15 and 1.16 (i.e. latest and latest-1)

@@ -111,4 +111,4 @@ require (
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c
)

go 1.14
go 1.15
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's no inherent reason we have to do this I guess, but given we're no longer testing with 1.14 this seems reasonable. WDYT @Stebalien?

Copy link
Member

Choose a reason for hiding this comment

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

SGTM!

@aschmahmann aschmahmann mentioned this pull request Feb 25, 2021
@Stebalien
Copy link
Member

@Stebalien
Copy link
Member

And the readme.

@Stebalien
Copy link
Member

Looks like the dockerfile also needs to be updated.

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

Given that sharness is now running in a VM with ubuntu, we may need to explicitly install go with the correct version.

@Stebalien Stebalien merged commit 56472f9 into master May 12, 2021
@Stebalien Stebalien deleted the chore/update-go-version branch May 12, 2021 23:04
@aschmahmann aschmahmann mentioned this pull request May 14, 2021
71 tasks
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