Skip to content

Update CI image from 1es-azurelinux-3 to build.azurelinux.3.amd64#15330

Merged
radical merged 2 commits intomainfrom
copilot/update-to-new-build-azurelinux-image
Mar 17, 2026
Merged

Update CI image from 1es-azurelinux-3 to build.azurelinux.3.amd64#15330
radical merged 2 commits intomainfrom
copilot/update-to-new-build-azurelinux-image

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 17, 2026

Description

Switch the native build/sign pipeline's Linux pool image from 1es-azurelinux-3 to build.azurelinux.3.amd64. The latter is the standard lighter-weight image used across dotnet repos — 1es-azurelinux-3 pulls unnecessary extra packages, increasing image size and pull time.

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No
  • Does the change require an update in our Aspire docs?
Original prompt

This section details on the original issue you should resolve

<issue_title>[CI] Update to new build.azurelinux.3.amd64 image</issue_title>
<issue_description>@radical FYI we're using build.azurelinux.3.amd64 pretty much everywhere else. The 1es-azurelinux-3 contains a lot of additional stuff which we typically don't need (makes the image bigger and slower to pull)

Originally posted by @akoeplinger in #15055 (comment)
</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Co-authored-by: radical <1472+radical@users.noreply.github.com>
Copilot AI changed the title [WIP] [CI] Update to new build.azurelinux.3.amd64 image Update CI image from 1es-azurelinux-3 to build.azurelinux.3.amd64 Mar 17, 2026
Copilot AI requested a review from radical March 17, 2026 18:51
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15330

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15330"

@radical radical marked this pull request as ready for review March 17, 2026 20:16
Copilot AI review requested due to automatic review settings March 17, 2026 20:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the native build/sign pipeline configuration to use the standard .NET repo Linux pool image (build.azurelinux.3.amd64) instead of 1es-azurelinux-3, reducing image size and pull time for CI.

Changes:

  • Switch Linux pool image in the native build/sign pipeline from 1es-azurelinux-3 to build.azurelinux.3.amd64.

@radical radical requested review from eerhardt and joperezr March 17, 2026 20:21
@radical radical enabled auto-merge (squash) March 17, 2026 20:43
@radical
Copy link
Copy Markdown
Member

radical commented Mar 17, 2026

Validated with an internal build.

@radical radical merged commit 1148643 into main Mar 17, 2026
14 checks passed
@radical radical deleted the copilot/update-to-new-build-azurelinux-image branch March 17, 2026 21:00
@dotnet-policy-service dotnet-policy-service bot added this to the 13.3 milestone Mar 17, 2026
@joperezr
Copy link
Copy Markdown
Member

/backport to release/13.2

@github-actions
Copy link
Copy Markdown
Contributor

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

@aspire-repo-bot
Copy link
Copy Markdown

@joperezr backporting to release/13.2 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

Creating an empty commit: Initial plan
Applying: Update CI image from 1es-azurelinux-3 to build.azurelinux.3.amd64
Using index info to reconstruct a base tree...
M	eng/pipelines/templates/build_sign_native.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/pipelines/templates/build_sign_native.yml
CONFLICT (content): Merge conflict in eng/pipelines/templates/build_sign_native.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 0002 Update CI image from 1es-azurelinux-3 to build.azurelinux.3.amd64
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.

[CI] Update to new build.azurelinux.3.amd64 image

5 participants