Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address breakages forthcoming in ubuntu-latest's switch from 22.04 to 24.04 #113

Open
6 tasks done
tsibley opened this issue Nov 6, 2024 · 2 comments
Open
6 tasks done
Assignees

Comments

@tsibley
Copy link
Member

tsibley commented Nov 6, 2024

GitHub announced changes to ubuntu-latest¹ (h/t @genehack):

We will migrate the ubuntu-latest label to ubuntu 24 starting on December 5, 2024 and ending on January 17, 2025. The ubuntu 24 image has a different set of tools and packages than ubuntu 22. We have made cuts to the list of packages so that we can maintain our SLA for free disk space. This may break your workflows if you depend on certain packages that have been removed. Please review this list to see if you are using any affected packages.

I reviewed the list and noted removed software that may break us based on things I know we use or may use:

A bunch of pre-fetched Docker images we use are also removed, so that may lead to slightly increased CI run times.

We use ubuntu-latest in a bunch of places; all those stand to potentially break as early as 5 Dec. As the migration is happening over the winter holidays and new year, we'd be best to take care of it all before 5 Dec instead of taking the chance of breaking while many folks are out.

We can test what will break by updating places that use ubuntu-latest (currently an alias for ubuntu-22.04) to use ubuntu-24.04 instead. Once any issues are resolved, I'd then recommend leaving the specific version in place. This will ensure stability until we're required to update it again in the future.

¹ The other changes to GitHub Actions also announced will not impact us, AFAICT.

Upstream issue: actions/runner-images#10636

@joverlee521
Copy link
Contributor

Seasonal flu is the only repo using Netlify CLI and the workflow installs an older version via npm so it should not be affected by the removal.

@joverlee521 joverlee521 self-assigned this Dec 16, 2024
joverlee521 added a commit to nextstrain/infra that referenced this issue Dec 16, 2024
Motivated by <nextstrain/.github#113>

Since Terraform is no longer available, we have to install it as the
first step in the job. Installation commands copied from
<https://developer.hashicorp.com/terraform/install#linux>
joverlee521 added a commit to nextstrain/nextstrain.org that referenced this issue Dec 16, 2024
Motivated by <nextstrain/.github#113>
Will add workflow specific fixes in subsequent commits.
@joverlee521
Copy link
Contributor

I'm pretty sure the only real breakage is the removal of the Terraform CLI which has been updated in infra and nextstrain.org.

I think we still want to pin all of the existing workflows to ubuntu-24.04 but not as much of a time crunch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants