Replies: 3 comments 2 replies
-
Channels can retrieve from two sources currently.
The former will periodically check the URL for updates while the latter will only check versions contained within the manifest, meaning the manifest itself will have to be updated. For Hermit itself we publish each release to a stable URL, eg. https://github.com/cashapp/hermit/releases/download/stable/hermit-darwin-amd64.gz So yep those are currently your two choices. We do have plans to include automatic updates for GitHub releases. We'll have a cron job that runs in the hermit-packages repo, that checks for new releases of all packages hosted on GitHub, and updates the manifest programatically. But for now I think just send a PR, that's fine. |
Beta Was this translation helpful? Give feedback.
-
@jstrachan I've implemented this here. I'll tag a new release with this support, then after that release rolls out (24h) you can modify the jx manifest like so: version "3.2.137" "3.2.140" {
auto-version {
github-release = "jenkins-x/jx"
}
} Then I'll add some support to the hermit-packages repo to automatically apply the auto-version command. |
Beta Was this translation helpful? Give feedback.
-
This is now working! |
Beta Was this translation helpful? Give feedback.
-
do we need to create a PR on the https://github.com/cashapp/hermit-packages repository for every release of every package; or is there a way to be able to install the latest stable version created after the last PR to https://github.com/cashapp/hermit-packages
I thought the @stable channel was meant to refresh every 24 hours but I've not been able to figure out with any permutation of
hermit upgrade/sync/uninstall/install with $package-$version or $package-@stable or jx@3
a way to install any other version than the exact 2 versions in the hermit-packages.Is there a trick to find other versions to install?
e.g. I'm trying to install any version of
jx
after the last version in the hermit-packages of3.2.140
via https://github.com/cashapp/hermit-packages/blob/master/jx.hcl#L12 and so far I can only get the versions from the package: https://github.com/cashapp/hermit-packages/blob/master/jx.hcl#L12FWIW we release
jx
quite frequently - we could automate PRs on the https://github.com/cashapp/hermit-packages but I didn't want to overload you if there's a way to use a channel insteadBeta Was this translation helpful? Give feedback.
All reactions