From 43b19d315b4bcc0e5d0942d145eeeee76e005de7 Mon Sep 17 00:00:00 2001 From: Naga Nandyala Date: Tue, 17 Nov 2026 17:26:28 +1100 Subject: [PATCH] {CI} Run macOS ESRP sign and notarize jobs on 1ES Windows pool 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> --- .../templates/macos/macos-sign-notarize-jobs.yml | 8 ++++++-- azure-pipelines.yml | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/templates/macos/macos-sign-notarize-jobs.yml b/.azure-pipelines/templates/macos/macos-sign-notarize-jobs.yml index 70ce2968e12..1ba0cd2aed6 100644 --- a/.azure-pipelines/templates/macos/macos-sign-notarize-jobs.yml +++ b/.azure-pipelines/templates/macos/macos-sign-notarize-jobs.yml @@ -10,6 +10,7 @@ # - condition: Job execution condition # - dependsOn: Jobs this depends on # - PythonVersion: Homebrew Python version for verification +# - WindowsPool: 1ES Windows agent pool for the ESRP sign/notarize jobs # # Artifacts Published: # - macos-cli-signed-notarized-arm64 @@ -43,6 +44,9 @@ parameters: - name: ESRPServiceConnection type: string default: 'ame_esrp_connection' + - name: WindowsPool + type: string + default: 'pool-windows-2022' jobs: # ============================================================================ @@ -165,7 +169,7 @@ jobs: Intel: Architecture: 'x86_64' pool: - vmImage: 'windows-latest' + name: ${{ parameters.WindowsPool }} timeoutInMinutes: 30 steps: @@ -413,7 +417,7 @@ jobs: Intel: Architecture: 'x86_64' pool: - vmImage: 'windows-latest' + name: ${{ parameters.WindowsPool }} timeoutInMinutes: 60 steps: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 43ff2a40852..9ab7325d966 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -657,6 +657,7 @@ jobs: BundleId: 'com.microsoft.azure.cli' PythonVersion: $(standalone_python_version) ESRPServiceConnection: 'ame_esrp_connection' + WindowsPool: ${{ variables.windows_pool }} UseCurrentPipelineArtifacts: true dependsOn: ['VerifyMacOSCli']