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

Update ubuntu-latest to ubuntu-24.04 #11293

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
# only required for workflows in private repositories
actions: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
Create_pull_request:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_sbom_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
sbom-check:
outputs:
check_status: ${{ steps.check.outputs.status }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check release for ${{ github.event.client_payload.ReleaseBranchName }}
id: check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
build:
name: Lint JSON & MD files
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout Code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
Merge_pull_request:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/powershell-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
powershell-tests:
name: PowerShell tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout Repository
Expand All @@ -22,4 +22,4 @@ jobs:
run: |
$ErrorActionPreference = "Stop"
Invoke-Pester -Output Detailed "helpers/software-report-base/tests"
2 changes: 1 addition & 1 deletion .github/workflows/update_github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
Update_GitHub_release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# GitHub Actions Runner Images

**Table of Contents**
Expand All @@ -21,8 +20,8 @@ To build a VM machine from this repo's source, see the [instructions](docs/creat

| Image | YAML Label | Included Software | Rollout Status of Latest Image Release |
| --------------------|---------------------|--------------------|--------------------|
| Ubuntu 24.04 | `ubuntu-24.04` | [ubuntu-24.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu24.json) |
| Ubuntu 22.04 | `ubuntu-latest` or `ubuntu-22.04` | [ubuntu-22.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu22.json) |
| Ubuntu 24.04 | `ubuntu-latest` or `ubuntu-24.04` | [ubuntu-24.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu24.json) |
| Ubuntu 22.04 | `ubuntu-22.04` | [ubuntu-22.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu22.json) |
| Ubuntu 20.04 | `ubuntu-20.04` | [ubuntu-20.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu20.json) |
| macOS 15 <sup>beta</sup> | `macos-15-large`| [macOS-15] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-15.json) |
| macOS 15 Arm64 <sup>beta</sup> | `macos-15` or `macos-15-xlarge` | [macOS-15-arm64] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-15-arm64.json) |
Expand Down
30 changes: 30 additions & 0 deletions images/ubuntu/Ubuntu2404-Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,3 +316,33 @@ Use the following command as a part of your job to start the service: 'sudo syst
| zip | 3.0-13ubuntu0.1 |
| zsync | 0.6.2-5build1 |

### Missing Tools and Packages
- NuGet
- sqlpackage
- Mono
- Terraform
- Heroku
- Leiningen
- R
- SVN
- Alibaba Cloud CLI
- Netlify CLI
- OpenShift CLI
- ORAS CLI
- Vercel CLI
- Bindgen / Cbindgen
- Cargo audit/clippy/outdated
- MS SQL Server Client Tools
- MarkdownPS Module
- Cached Docker images

### Mitigation Steps
- If you see any issues with your workflows during the transition period:
- Switch back to Ubuntu 22 by changing workflow YAML to use `runs-on: ubuntu-22.04`. We support two latest LTS Ubuntu versions, so Ubuntu 22 will still be maintained for the next 2 years.
- File an issue in this repository.
- For Python package installation issues, use the `actions/setup-python` action to install the required Python version in your workflow.
- For Mono issues, consider using the official Mono repository to install Mono on Ubuntu 24.04.
- For gcloud issues, install the Google Cloud CLI using the official installation instructions.
- For NuGet issues, use `dotnet restore` instead of `nuget restore` in your workflow.
- For Terraform issues, install Terraform using the official installation instructions.
- For SQL Server Client Tools issues, install the tools manually using the official installation instructions.