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

v2.9.x: Change CI and nightlies to use Go 1.20 #4487

Merged
merged 3 commits into from Sep 4, 2023
Merged

v2.9.x: Change CI and nightlies to use Go 1.20 #4487

merged 3 commits into from Sep 4, 2023

Conversation

wallyqs
Copy link
Member

@wallyqs wallyqs commented Sep 4, 2023

Includes fix for test TestGatewayTLSMixedIPAndDNS that was breaking in Go 1.20.

sylr and others added 2 commits September 4, 2023 11:43
Signed-off-by: Waldemar Quevedo <wally@nats.io>
In +Go 1.20, the x509.HostnameError changed to be wrapped in a
tls.CertificateVerificationError so sometimes the name would not
be reset.

This would make the `TestGatewayTLSMixedIPAndDNS` test flake sometimes.

Signed-off-by: Waldemar Quevedo <wally@nats.io>
@wallyqs wallyqs requested a review from a team as a code owner September 4, 2023 19:12
.travis.yml Outdated
@@ -6,7 +6,9 @@ vm:

language: go
go:
- "1.20.x"
- "1.19.12"
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to double our builds here?

Copy link
Member Author

@wallyqs wallyqs Sep 4, 2023

Choose a reason for hiding this comment

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

Updated to remove v1.19 from the build

Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

I would replace with Go 1.20, since 1.19 deprecated would not run 2 builds.
Otherwise LGTM.

Signed-off-by: Waldemar Quevedo <wally@nats.io>
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

@wallyqs wallyqs merged commit 8390a47 into main Sep 4, 2023
2 checks passed
@wallyqs wallyqs deleted the go120-bump branch September 4, 2023 20:33
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.

None yet

3 participants