Update source-build to Azure-Linux-3-Amd64 image#16456
Conversation
…-Amd64 Co-authored-by: mmitche <8725170+mmitche@users.noreply.github.com>
|
/backport to release/9.0 |
|
/backport to release/10.0 |
|
Started backporting to |
|
/backport to release/8.0 |
|
Started backporting to |
|
Started backporting to |
|
@mmitche backporting to git am output$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Creating an empty commit: Initial plan
Applying: Update source-build pool image from 1es-azurelinux-3 to Azure-Linux-3-Amd64
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 0002 Update source-build pool image from 1es-azurelinux-3 to Azure-Linux-3-Amd64
Error: The process '/usr/bin/git' failed with exit code 128 |
|
@mmitche backporting to git am output$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Creating an empty commit: Initial plan
Applying: Update source-build pool image from 1es-azurelinux-3 to Azure-Linux-3-Amd64
Using index info to reconstruct a base tree...
A eng/common/core-templates/job/source-build.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/common/templates-official/job/source-build.yml
CONFLICT (content): Merge conflict in eng/common/templates-official/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 0002 Update source-build pool image from 1es-azurelinux-3 to Azure-Linux-3-Amd64
Error: The process '/usr/bin/git' failed with exit code 128 |
|
@mmitche - Just so you are aware, the way the templates are defined is broken for the 1ES internal scenario because the SB specified container is being ignored - see dotnet/source-build#5463. While this change fixes the particular repos that are broken, there is a risk we will see future differences because the SB specified container is being ignored. See dotnet/source-build#5463 for more details. That all said, I don't see a high ROI in investing/improving this beyond your fix. |
Thanks for the heads up. |
Source-build jobs in internal 1ES pipelines fail because
1es-azurelinux-3lacks the Azure CLI, required for federated authentication viaAzureCLI@2task.Changes
eng/common/core-templates/job/source-build.ymlto useAzure-Linux-3-Amd64image instead of1es-azurelinux-3for internal 1ES pipeline poolsThe new image includes Azure CLI pre-installed, resolving authentication failures in source-build workflows.
To double check:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.