-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 is setting ubuntu20.04 instead of ubuntu22.04 #10133
Comments
Hi @feliasson, We have tested it from our side, and it is showing
|
Hi @RaviAkshintala, then maybe the behavior occurs when To give you an example how it looks like: # pipeline yaml
resources:
repositories:
- repository: template
type: git
name: tooling
ref: refs/heads/main
extends:
template: pipeline-template/<template-name>-pipeline-template.yml@template
parameters:
<parameters> # <template-name>-pipeline-template.yml@template
parameters:
<parameters>
stages:
- stage: stage1
pool:
vmImage: ubuntu-latest
jobs:
<jobs> I hope this can help to reproduce the behavior. |
@feliasson As per your repro steps we have ran the pipeline and it is taking only ubuntu-22.04.Please find the below logs.
|
@RaviAkshintala but your example here is not using |
Hi @feliasson , No, I have used only hosted agents on Azure pipelines and also not set any other template to use pool . |
What kind of answer is that? How are we supposed to report bugs if you are not willing to take similar steps to try to reproduce the behavior? I don't understand. |
Hey @feliasson , Kindly look into my investigation below ,
You can find below logs , it is taking 22.04 as ubuntu-latest . I hope the above workaround will clarify your issue . https://github.com/actions/runner-images/blob/ubuntu22/20240624.1/images/ubuntu/Ubuntu2204-Readme.md Thankyou ! |
You are still not using the |
Hi @feliasson , I don't think so, there is no difference. I tried the same but i am unable to reproduce the issue .
2024-07-02T08:35:40.3792834Z Image: ubuntu-22.04 |
Description
When using MS-hosted images and the vmImage
ubuntu-latest
forpool
in Azure DevOps pipeline the following is seen during a pipeline run:According to documentation the
ubuntu-latest
YAML-label should be Ubuntu 22.04, therefor I consider this a bug.Platforms affected
Runner images affected
Image version and build link
Is it regression?
No
Expected behavior
The
ubuntu-latest
YAML-label to reflect Ubuntu 22.04 image and not Ubuntu 20.04 image.Actual behavior
The
ubuntu-latest
YAML-label is using Ubuntu 20.04 image and not the expected Ubuntu 22.04 image.Repro steps
extends
from another repository and usevmImage: ubuntu-latest
The text was updated successfully, but these errors were encountered: