Rke: Publish rke release as homebrew package

Created on 6 May 2018  路  15Comments  路  Source: rancher/rke

Make it easy to install/use rke on Mac by publish homebrew package with each release.

kinenhancement

Most helpful comment

This merged pull request resolves #580

rke can now be installed using brew install rke

All 15 comments

+1

+1

If someone can point me to OSX build instructions I'd be willing to take a swing at it. This might also a candidate for a HomeBrew Cask.

Cask is for .app binaries, no? I think this just falls under the purview of brew.

I posted build instructions in that issue, but you should be able to point the brew formula at the prebuilt releases hosted on github by default, which would be preferable I think.

Yes, rke would be a standard brew package, not a cask, as those are for
apps that go into the Applications folder.

I thought the same thing, but according to their documentation, it looks like prebuilt releases should be in casks.

In addition to apps, casks can be used to install fonts, binaries, among others

I'm going to pursue the prebuilt path first since I believe it will be less maintenance in the future.

I've issued a Pull Request for the Homebrew team.

Once it's merged, you will be able to install RKE using brew cask install rancher-kubernetes-engine

That makes sense I suppose. Can you do rke as the cask?

That makes sense I suppose. Can you do rke as the cask?

I did, but the pull request was rejected. I've a new open pull request with the hombrew-core team.

This merged pull request resolves #580

rke can now be installed using brew install rke

@johnsockwell given that the 0.1.12 version was released, could the homebrew package be updated?

Yeah, I鈥檒l update it.

I think installation page should be updated.

Looks like the recipe has been updated to install the 0.2.0 release, but the docs should probably be updated to point at a 0.2.x folder, rather than the current 0.1.x docs.

https://rancher.com/docs/rke/latest/en/installation/#alternative-rke-macos-x-install-homebrew

We've moved the docs to latest as we aren't going to version the docs specifically. Anyone want to make a PR to help update the docs in homebrew?

The docs will redirect to latest, but having it updated is always good. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

freeloop914 picture freeloop914  路  16Comments

nheinemans picture nheinemans  路  15Comments

niko-lay picture niko-lay  路  14Comments

bootc picture bootc  路  18Comments

piwi91 picture piwi91  路  25Comments