-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Ubuntu-latest workflows will use Ubuntu-24.04 image #10636
Comments
The more I look at this list the more I realize that 24.04 is a step back for a lot of people. People are going to complain when this becomes the ubuntu-latest. Be aware of this and maybe make sure this communication is shown on github/azure devops But thanks for the heads up! |
ubuntu-24.04 is still labeled Will you now be removing the |
Yes @MikeMcC399 . Its updated and removed. |
@ThibaultLesuisse are you aware that NuGet refers specifically to NuGet.exe (which requires mono on Mac & Linux), as does Azure Pipeline's If you're building your projects with |
But we need NuGet.exe to sync our custom Artifacts store. And yes I know that commonly you need to run mono nuget.exe to run it on Mac/Linux. But it doesn't change the fact that a lot of tools are now missing for various reasons. This should be communicated. |
We're also affected by the removal of Mono. The official Mono repo only lists 20.04, but the package seem to work fine in newer versions–which is how the 22.04 image got Mono: runner-images/images/ubuntu/scripts/build/install-mono.sh Lines 15 to 18 in ae99c16
Is there a reason this can't be done for 24.04 as well? I tested it briefly and it's working for our relatively simple needs. Mono is fairly chunky so we'd rather not install it every single workflow run. |
…o `ubuntu-latest` ### What changes were proposed in this pull request? The pr aims to align the running OS image of `maven_test.yml` to `ubuntu-latest` (from `ubuntu-22.04` to `ubuntu-24.04`) ### Why are the changes needed? https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20240922.1 <img width="627" alt="image" src="https://github.com/user-attachments/assets/f42fd7ed-c52a-4b39-9a92-02657c53d734"> After actions/runner-images#10636, `ubuntu-latest` has already pointed to `ubuntu-24.04` instead of `ubuntu-22.04`. <img width="811" alt="image" src="https://github.com/user-attachments/assets/adf6b3a8-5ca5-4daa-b35d-ea1386fa07a6"> I have checked all tasks running on `Ubuntu OS` (except for the 2 related to `TPCDS`), and they are all using `ubuntu-latest`. Currently, only `maven_test.yml` is using `ubuntu-22.04`. Let's align it. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass GA. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #48263 from panbingkun/SPARK-49797. Authored-by: panbingkun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
Hi there - my team is scrambling this morning due to this change. I have detailed the issue on the community forum here, but the tl;dr is that this version bump prevents Python packages from being installed for system Python. Unfortunately, it seems the evaluation of this issue was incorrect:
In fact, my team has a large number of workflows created by many different engineers, and around a dozen of our workflows that didn't previously leverage actions/setup-python now have to go through our internal change management process in order to restore stability to our CI/CD In the future, please announce breaking changes as a deprecation notice on the GitHub Blog. It's the one place we rely on to proactively catch and prevent stability issues from occurring in our pipelines |
This morning, several of our CI pipelines broke due to these changes. It would be great to have compatibility with the following dependencies, allowing us to upgrade the ubuntu version in the future without complicating our pipelines 🙇 .
|
the agent names are documented here for github actions: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories and here for Azure Pipelines: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software Although it doesn't answer the question of what the expected behaviour is when specifying an agent pool that doesn't exist. |
I have no idea what's going on with the transition from ubuntu-latest from 22.04 to 24.04. It switched to 24.04, and now it looks like it's back to 22.04... See actions/runner-images#10636
I have no idea what's going on with the transition from ubuntu-latest from 22.04 to 24.04. It switched to 24.04, and now it looks like it's back to 22.04... See actions/runner-images#10636
This pins the generate-docs GH workflow to run on a fixed version of ubuntu so we get defined semantics of `pip install` wrt system packages. We were previously using the `ubuntu-latest` image and GH has been switching this from ubuntu-22.04 to 24.04 and back again, also see actions/runner-images#10636.
This pins the generate-docs GH workflow to run on a fixed version of ubuntu so we get defined semantics of pip install wrt system packages. We were previously using the ubuntu-latest image and GH has been switching this from ubuntu-22.04 to 24.04 and back again, also see actions/runner-images#10636.
…o `ubuntu-latest` ### What changes were proposed in this pull request? The pr aims to align the running OS image of `maven_test.yml` to `ubuntu-latest` (from `ubuntu-22.04` to `ubuntu-24.04`) ### Why are the changes needed? https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20240922.1 <img width="627" alt="image" src="https://github.com/user-attachments/assets/f42fd7ed-c52a-4b39-9a92-02657c53d734"> After actions/runner-images#10636, `ubuntu-latest` has already pointed to `ubuntu-24.04` instead of `ubuntu-22.04`. <img width="811" alt="image" src="https://github.com/user-attachments/assets/adf6b3a8-5ca5-4daa-b35d-ea1386fa07a6"> I have checked all tasks running on `Ubuntu OS` (except for the 2 related to `TPCDS`), and they are all using `ubuntu-latest`. Currently, only `maven_test.yml` is using `ubuntu-22.04`. Let's align it. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass GA. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#48263 from panbingkun/SPARK-49797. Authored-by: panbingkun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
…integration-tests` ### What changes were proposed in this pull request? The pr aims to install `R` for `ubuntu 24.04` when GA run `k8s-integration-tests`. ### Why are the changes needed? - As the GitHub community switches the default version of `ubuntu-latest` from `ubuntu-22.04` to `ubuntu-24.04`. actions/runner-images#10636 - In `ubuntu-24.04`, `R` is `not installed` by default A.`ubuntu-24.04`(`R` is `not installed` by default) https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#tools <img width="342" alt="image" src="https://github.com/user-attachments/assets/23e4d377-ba7c-4969-b720-5c8ff9790985"> B.`ubuntu-22.04`(`R` is `installed` by default) https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#tools <img width="356" alt="image" src="https://github.com/user-attachments/assets/126861df-d1a0-49d9-b52d-48102ab2db74"> - Fix the failure issue of GA https://github.com/LuciferYang/spark/actions/runs/11268158324/job/31334445659 <img width="959" alt="image" src="https://github.com/user-attachments/assets/4bfd8da4-4ced-422a-9ea7-dbdf6478675b"> ### Does this PR introduce _any_ user-facing change? No, only for tests. ### How was this patch tested? Pass GA. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#48406 from panbingkun/install_R. Authored-by: panbingkun <[email protected]> Signed-off-by: yangjie01 <[email protected]>
NOTICE: THIS ROLLOT HAS BEEN PUT ON HOLD
Breaking changes
Ubuntu 24.04 is ready to be the default version for the "ubuntu-latest" label in GitHub Actions and Azure DevOps.
Target date
This change will be rolled out over a period of several weeks beginning in September 25th, 2024. We plan to complete the migration by October 30th , 2024.
The motivation for the changes
GitHub Actions and Azure DevOps have supported Ubuntu 24.04 in preview mode since May 2024, and starting from July 2024 Ubuntu 24.04 is generally available for all customers. We have monitored customer feedback to improve the Ubuntu 24.04 image stability and now we are ready to set it as the latest.
Platforms affected
Mitigation ways
Steps or options for impact mitigation
If you see any issues with your workflows during transition period:
runs-on: ubuntu-22.04
We support two latest LTS Ubuntu versions, so Ubuntu 22 will still be available in near future.Software Differences
The Ubuntu 22.04 image has a different set of software than Ubuntu 24.04. The most significant changes are listed in the table below:
The text was updated successfully, but these errors were encountered: