[RFE] Auto-detect latest release versions in release builds
Opened this issue · 7 comments
Current situation
While new Kubernetes patch-level releases of all supported minor versions are auto-detected and the latest one is built, a similar feature is not implemented for docker, docker-compose, and wasmtime.
Impact
New versions need to be specified manually in order to be included in a release build.
Ideal future situation
New versions are automatically detected by release builds.
Ideally, the implementation is modular and makes it easy to add new components / sysexts to the release auto-build.
Follow-up tasks
- build new releases on a schedule (e.g. daily, weekly, etc) to keep "latest" release up to date with upstream releases.
automatically tag "latest" in the build instead of relying on manual tagging.Done. Release CI action will re-tag.
Could the same be added to cri-o ?
Most of the components are pulled from Github releases (except Tailscale, Docker and Keepalived). To get the latest we can inspire from how we fetch the CNI components for Kubernetes sysext:
sysext-bakery/create_kubernetes_sysext.sh
Lines 92 to 98 in 2112078
In this file we will set crio-latest
for example:
sysext-bakery/release_build_versions.txt
Line 26 in 2112078
For non github releases, it has to be handled with a custom way for each.
Can we implement this also for k3s?
Can we implement this also for k3s?
@mnbro thanks for the suggestion. This is done here #98 with
rke2
as well.
@tormath1 thank you!
Maybe this is not the right place but do you think that also adding k0s and also supporting its major/minor releases would be possible? In this way, Flatcar Linux OS would have a plug-and-play support for all major k8s distributions.
@mnbro usually Kubernetes distribution (k3s, rancher, etc.) are installed via systemd-sysext. Having a k0s
sysext would be totally great and possible.
Two options: