-
Notifications
You must be signed in to change notification settings - Fork 5
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
[#180030835] Upgrade from Go 1.12 to Go 1.17 #20
Conversation
c418a60
to
40c1afa
Compare
964a4e7
to
6ffe426
Compare
Integration tests pass. Since we don't appear to be running travis anymore I wonder if I should be converting this to a github action. |
d483dae
to
73e1c2c
Compare
Ok did that, seems to work. |
Oh I've missed some references in the readme to the old project setup. |
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.
Code wise looks sane.
Oh I've spotted a problem. My solution to the integration tests not working was to give the certificate a SAN, but
It would be lovely to figure out why. According to the commit message
is this because the cert provided IRL won't have a SAN? If so, that's a problem. |
This looks like the problem the integration tests were having ( |
According to Andy, CF now does have SANs on all its certs. So this should be ok. I should still probably test it manually though. |
Confirmed, works in |
required to placate modern golang. modern cf *does* now supply SANs on its metron certs so we're good to do similar in our integration tests
9.5 is no longer offered by RDS
update some dependencies in the process switch to a forked pq-timeouts which works with modern pq versions update integration tests to use go install for required executables, which is the recommended way in go 1.17 get rid of vendor directory
this could still do with some more attention, e.g. test against multiple db versions
1823571
to
ff480d4
Compare
Even though it technically doesn't need it, I think this should get a re-approval before I consider merging it. |
What
Upgrades from Go 1.12 to Go 1.17 across the board
How to review
Check tests pass. The Go versions themselves should be backwards compatible.