Skip to content

Use azurelinux 3 build image instead of 1es-ubuntu-2204#2031

Merged
lbussell merged 1 commit intodotnet:mainfrom
akoeplinger:patch-1
Mar 17, 2026
Merged

Use azurelinux 3 build image instead of 1es-ubuntu-2204#2031
lbussell merged 1 commit intodotnet:mainfrom
akoeplinger:patch-1

Conversation

@akoeplinger
Copy link
Member

Avoids disk space issues on the image

Avoids disk space issues on the image
@akoeplinger akoeplinger requested a review from a team as a code owner March 17, 2026 19:18
@akoeplinger
Copy link
Member Author

akoeplinger commented Mar 17, 2026

/cc @mthalman @lbussell

from what I can see this is also the last one that didn't run on AZL3: #1835

Copy link
Member

@lbussell lbussell left a comment

Choose a reason for hiding this comment

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

Wow, I really thought I already did this. I guess I did only public and not internal.

@lbussell lbussell merged commit a68feda into dotnet:main Mar 17, 2026
20 checks passed
@akoeplinger akoeplinger deleted the patch-1 branch March 17, 2026 21:32
lbussell added a commit that referenced this pull request Mar 19, 2026
The Azure Linux 3 agent image migration (#2031) broke the Sign stage.
The PowerShell version in Azure Linux 3 depends on .NET 9.0. The
MicroBuild install task depends on the .NET 8.0 SDK. `UseDotNet@2` sets
`DOTNET_ROOT` globally, which causes PowerShell to fail to run.

This PR fixes the problem by rearranging/refactoring the initialization
stages so that `init-signing.yml` is ran after `init-common.yml`, so
that `init-signing.yml` has access to `Install-DotNetSdk.ps1`. Then, we
use `Install-DotNetSdk.ps1` to install .NET 8 withut setting the PATH,
and instead set PATH only for the MicroBuild plugin install task.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants