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

Install via brew? #38

Closed
deitch opened this issue Nov 25, 2019 · 11 comments · Fixed by equinix/homebrew-tap#1 or #164
Closed

Install via brew? #38

deitch opened this issue Nov 25, 2019 · 11 comments · Fixed by equinix/homebrew-tap#1 or #164
Assignees

Comments

@deitch
Copy link
Contributor

deitch commented Nov 25, 2019

Can we make the packet cli available on Mac (and Linux) via homebrew? Also might want to think about Windows, where you can install via homebrew using WSL, or possibly Chocolatey.

@jacobsmith928
Copy link
Contributor

@jasmingacic thoughts?

@jasmingacic
Copy link
Contributor

It is doable, but before we'd have to set up a CI/CD pipeline so we can ensure that what we have is tested regularly.

@jacobsmith928
Copy link
Contributor

Fully supportive of a CI/CD pipeline, could you coordinate with @deitch to align with what he has done for CCM and CSI?

@jasmingacic
Copy link
Contributor

Hey @deitch should we get together and go over what @jacobsmith928 suggested?

@deitch
Copy link
Contributor Author

deitch commented Dec 19, 2019

Sounds good @jasmingacic . I am going to open a new issue just for CI, so we can keep the discussion focused and leave this one for brew.

@displague
Copy link
Member

Now that goreleaser is being used on each tagged release through GitHub Workflows, this is more attainable:
https://goreleaser.com/customization/homebrew/

@idvoretskyi
Copy link

Any updates on this? :)

@displague
Copy link
Member

@idvoretskyi I created a brew tap, but I'll need to verify that this configuration works first.
equinix/homebrew-tap#1

The next step would be to update goreleaser in this project to update the tap on each release.

@crayzeigh
Copy link
Contributor

Created a PR that should cause goreleaser to generate the brew formula into equinix/homebrew-tap on each release once committed that should at least solve the bare minimum requirements. Probably worth thinking about committing and maintaining in homebrew-core after we confirm this is working.

@displague
Copy link
Member

I've created an issue to track a limitation that I encountered when setting up the secrets needed to publish to the tap.

In the meanwhile, I can grant the tap account access to metal-cli so that one token can update both projects.

@displague
Copy link
Member

displague commented Feb 1, 2023

Noting here that it is also possible to install on FreeBSD via https://www.freshports.org/sysutils/equinix-metal-cli/ as noted in the README.md thanks to #249

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 a pull request may close this issue.

6 participants