Skip to content

Conversation

@akoeplinger
Copy link
Member

It is the recommended image nowadays and was the only usage of the ubuntu image left in arcade.

To double check:

It is the recommended image nowadays and was the only usage of the ubuntu image left in arcade.
@akoeplinger akoeplinger requested a review from a team as a code owner January 22, 2026 16:58
@MichaelSimons
Copy link
Member

The reason Azure Linux was never used previously for the source-build legs is that Azure Linux doesn't source build .NET. Using a distro that source builds .NET is more advantageous. Based on that reasoning, I am not in favor of this change.

@akoeplinger
Copy link
Member Author

akoeplinger commented Jan 22, 2026

ok but didn't we already go that way when we merged #16456 ?
this is basically for the cases where we run on the host directly (which we don't expect to happen a lot, unless it's managed code where the OS difference doesn't really matter).

@MichaelSimons
Copy link
Member

ok but didn't we already go that way when we merged #16456 ? this is basically for the cases where we run on the host directly (which we don't expect to happen a lot, unless it's managed code where the OS difference doesn't really matter).

You are right, this is about the build agent. The container is what is really important here barring the issue described in dotnet/source-build#5463

@akoeplinger akoeplinger merged commit 5353d03 into main Jan 23, 2026
9 checks passed
@akoeplinger akoeplinger deleted the akoeplinger-patch-2 branch January 23, 2026 17:33
@akoeplinger
Copy link
Member Author

/backport to release/10.0

@github-actions
Copy link
Contributor

Started backporting to release/10.0 (link to workflow run)

@github-actions
Copy link
Contributor

@akoeplinger backporting to release/10.0 failed, the patch most likely resulted in conflicts. Please backport manually!

git am output
$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Use AzureLinux3 image for source-build.yml
Using index info to reconstruct a base tree...
M	eng/common/core-templates/job/source-build.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/common/core-templates/job/source-build.yml
CONFLICT (content): Merge conflict in eng/common/core-templates/job/source-build.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Use AzureLinux3 image for source-build.yml
Error: The process '/usr/bin/git' failed with exit code 128

Link to workflow output

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.

3 participants