GitHub Actions still using ubuntu-20.04

gundalow
Tue, 11 Feb 2025 18:25:45 +0000
Get Help

GiHub are deprecating the ubuntu-20.04 runner, seems like we still have this in use in a lot of places.

1. Do we want to move to ubuntu-latest (unpinned, so might all break when GitHub update in the future, though saves us from having to do this again)

2. What do we want to do with “cgroups v2”, or has this been fixed already? See code snippit below

These GitHub searches show we are using this in:

collections

various community tools

GitHub

Build software better, together

GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

How do we handle this case

github.com/ansible-collections/community.internal_test_tools

.github/workflows/ansible-test.yml

e2b34bc1e

39. # Ansible-test on various stable branches does not yet work well with cgroups v2.


40. # Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04


41. # image for these stable branches. The list of branches where this is necessary will


42. # shrink over time, check out https://github.com/ansible-collections/news-for-maintainers/issues/28


43. # for the latest list.


44. runs-on: >-


45.   ${{ contains(fromJson(


46.       '["stable-2.9", "stable-2.10", "stable-2.11"]'


47.   ), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }}

The Ubuntu 20.04 runner image will be fully unsupported by April 1, 2025. To raise awareness of the upcoming removal, we will temporarily fail jobs using Ubuntu 20.04. Builds that are scheduled to run during the brownout periods will fail. The brownouts are scheduled for the following dates and times:

March 4 14:00 UTC – 22:00 UTC

March 11 13:00 UTC – 21:00 UTC

March 18 13:00 UTC – 21:00 UTC

March 25 13:00 UTC – 21:00 UTC

What you need to do

Jobs using the ubuntu-20.04 YAML workflow label should be updated to ubuntu-22.04, ubuntu-24.04 or ubuntu-latest. You can always get up-to-date information on our tools by reading about the software in the runner images repository. Please contact GitHub Support if you run into any problems or need help.

24 posts - 6 participants