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

Vault 3268 update go version #12411

Merged
merged 7 commits into from
Aug 24, 2021
Merged

Vault 3268 update go version #12411

merged 7 commits into from
Aug 24, 2021

Conversation

pmmukh
Copy link
Contributor

@pmmukh pmmukh commented Aug 23, 2021

@vercel vercel bot temporarily deployed to Preview – vault August 23, 2021 23:11 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook August 23, 2021 23:11 Inactive
Copy link
Contributor

@swayne275 swayne275 left a comment

Choose a reason for hiding this comment

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

i think you want to at least also update Dockerfile.ui

@swayne275
Copy link
Contributor

@raskchanky
Copy link
Contributor

https://hashicorp.atlassian.net/wiki/spaces/VAULT/pages/1717011010/The+Vault+Release+Procedure also has a pretty complete list of places to update.

@pmmukh
Copy link
Contributor Author

pmmukh commented Aug 23, 2021

@swayne275 thanks for the catches! I'll be updating the Dockerfile.ui, missed that. For the go.mods though, it looks like we don't have a minor version of go there, so it's only go1.15 https://github.com/hashicorp/vault/blob/release/1.7.x/go.mod#L3. Also on the doc, nick mentions we shouldn't be updating sdk/go.mod, I'm not really clear on whether we should or not but the go version there seems to be 2 major versions older rn, so not sure if I should be touching it https://github.com/hashicorp/vault/blob/release/1.7.x/sdk/go.mod#L3
also cc @raskchanky

@vercel vercel bot temporarily deployed to Preview – vault-storybook August 23, 2021 23:28 Inactive
@vercel vercel bot temporarily deployed to Preview – vault August 23, 2021 23:28 Inactive
@swayne275
Copy link
Contributor

@pmmukh i'm not 100% sure about the sdk/go.mod either, but the comment that I read was it isn't necessary for 1.8+ (and this is 1.7)

re the regular go.mod - is there no minor version because we don't do that, or because maybe it was last updated when go 1.15 came out and we hadn't done it since?

@pmmukh
Copy link
Contributor Author

pmmukh commented Aug 23, 2021

@swayne275 ahh that may be, about the sdk/go.mod change being reqd before 1.8, I'm not sure.
Regarding maintaining minor versions on either go.mod file, I don't think that's ever been done actually, cause I was looking at older release branches like https://github.com/hashicorp/vault/blob/release/1.4.x/sdk/go.mod, and I'm not seeing minor versions of go anywhere.

@vercel vercel bot temporarily deployed to Preview – vault-storybook August 23, 2021 23:46 Inactive
@vercel vercel bot temporarily deployed to Preview – vault August 23, 2021 23:46 Inactive
@swayne275
Copy link
Contributor

swayne275 commented Aug 23, 2021

@pmmukh i just looked it up. the go directive in the mod file is only really relevant for compatibility purposes. since patch versions don't change compatibility, it shouldn't matter (though this isn't explicityly stated). i'll update the doc

https://golang.org/doc/modules/gomod-ref#go-notes

@pmmukh
Copy link
Contributor Author

pmmukh commented Aug 23, 2021

aha, that makes sense, thanks for looking it up and the doc change @swayne275 !

@pmmukh pmmukh requested a review from swayne275 August 23, 2021 23:52
@vercel vercel bot temporarily deployed to Preview – vault-storybook August 23, 2021 23:59 Inactive
@vercel vercel bot temporarily deployed to Preview – vault August 23, 2021 23:59 Inactive
@ncabatoff ncabatoff added this to the 1.7.4 milestone Aug 24, 2021
@vercel vercel bot temporarily deployed to Preview – vault-storybook August 24, 2021 16:23 Inactive
@vercel vercel bot temporarily deployed to Preview – vault August 24, 2021 16:23 Inactive
@pmmukh pmmukh merged commit d667b60 into release/1.7.x Aug 24, 2021
@pmmukh pmmukh deleted the vault-3268-pre-staging-2 branch August 24, 2021 16:49
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.

4 participants