Skip to content

Switch default for useHostedUbuntu to false and use dnceng pool - #64842

Merged
akoeplinger merged 4 commits into
mainfrom
hostedubuntu
Mar 18, 2026
Merged

akoeplinger merged 4 commits into
mainfrom
hostedubuntu

Conversation

@akoeplinger

@akoeplinger akoeplinger commented Dec 20, 2025 •

Copy link
Copy Markdown
Member

Also rename useHostedUbuntu to use1ESUbuntu to better describe the purpose.

@github-actions github-actions Bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Dec 20, 2025
@akoeplinger

Copy link
Copy Markdown
Member Author

this needs to wait until dnceng makes the 1es-ubuntu-2204-open image available in public...

@akoeplinger
akoeplinger marked this pull request as ready for review March 17, 2026 16:15
@akoeplinger
akoeplinger requested review from a team and wtgodbe as code owners March 17, 2026 16:15
Copilot AI review requested due to automatic review settings March 17, 2026 16:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Azure Pipelines configuration to default Linux builds/tests to the dnceng pools (with an opt-in for 1ES Ubuntu image override) and refreshes the googletest submodule.

Changes:

  • Update googletest submodule pointer to a newer commit.
  • Replace useHostedUbuntu with use1ESUbuntu in the default build job template and update pool selection logic accordingly.
  • Adjust multiple pipeline YAMLs to remove useHostedUbuntu usages and enable use1ESUbuntu for ARM/ARM64 and E2E runs.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/submodules/googletest Bumps googletest submodule commit.
.azure/pipelines/quarantined-pr.yml Removes useHostedUbuntu parameter from job invocation.
.azure/pipelines/jobs/default-build.yml Introduces use1ESUbuntu parameter; routes Linux agents to dnceng pools with image-override demands.
.azure/pipelines/components-e2e-tests.yml Enables use1ESUbuntu for Linux Blazor E2E tests.
.azure/pipelines/ci.yml Removes useHostedUbuntu; enables use1ESUbuntu for Linux ARM/ARM64 builds.
.azure/pipelines/ci-unofficial.yml Removes useHostedUbuntu; enables use1ESUbuntu for Linux ARM/ARM64 builds.
.azure/pipelines/ci-public.yml Removes useHostedUbuntu; enables use1ESUbuntu for Linux ARM/ARM64 builds.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread .azure/pipelines/jobs/default-build.yml Resolved
Comment thread .azure/pipelines/jobs/default-build.yml Resolved
Comment thread .azure/pipelines/jobs/default-build.yml Resolved
Comment thread .azure/pipelines/jobs/default-build.yml Resolved
@akoeplinger
akoeplinger enabled auto-merge (squash) March 17, 2026 19:47
@akoeplinger
akoeplinger merged commit 81dc76b into main Mar 18, 2026
25 checks passed
@akoeplinger
akoeplinger deleted the hostedubuntu branch March 18, 2026 10:08
@dotnet-policy-service dotnet-policy-service Bot added this to the 11.0-preview3 milestone Mar 18, 2026
@wtgodbe wtgodbe mentioned this pull request Mar 19, 2026
mmitche added a commit that referenced this pull request Jul 15, 2026
Backport of #64842 and #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.

- #64842: Switch default for useHostedUbuntu to false and use dnceng pool
- #65867: Fix Ubuntu build image (Build.Ubuntu.2204 -> Build.Ubuntu.2204.Amd64)


Copilot-Session: 06be8634-e5f3-4f62-97ad-a2691e47c43c

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants