[release/10.0] Move Linux CI jobs off Microsoft-hosted pools (backport #64842, #65867)#67797
Open
mmitche wants to merge 1 commit into
Open
[release/10.0] Move Linux CI jobs off Microsoft-hosted pools (backport #64842, #65867)#67797mmitche wants to merge 1 commit into
mmitche wants to merge 1 commit into
Conversation
Backport of dotnet#64842 and dotnet#65867 to release/10.0. release/10.0 still routes Linux CI/PR jobs (Components E2E and the Linux cross-build legs) to the Microsoft-hosted `vmImage: ubuntu-22.04` via the default `useHostedUbuntu: true`. This renames the parameter to `use1ESUbuntu` (default false) and routes Linux jobs to the .NET-owned dnceng pool ($(DncEng*BuildPool)) with the 1es-ubuntu-2204(-open) or Build.Ubuntu.2204.Amd64(.Open) images, matching main. - dotnet#64842: Switch default for useHostedUbuntu to false and use dnceng pool - dotnet#65867: Fix Ubuntu build image (Build.Ubuntu.2204 -> Build.Ubuntu.2204.Amd64) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 06be8634-e5f3-4f62-97ad-a2691e47c43c
Contributor
|
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
Contributor
There was a problem hiding this comment.
Pull request overview
Backport to release/10.0 that moves Linux CI jobs off the Microsoft-hosted ubuntu-22.04 pool and onto the .NET-owned dnceng pools/images, aligning the branch’s pipeline behavior with main (per backports of #64842 and #65867).
Changes:
- Rename pipeline parameter
useHostedUbuntu→use1ESUbuntu(defaultfalse) and update Linux pool selection logic in the shareddefault-build.ymljob template. - Route public/internal Linux jobs to dnceng pools using
1es-ubuntu-2204(-open)whenuse1ESUbuntu: true, otherwiseBuild.Ubuntu.2204.Amd64(.Open). - Update CI entry pipelines and the Components E2E job to remove the old parameter and enable
use1ESUbuntu: truewhere intended (E2E + Linux ARM/ARM64 legs).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .azure/pipelines/quarantined-pr.yml | Drops the old useHostedUbuntu override so the job follows the updated default-build template’s defaults. |
| .azure/pipelines/jobs/default-build.yml | Implements use1ESUbuntu and updates Linux pool/image selection for public + internal templates. |
| .azure/pipelines/jobs/components-e2e-test-job.yml | Enables use1ESUbuntu: true for the Blazor E2E Linux job. |
| .azure/pipelines/ci.yml | Removes useHostedUbuntu usage and enables use1ESUbuntu for Linux ARM/ARM64 legs. |
| .azure/pipelines/ci-unofficial.yml | Same parameter cleanup + use1ESUbuntu enablement for Linux ARM/ARM64 legs. |
| .azure/pipelines/ci-public.yml | Same parameter cleanup + use1ESUbuntu enablement for Linux ARM/ARM64 legs. |
Member
Author
|
@wtgodbe Some aspnetcore servicing PRs are showing up in the "extra slow" bucket, due to waiting on hosted pool machines. This should reduce the pressure on those pools somewhat. |
wtgodbe
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Backport of #64842 and #65867 to
release/10.0.release/10.0predates these PRs, so itsdefault-build.ymlstill uses the olduseHostedUbuntu: truedefault, which routes Linux CI/PR jobs to theMicrosoft-hosted
vmImage: ubuntu-22.04pool. This includes the queue-boundComponents E2E ("Test: Blazor E2E tests on Linux") job and the Linux cross-build
legs, which incur multi-hour agent-queue waits on the finite hosted pool.
This change brings
release/10.0in line withmain: it renames the parameterto
use1ESUbuntu(defaultfalse) and routes Linux jobs to the .NET-owneddnceng pool (
$(DncEngPublicBuildPool)/$(DncEngInternalBuildPool)) with the1es-ubuntu-2204(-open)orBuild.Ubuntu.2204.Amd64(.Open)images.Backported PRs
useHostedUbuntuto false and use dnceng poolBuild.Ubuntu.2204→Build.Ubuntu.2204.Amd64)Changes
jobs/default-build.ymluseHostedUbuntu(defaulttrue) →use1ESUbuntu(defaultfalse); route public/internal Linux to the dnceng pool with1es-ubuntu-2204(-open)(whenuse1ESUbuntu: true) orBuild.Ubuntu.2204.Amd64(.Open)(else)jobs/components-e2e-test-job.ymluse1ESUbuntu: true(Blazor E2E)ci.yml,ci-public.yml,ci-unofficial.ymluseHostedUbuntu: false; adduse1ESUbuntu: trueto Linux ARM + ARM64quarantined-pr.ymluseHostedUbuntu: falseNotes
release/10.0has diverged from the PRs' base (the Components E2E job is splitinto
jobs/components-e2e-test-job.yml, and the Linux cross legs are structureddifferently). The resulting pool logic matches
main.release/10.0's Windows images (windows.vs2022.amd64[.open]) are intentionallyleft unchanged — the Windows image bump on
mainwas a separate PR, not part ofSwitch default for useHostedUbuntu to false and use dnceng pool #64842/Fix Ubuntu build image #65867.
useHostedUbuntureference would be anundeclared-parameter error, so every pipeline that passed it was updated. Verified
no
useHostedUbunturemains and all changed YAML files parse.Relates to dnceng AB#11633.