Repository navigation
Closed
Labels
Description
Breaking changes
Ubuntu 22.04 is now available for all GitHub Actions and Azure DevOps users.
You can use the ubuntu 22.04 image label in your YAML to select this image.
GitHub Actions
jobs:
jobName:
runs-on: ubuntu-22.04
Azure DevOps
pool:
name: 'Azure Pipelines'
vmImage: 'ubuntu-22.04'
The image is marked as "beta" for now. It means some software can be unstable on the new platform. Also, there could be queueing issues as the capacity will be balanced only throughout the next weeks.
Please report any problems with the new image to this repository.
Software difference between Ubuntu 20 and Ubuntu 22
| Tool name | Ubuntu 20.04 | Ubuntu 22.04 | Notes |
|---|---|---|---|
| Clang | 10.0.0, 11.0.0, 12.0.0 | 11.1.0, 12.0.1 | clang 10 is not available for Ubuntu 22 |
| GCC/G++ | 9.4.0 (default), 10.3.0 | 9.4.0, 10.3.0, 11.2.0 (default) | the default version for Ubuntu 22 is different |
| Erlang | 24.* | - | Erlang is not available for Ubuntu 22 at the moment |
| Swift | 5.* | - | Swift is not available for Ubuntu 22 at the moment |
| HHVM (HipHop VM) | 4.* | - | HHVM is not available for Ubuntu 22 at the moment |
| OpenSSL | 1.1.* | 3.* | The default OpenSSL in Ubuntu is now version 3 |
| PhantomJS | 2.1.1 | - | The software is deprecated as the latest version was released in 2016 |
| PHP | 7.4, 8.0, 8.1 | 8.1 | Deprecated all the versions besides the most recent one |
| Firefox\geckodriver | 99.* | - | Firefox is not available for Ubuntu 22 at the moment |
| .NET Core SDK | 3.1, 5.0 | 6 | Please consider using tasks to install any version on-flight: - actions/setup-dotnet (GitHub Actions) - Use .NET Core (Azure DevOps) |
| MongoDB | 5.0.* | - | MongoDB is not available for Ubuntu 22 at the moment |
| MS SQL Server Client Tools | SqlPackage 16.* sqlcmd 17.* |
SQL tools are not available for Ubuntu 22 at the moment | |
| Go | Defaultย version:ย 1.17.x Pre-cached versions: 1.16, 1.17, 1.18 |
Defaultย version:ย 1.18x Pre-cached versions: 1.17, 1.18 |
If your use-case requires using any of these versions, consider using tasks to install Go on-flight: - actions/setup-go (GitHub Actions) - Go Tool Installer (Azure DevOps) |
| Node.js | Defaultย version:ย 16.x Pre-cached versions: 12, 14, 16 |
Defaultย version:ย 16.x Pre-cached versions: 14, 16 |
If your use-case requires using any of these versions, consider using tasks to install Node.js on-flight: - actions/setup-node (GitHub Actions) - Node.js Tool Installer (Azure DevOps) |
| PyPy | 2.7, 3.6, 3.7, 3.8, 3.9 | 3.7, 3.8, 3.9 | Deprecated all the versions besides the most recent ones |
| Python | Default version: 3.8.x Pre-cached versions: 2.7, 3.6, 3.7, 3.8, 3.9, 3.10 |
Default version: 3.10.x Pre-cached versions: 3.7, 3.8, 3.9, 3.10 |
On GitHub Actions, actions/setup-python can install any version on-flight so this change doesn't impact users |
| Ruby | Default version: 2.7.x Pre-cached versions: 2.5, 2.6, 2.7, 3.0, 3.1 |
Default version: 3.0.x Pre-cached versions: 3.1 |
On GitHub Actions, ruby/setup-ruby can install any version on-flight so this change doesn't impact users |
| Az modules | Installed: 7.3.2 Zipped: 3.1.0, 4.4.0, 5.9.0, 6.6.0 |
Installed: 7.3.2 Zipped: - |
If your use-case requires using any of these versions, consider using tasks to install Az modules on-flight: - azure-powershell-action (GitHub Actions) - Azure PowerShell (Azure DevOps) |
| Docker images | Alpine: 3.12, 3.13, 3.14 buildpack-deps: bullseye, buster, stretch debian: 9, 10, 11 node: 12, 14, 16 ubuntu: 16, 18, 20 |
Alpine: 3.14, 3.15 buildpack-deps: bullseye, buster debian: 10, 11 node: 14, 16 ubuntu: 18, 20, 22 |
Deprecated all the versions besides the most recent one |
Target date
May 5, 2022
The motivation for the changes
Ubuntu 22.04 LTS has been released.
Possible impact
n\a
Virtual environments affected
- Ubuntu 18.04
- Ubuntu 20.04
- Ubuntu 22.04
- macOS 10.15
- macOS 11
- macOS 12
- Windows Server 2019
- Windows Server 2022
Mitigation ways
n\a
Reacted by Daniel Weindl, Rui Lopes, Abit, iBug, Sander van Zoest, Patrick Ziegler, Kurt von Laven, Olivier Michel, Gal Ben David, David Lechner and 19 more
Reacted by Joeridevits
Reacted by LeoTM and Austin Vazquez
Activity
panekj commentedon May 5, 2022
Please consider updating default Go to version 1.18
EdJoPaTo commentedon May 5, 2022
I tested the
ubuntu-22.04runner with one of my existing workflows and it failed as the docker daemon does not seem to be running:Is this the intended behaviour? Starting it when needed and don't start it per default might save some resources / startup time so I could understand this change. But it does not seem to be documented in this issue. Is this a bug then?
(I have not run a dedicated test for this, I simply ran the exact same workflow which works on
ubuntu-20.04and interpreted the error message)Full log resulting in the error
al-cheb commentedon May 5, 2022
@EdJoPaTo, We will check it.
Temporary workaround is to remove daemon.conf:
al-cheb commentedon May 5, 2022
@MehdiChinoune, feel free to create a separate issue.
olandese commentedon May 6, 2022
I successfully build the image, and was trying to use it with the Azure DevOps ScaleSet feature, but the agents are not coming up.
The Azure DevOps VM Extensions fails with:
"Azure Pipelines Extension failed with message: The Extension failed to execute: Pipeline script execution failed with exit code 100"
al-cheb commentedon May 6, 2022
@olandese , Maybe this fix will help - #5496
olandese commentedon May 6, 2022
Hi @al-cheb, thanks for the quick reply, I will try to rebuild the image with this fix and let you know
olandese commentedon May 6, 2022
@al-cheb the fix is working! The agents are coming up!
Will this fix be merged?
al-cheb commentedon May 6, 2022
@olandese, This fix has been merged.
miketimofeev commentedon May 6, 2022
Ubuntu-22.04 is now available in Azure DevOps too
iBug commentedon May 6, 2022
I second that. Also note that the default
golangpackage from Ubuntu APT repo is also 1.18. I see it make little sense to default to 1.17 when it's officially 1.18 already.jauderho commentedon May 6, 2022
I can confirm that I am experiencing the same problem and the proposed workaround does not work for me.
Add virtual environment checking for Ubuntu 22.04
91 remaining items
Fix CI due to GH Actions regression (missing Firefox)
Tallyb commentedon Nov 24, 2022
mongo is available for ubuntu 22. Are you planning on re-adding?
Fix CI due to GH Actions regression (missing Firefox) (#168)
christophs78 commentedon Nov 24, 2022
Do you plan to bring geckodriver back?
(Our existing integrationtestยดs fail since ubuntu-latest moved to Ubunto 22.04)
Ubuntu 20.04 because 22.04 currently does not offer Firefox
Ubuntu 20.04 because 22.04 currently does not offer Firefox (#9451)
Fix Ubuntu version with mongo preinstalled on CI
Fix Ubuntu version with MongoDB preinstalled on CI
MattiSG commentedon Dec 6, 2022
According to #6626 (comment), I understand this is a
wontfixon GitHub Actionsโ side.fix(supported-versions): GA Ubuntu-22.04 release
fix(supported-versions): GA Ubuntu-22.04 release (#110)
egahmad commentedon Mar 16, 2023
Can I pull this image locally to investigate the setup, for example I would like to make some changes to the apache configuration, sp it's useful to explore it locally before making any changes, is that is possible?
ORC-1174: Add `Ubuntu 22.04` to GitHub Action (apache#1121)
Add virtual environment checking for Ubuntu 22.04
Add virtual environment checking for Ubuntu 22.04