roboll / helmfile

Deploy Kubernetes Helm Charts
MIT License
4.05k stars 564 forks source link

Please update available releases for brew #603

Open bitsofinfo opened 5 years ago

bitsofinfo commented 5 years ago

Trying to brew upgrade helmfile and just getting the older versions as the only ones available.

mumoshu commented 5 years ago

Hey! Thanks for reporting. The homebrew formula isn't maintained by me - Would you anyone mind sending PRs to it?

max-rocket-internet commented 4 years ago

It looks like it's done by @chenrui333. e.g: https://github.com/Homebrew/homebrew-core/pull/46832

Release v0.90.9 was skipped and now I can't see how to install older releases with brew:

$ brew info helmfile
helmfile: stable 0.92.1 (bottled)
Deploy Kubernetes Helm Charts
https://github.com/roboll/helmfile
/usr/local/Cellar/helmfile/0.92.1 (5 files, 35.3MB)
  Poured from bottle on 2019-11-18 at 15:08:23
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/helmfile.rb
==> Dependencies
Build: go ✘
Required: helm ✔

Any ideas? Would be great to be able to install all releases using brew 😃

mumoshu commented 4 years ago

@max-rocket-internet Unfortunately brew doesn't provide a way to easily install old versions, as far as I know 😢

chenrui333 commented 4 years ago

@mumoshu @max-rocket-internet This is a good post about using the old brew versions. https://stackoverflow.com/questions/3987683/homebrew-install-specific-version-of-formula

If the version is really important and break from release to release, we might consider to pin the version. I can help with it for sure. :)

max-rocket-internet commented 4 years ago

Unfortunately brew doesn't provide a way to easily install old versions, as far as I know

I think I've come to the same conclusion. Such a shame 😐

If the version is really important and break from release to release

With Helm 3, it's very important. It's a major release and it's changed behaviour in really significant ways (3 way merge, for example.

So we need to pin to Helmfile version v0.90.9 and Helm version 2.16.1. Maybe I'll start using Ansible on Mac for software management unless you two have better options or ideas?

rbq commented 4 years ago

@max-rocket-internet Helm 2 is still maintained, use brew install helm@2 to install.