Skip to content

Update TemplateEngine and PR builds from Ubuntu 20.04 to 22.04 and fix Windows image references#53012

Draft
Copilot wants to merge 7 commits intorelease/8.0.1xxfrom
copilot/update-templating-image
Draft

Update TemplateEngine and PR builds from Ubuntu 20.04 to 22.04 and fix Windows image references#53012
Copilot wants to merge 7 commits intorelease/8.0.1xxfrom
copilot/update-templating-image

Conversation

Copy link
Contributor

Copilot AI commented Feb 12, 2026

The 1es-ubuntu-2004-open image is no longer available in NetCore-Svc-Public pool, causing TemplateEngine PR builds to fail. Updated to Ubuntu 22.04 for both build pool images and Helix test queues. Also fixed Windows image references to use stable VS2022 images.

Changes

Updated eng/template-engine.yml:

  • Agent OS: Ubuntu_20_04_TemplateEngineUbuntu_22_04_TemplateEngine
  • Build images: 1es-ubuntu-2004-openbuild.ubuntu.2204.amd64.open (public), 1es-ubuntu-2004build.ubuntu.2204.amd64 (internal)
  • Helix queues: ubuntu.2004.amd64.openubuntu.2204.amd64.open and Ubuntu.2004.Amd64Ubuntu.2204.Amd64
  • Windows build images: windows.vs2022preview.amd64[-open]windows.vs2022.amd64[-open] (removed preview)

Updated .vsts-pr.yml:

  • Agent OS: Kept at Ubuntu_22_04
  • Build images: Kept at ubuntu-22.04/build.ubuntu.2204.amd64
  • Helix queues: ubuntu.2404.amd64.openubuntu.2204.amd64.open and Ubuntu.2404.Amd64Ubuntu.2204.Amd64

These changes use Ubuntu 22.04 consistently for both build pool images (where code is built) and Helix test queues (where tests are executed), with correct image names (build.ubuntu.2204.amd64.open for public builds, build.ubuntu.2204.amd64 for internal builds).


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
Copilot AI changed the title [WIP] Update templating test leg to use newer image Update TemplateEngine builds from Ubuntu 20.04 to 22.04 Feb 12, 2026
Copilot AI requested a review from marcpopMSFT February 12, 2026 21:18
@marcpopMSFT
Copy link
Member

@copilot Can you update to 24.04 instead? Can you check the .PR yaml to ensure we aren't on any old versions for PRs as well.

Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 12, 2026

@copilot Can you update to 24.04 instead? Can you check the .PR yaml to ensure we aren't on any old versions for PRs as well.

Updated to Ubuntu 24.04 in commit 46d2072. Changes include:

eng/template-engine.yml: Ubuntu_20_04_TemplateEngine → Ubuntu_24_04_TemplateEngine with 1es-ubuntu-2404-open/1es-ubuntu-2404 images

.vsts-pr.yml: Ubuntu_22_04 → Ubuntu_24_04 with ubuntu-24.04/build.ubuntu.2404.amd64 images

All helix queues updated to ubuntu.2404/Ubuntu.2404 to match.

Copilot AI changed the title Update TemplateEngine builds from Ubuntu 20.04 to 22.04 Update TemplateEngine and PR builds from Ubuntu 20.04/22.04 to 24.04 Feb 12, 2026
@marcpopMSFT
Copy link
Member

@agocke a lot of the downlevel (3.1 or older) linker tests failed with the following message:
FailFast: Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.

I assume your recommendation is just to disable these tests. We have to update the ubuntu version as 2004 is no longer supported in the lab but it appears targeting downlevel on newer ubuntu for linker is not supported. I think I recall us having this conversation before when we updated the ubuntu version in other repos.

@NikolaMilosavljevic
Copy link
Member

@copilot Update eng/template-engine.yml - fix references to windows.vs2022preview.amd64.open and windows.vs2022preview.amd64. They should be: windows.vs2022.amd64.open and windows.vs2022.amd64, respectively.

Co-authored-by: NikolaMilosavljevic <9423618+NikolaMilosavljevic@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 17, 2026

@copilot Update eng/template-engine.yml - fix references to windows.vs2022preview.amd64.open and windows.vs2022preview.amd64. They should be: windows.vs2022.amd64.open and `windows.vs2022.amd6...

Fixed in commit 1c2b1e8. Updated ImageOverride references from windows.vs2022preview.amd64.open to windows.vs2022.amd64.open and windows.vs2022preview.amd64 to windows.vs2022.amd64.

@NikolaMilosavljevic
Copy link
Member

@copilot - there are no 24.04 build images, we need to use 22.04. Update pool images, i.e. demands and vmImage properties of the pool parameter. Update corresponding agentOs parameter accordingly. Do not update helixTargetQueue values - they are fine now.

…4.04

Co-authored-by: NikolaMilosavljevic <9423618+NikolaMilosavljevic@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 18, 2026

@copilot - there are no 24.04 build images, we need to use 22.04. Update pool images, i.e. demands and vmImage properties of the pool parameter. Update corresponding agentOs parameter accordin...

Fixed in commit 327e7fc. Reverted pool images to Ubuntu 22.04:

eng/template-engine.yml: agentOs Ubuntu_22_04_TemplateEngine with 1es-ubuntu-2204-open/1es-ubuntu-2204

.vsts-pr.yml: agentOs Ubuntu_22_04 with ubuntu-22.04/build.ubuntu.2204.amd64

Helix queues remain at ubuntu.2404/Ubuntu.2404 as requested.

Copilot AI changed the title Update TemplateEngine and PR builds from Ubuntu 20.04/22.04 to 24.04 and fix Windows image references Update TemplateEngine and PR builds from Ubuntu 20.04 to 22.04 with 24.04 Helix queues and fix Windows image references Feb 18, 2026
@NikolaMilosavljevic
Copy link
Member

@copilot - 1es-ubuntu-2204-open does not exist - replace it with build.ubuntu.2204.amd64.open

…s-ubuntu-2204-open

Co-authored-by: NikolaMilosavljevic <9423618+NikolaMilosavljevic@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 19, 2026

@copilot - 1es-ubuntu-2204-open does not exist - replace it with build.ubuntu.2204.amd64.open

Fixed in commit 183fe8e. Updated image names:

Public: 1es-ubuntu-2204-openbuild.ubuntu.2204.amd64.open

Internal: 1es-ubuntu-2204build.ubuntu.2204.amd64

@NikolaMilosavljevic
Copy link
Member

@copilot update helix images to use ubuntu 22.04 instead of 24.04

Co-authored-by: NikolaMilosavljevic <9423618+NikolaMilosavljevic@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 19, 2026

@copilot update helix images to use ubuntu 22.04 instead of 24.04

Fixed in commit 73a289c. Updated Helix queues to Ubuntu 22.04:

eng/template-engine.yml: ubuntu.2404 → ubuntu.2204, Ubuntu.2404.Amd64 → Ubuntu.2204.Amd64

.vsts-pr.yml: ubuntu.2404.amd64.open → ubuntu.2204.amd64.open, Ubuntu.2404.Amd64 → Ubuntu.2204.Amd64

Copilot AI changed the title Update TemplateEngine and PR builds from Ubuntu 20.04 to 22.04 with 24.04 Helix queues and fix Windows image references Update TemplateEngine and PR builds from Ubuntu 20.04 to 22.04 and fix Windows image references Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments