Skip to content

Suggestion: Homebrew Support for kubectl-ai Installation #140

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

Closed
tuannvm opened this issue May 5, 2025 · 8 comments
Closed

Suggestion: Homebrew Support for kubectl-ai Installation #140

tuannvm opened this issue May 5, 2025 · 8 comments
Assignees

Comments

@tuannvm
Copy link
Contributor

tuannvm commented May 5, 2025

Wouldn't it be better to run homebrew install kubectl-ai to get the latest version instead of downloading the binary every time?
I’m happy to help with the Homebrew configuration if needed.

@droot
Copy link
Member

droot commented May 5, 2025

It will ofc will be better :)

Will it add extra manual steps to our release process ?

@tuannvm
Copy link
Contributor Author

tuannvm commented May 5, 2025

@droot

We can automate this using GitHub Actions. I have a reference implementation in my repository.

The build step triggers homebrew build

@droot
Copy link
Member

droot commented May 6, 2025

Like the automation setup. @tuannvm pl. go ahead whenever convenient. No rush.

@tuannvm
Copy link
Contributor Author

tuannvm commented May 7, 2025

@droot We have two options:

  • If you can help fork the official repo https://github.com/Homebrew/homebrew-cask to GoogleCloudPlatform, then the installation would be:

    brew install --cask kubectl-ai
    
  • If you prefer to start from scratch, then we can have a new repo at https://github.com/GoogleCloudPlatform/homebrew-kubectl-ai, then do:

# Add the tap
brew tap GoogleCloudPlatform/kubectl-ai

# Install the package
brew install kubectl-ai

@droot
Copy link
Member

droot commented May 7, 2025

Interesting. Creating a new repo under GoogleCloudPlatform is probably not feasible in the short term. Any other options ?

@tuannvm
Copy link
Contributor Author

tuannvm commented May 7, 2025

Plan B :)

#150

@droot please take a look. Thanks!

@qdrddr
Copy link

qdrddr commented May 7, 2025

+

@tuannvm
Copy link
Contributor Author

tuannvm commented May 9, 2025

With these two distribution channels available, Homebrew become less important. Close the issue for now.
#181
#150

@tuannvm tuannvm closed this as completed May 9, 2025
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

No branches or pull requests

3 participants