Skip to content

{CI} Run macOS ESRP sign and notarize jobs on 1ES Windows pool - #34440

Merged
Naga Nandyala (naga-nandyala) merged 1 commit into
Azure:devfrom
naga-nandyala:macos-esrp-1es-pool
Nov 20, 2026
Merged

Naga Nandyala (naga-nandyala) merged 1 commit into
Azure:devfrom
naga-nandyala:macos-esrp-1es-pool

Conversation

@naga-nandyala

@naga-nandyala Naga Nandyala (naga-nandyala) commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

🤖 PR Validation — ️✔️ All clear

Breaking Changes Tests Suppressions
️✔️ None ️✔️ 130/130 ️✔️ None

Related command
Not applicable; CI and packaging pipeline change only.

Description
The macOS SignBinaries and Notarize jobs in .azure-pipelines/templates/macos/macos-sign-notarize-jobs.yml currently run on the Microsoft-hosted windows-latest image. Every other Windows job in azure-pipelines.yml runs on the 1ES Hosted Pool pool-windows-2022 through the shared windows_pool variable.

This PR:

  • Adds a WindowsPool template parameter, defaulting to pool-windows-2022.
  • Runs both ESRP jobs (MacAppDeveloperSign and MacAppNotarize) on pool.name: ${{ parameters.WindowsPool }} instead of vmImage: windows-latest.
  • Passes ${{ variables.windows_pool }} from azure-pipelines.yml.

The macOS analysis, bundle-creation, and final-tarball jobs stay on the hosted macOS images because there is no 1ES macOS pool. ESRP task inputs, service connection, and variable groups are unchanged.

pool-windows-2022 is owned by 1ES Resource Management and has a queue in the release project, where these jobs run. The same EsrpCodeSigning@6 MacAppDeveloperSign and MacAppNotarize operations already run on this pool in another release-project pipeline.

Testing Guide

  • Both changed YAML files parse, and the template resolves the new pool for SignBinaries and Notarize only.
  • Pending: run the pipeline in the ADO release project and confirm that the sign, notarize, and Verify signing & notarization steps pass on the 1ES pool.

History Notes
Internal CI change; no CLI release note required.


This checklist is used to make sure that common guidelines for a pull request are followed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The pending release-project pipeline run must verify the new agent pool’s authorization, ESRP resource access, and successful signing/notarization for both architectures, which repository inspection cannot establish.

No open issues 🎉

What changed in this PR

Moves the Windows-based ESRP signing and notarization jobs for macOS packages to the shared 1ES Windows pool, aligning them with other Windows jobs in the pipeline.

Changes:

  • Adds a WindowsPool template parameter defaulting to pool-windows-2022 and applies it to both ESRP jobs.
  • Passes the shared windows_pool variable from the main pipeline.
  • Leaves hosted macOS jobs and ESRP task configuration unchanged.

Execution validation in the Azure DevOps release project remains pending.

File Description
azure-pipelines.yml Passes the shared Windows pool to the signing and notarization template.
.azure-pipelines/​templates/​macos/​macos-sign-notarize-jobs.yml Defines and documents WindowsPool; switches both ESRP jobs to the named pool.

Review effort: Balanced

@yonzhan

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

Move the SignBinaries and Notarize jobs in macos-sign-notarize-jobs.yml
from the Microsoft-hosted windows-latest image to the 1ES Hosted Pool
pool-windows-2022 via a new WindowsPool template parameter. The main
pipeline passes the shared windows_pool variable.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@naga-nandyala
Naga Nandyala (naga-nandyala) merged commit 734b77e into Azure:dev Nov 20, 2026
52 checks passed
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.

5 participants