flatcar / sysext-bakery

Recipes for baking systemd-sysext images
Apache License 2.0
72 stars 37 forks source link

release: sync `k3s` and `rke2` with major Kubernetes version #98

Closed tormath1 closed 1 day ago

tormath1 commented 3 days ago

In this PR we are syncing k3s and rke2 versions with major Kubernetes version at each release. This is more dynamic and it avoids to manually maintain those versions into release_build_versions.txt.

Testing done

$ bash release_build.sh
$ cat Release.md
# Release 2024-11-19 14:34
The release adds the following sysexts:
* k3s-v1.31.2+k3s1-x86-64.raw
* k3s-v1.31.2+k3s1-arm64.raw
* k3s-v1.30.6+k3s1-x86-64.raw
* k3s-v1.30.6+k3s1-arm64.raw
* k3s-v1.29.10+k3s1-x86-64.raw
* k3s-v1.29.10+k3s1-arm64.raw
* crio-v1.31.2-x86-64.raw
* crio-v1.31.2-arm64.raw
* crio-v1.30.7-x86-64.raw
* crio-v1.30.7-arm64.raw
* crio-v1.29.10-x86-64.raw
* crio-v1.29.10-arm64.raw
* rke2-v1.31.2+rke2r1-x86-64.raw
* rke2-v1.31.2+rke2r1-arm64.raw
* rke2-v1.30.6+rke2r1-x86-64.raw
* rke2-v1.30.6+rke2r1-arm64.raw
* rke2-v1.29.10+rke2r1-x86-64.raw
* rke2-v1.29.10+rke2r1-arm64.raw

The release includes the following sysexts from previous releases:
* [containerd-2.0.0-arm64.raw](https://github.com/flatcar/sysext-bakery/releases/download/latest/containerd-2.0.0-arm64.raw)
* [containerd-2.0.0-x86-64.raw](https://github.com/flatcar/sysext-bakery/releases/download/latest/containerd-2.0.0-x86-64.raw)
* [crio-1.28.10-arm64.raw](https://github.com/flatcar/sysext-bakery/releases/download/latest/crio-1.28.10-arm64.raw)
* [crio-1.28.10-x86-64.raw](https://github.com/flatcar/sysext-bakery/releases/download/latest/crio-1.28.10-x86-64.raw)
...
tormath1 commented 3 days ago

Thanks @krnowak for the review - comments have been addressed.