From 7bd6b74ca99f9fa2bca4055520276e9398bb9bcc Mon Sep 17 00:00:00 2001 From: "Gavin Barron (from Dev Box)" Date: Wed, 14 Oct 2026 10:27:56 -0700 Subject: [PATCH 1/2] ci(hidi): route container deployment jobs to Linux Set the explicit 1ES pool on stable and preview container deployment jobs instead of ignored deploy hooks. Preserve the Windows default and disabled preview publishing. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: d43aad04-6ee4-4dc3-86d2-addcfec2ad11 --- .azure-pipelines/hidi-release.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines/hidi-release.yml b/.azure-pipelines/hidi-release.yml index 75f98939c..9def061a7 100644 --- a/.azure-pipelines/hidi-release.yml +++ b/.azure-pipelines/hidi-release.yml @@ -322,6 +322,10 @@ extends: $(Pipeline.Workspace)\hidi\hidi-win-x64-$(HidiReleaseVersion).zip addChangeLog: false - deployment: publish_container + pool: + name: Azure-Pipelines-1ESPT-ExDShared + image: ubuntu-latest + os: linux templateContext: type: releaseJob isProduction: true @@ -333,8 +337,6 @@ extends: strategy: runOnce: deploy: - pool: - vmImage: ubuntu-latest steps: - pwsh: | $ErrorActionPreference = 'Stop' @@ -407,6 +409,10 @@ extends: condition: and(succeeded(), eq(variables.hidiPublishingEnabled, 'true'), eq(variables.hidiPreviewPublishingEnabled, 'true'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) jobs: - deployment: publish_preview_container + pool: + name: Azure-Pipelines-1ESPT-ExDShared + image: ubuntu-latest + os: linux templateContext: type: releaseJob isProduction: true @@ -418,8 +424,6 @@ extends: strategy: runOnce: deploy: - pool: - vmImage: ubuntu-latest steps: - pwsh: | $version = ([xml](Get-Content src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj)).Project.PropertyGroup.Version From 94a39a57c3f0bde5721cbdea88b2a2dc98eebff4 Mon Sep 17 00:00:00 2001 From: "Gavin Barron (from Dev Box)" Date: Wed, 14 Oct 2026 10:53:07 -0700 Subject: [PATCH 2/2] ci(hidi): use microsoftgraph GitHub release connection Use the microsoftgraph (22) service connection for Hidi release artifact attachment. Preserve container deployment pools and all other pipeline settings. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: d43aad04-6ee4-4dc3-86d2-addcfec2ad11 --- .azure-pipelines/hidi-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/hidi-release.yml b/.azure-pipelines/hidi-release.yml index 9def061a7..706b956d8 100644 --- a/.azure-pipelines/hidi-release.yml +++ b/.azure-pipelines/hidi-release.yml @@ -311,7 +311,7 @@ extends: - task: GitHubRelease@1 displayName: Attach signed hidi release artifacts inputs: - gitHubConnection: Github-MaggieKimani1 + gitHubConnection: 'microsoftgraph (22)' action: edit tagSource: userSpecifiedTag tag: 'hidi-v$(HidiReleaseVersion)'