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

Packer plugin install hitting rate limiting issues #12657

Open
nywilken opened this issue Oct 16, 2023 · 1 comment
Open

Packer plugin install hitting rate limiting issues #12657

nywilken opened this issue Oct 16, 2023 · 1 comment
Labels
command/init command/plugins Issues related to the plugins management commands stage/needs-discussion
Milestone

Comments

@nywilken
Copy link
Contributor

It would be great if packer would support a way of mirroring the registry. Relying on GitHub only really works well locally, but not when you are doing 100s of builds every day and get rate limited.

Originally posted by @lifeofguenter in #11223 (comment)

@nywilken nywilken added this to the 1.11.0 milestone Oct 16, 2023
@nywilken nywilken added command/init command/plugins Issues related to the plugins management commands stage/accepted Confirmed, and intend to work on. No timeline commitment though. stage/needs-discussion and removed stage/accepted Confirmed, and intend to work on. No timeline commitment though. labels Oct 17, 2023
@jgerry2002
Copy link

+1 for this. The entire implementation seems half thought out and incomplete. Why a decision was made to enforce external plugins in the latest packer version without fixing known issues like this is confusing.

The weird directory structure is also confusing and misleading. Yes its documented, but why this approach?
hashicorp/packer-plugin-vsphere#288

Yes you can "get a github api token" but that is a half a solution.

And yes you can copy the plugin directly into the packer directory. But that isnt very clean when its another github project for something like a github action or runner that creates itself with every job.

There is another issue here that describes the headache:
#11164

"Eventually" - perhaps now is the time to consider this?

Another possible way to solve this would be to reference a binary directly from an artifact server without the need to duplicate the entire repo. Some organizations have policies that don't let you pull outside code without at least cloning it internally first. Maybe that would be easier to implement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command/init command/plugins Issues related to the plugins management commands stage/needs-discussion
Projects
None yet
Development

No branches or pull requests

2 participants