update to ubuntu-22.04 for release runners#10405
update to ubuntu-22.04 for release runners#10405akhilerm wants to merge 1 commit intocontainerd:mainfrom
Conversation
Signed-off-by: Akhil Mohan <[email protected]>
|
Skipping CI for Draft Pull Request. |
|
@AkihiroSuda @thaJeztah Wanted to know your thoughts on this change. Is there any other distro for which we were holding back other than CentOS 7 to maintain glibc compatilbity. |
|
Looks like we should continue using ubuntu-20.04? |
|
I think it all evolves around "what do we promise these packages to be?", but not sure how much of this can be changed. I personally think it may be advertise that the project provides "generic", distro-agnostic builds; they allow you to get early / immediate access to binaries for testing when the project does a release. For other scenarios; if you need packaged versions specific to your distro-version; use the version packaged by your distro, the packages provided as part of docker's package repository, or ... (I think there was work elsewhere to provide distro-specific packages?). In all honesty, I'm still wondering whether it was a good choice to provide binary release as part of this repository; binaries through GitHub releases work OK(ish) for static binaries ("just grab one for your architecture, and Go"), but get complicated fast for other kind of binaries; now the project would have to maintain a large matrix of possible variants, and even for the static binaries, conflating packaging and code-releases becomes a burden (e.g. Go has a vulnerability, and now the project needs to do a new release to provide new binaries rebuilt with the new Go version). Packaging can be a beast (doing it right can be a huge pain when taking different distros; some with their own subtle conventions into account), and I'm somewhat wondering if (perhaps v2.0 is a good opportunity) it should be a separate initiative / project. |
|
Considering the usage of containerd in focal , I think we can still stick to using ubuntu-20 for release binaries. And around releasing binaries as part of the github releases, I dont have a strong opinion on removing that, because consumers may want to try out a different version rather than the one packaged and made available with the distro. So this github release is the only reliable source to download binaries of those versions. |
|
Since ubuntu-20 will be removed from github actions. Ref we should revisit this. @thaJeztah Is it possible to get newer data of installed versions similar to #10405 (comment) so that we can decide on how to proceed further. cc: @AkihiroSuda |
|
Looks like it's a tie between Focal (20.04) and Jammy (22.04) now; Noble (24.04) is far behind on those (followed by Bionic (18.04)) |


containerd release binaries were compiled in ubuntu-20.04 so as to keep glibc compatibility with CentOS 7. As of June 30, 2024, CentOS 7 is EOL. Hence updating the release runners to ubuntu 22.04
Ref: #7961