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

deps: investigate steps needed for updating go-getter #16541

Closed
shoenig opened this issue Mar 17, 2023 · 8 comments
Closed

deps: investigate steps needed for updating go-getter #16541

shoenig opened this issue Mar 17, 2023 · 8 comments
Labels
theme/artifact theme/dependencies Pull requests that update a dependency file

Comments

@shoenig
Copy link
Member

shoenig commented Mar 17, 2023

If/When hashicorp/go-getter#300 is merged, we need to be careful in understanding the implications on Nomad's use of go-getter for artifact downloading. In particular

  1. If git is now going to lookup the user's .gitconfig, is it going to error when landlock blocks that access?

  2. Regardless of 1, now that go-getter would be able to access the user .gitconfig, should we go ahead and allow that to happen?

@picatz
Copy link
Contributor

picatz commented Mar 17, 2023

⚠️ FYI: it was merged today after this issue was created.

@crw
Copy link

crw commented Apr 24, 2023

Just FYI hashicorp/terraform#28968 is blocked on having a new release cut for go-getter (v1), which my understanding is the Nomad team will create when you have resolved the questions in this issue. Linking these issues so I can more easily check in on status. :)

@shoenig
Copy link
Member Author

shoenig commented Apr 25, 2023

@crw @picatz I just ran through Nomad's artifact e2e tests with go-getter on main - everything still works on our end. The policy question in 2 is something we can handle without holding anyone up.

@crw
Copy link

crw commented Jul 26, 2023

Hi @shoenig, @picatz: according to @kmoe, the Nomad team agreed to make a new release of go-getter when the Nomad team was ready to accept the change. Given the previous comment, is that time now? :) I ask because we have an issue on the Terraform side that is blocked on the next release of go-getter (hashicorp/terraform#28968). It looks like there was an additional PR merged since the above-mentioned, see: hashicorp/go-getter@v1.7.1...main. Thanks for any info.

@tgross
Copy link
Member

tgross commented Jul 26, 2023

Hi @crw! Sorry, I think there was a miscommunication and we're fine with the change. We just need to figure out whether or not to special case the Landlock config in Nomad for it, but that's not something we need to block on at all.

I've had a quick look at the go-getter repo and how the releases work and I think I've got a handle on that. I've just pushed the 1.7.2 tag and waiting for the release action to complete.

@crw
Copy link

crw commented Jul 26, 2023

@tgross thank you so much for your very prompt response! I appreciate it.

@tgross
Copy link
Member

tgross commented Jul 26, 2023

go-getter release done: https://github.com/hashicorp/go-getter/releases/tag/v1.7.2

@tgross tgross added theme/dependencies Pull requests that update a dependency file and removed dependencies labels Aug 3, 2023
@tgross
Copy link
Member

tgross commented Apr 18, 2024

This has been long-since updated. Closing it out.

@tgross tgross closed this as completed Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/artifact theme/dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

4 participants