From 0d9bf6a9090abb3a247781488650999b3bb99d71 Mon Sep 17 00:00:00 2001 From: oneonezhang Date: Wed, 19 Feb 2025 13:03:23 +0800 Subject: [PATCH] Switch to PME signing service (#2298) * update package version * temp * service connection * reset --- .../templates/build-single-architecture.yaml | 2 +- build/pipelines/templates/package-msixbundle.yaml | 2 +- build/pipelines/templates/release-vpack.yaml | 11 ++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/build/pipelines/templates/build-single-architecture.yaml b/build/pipelines/templates/build-single-architecture.yaml index 28c6ceca..854d7ebf 100644 --- a/build/pipelines/templates/build-single-architecture.yaml +++ b/build/pipelines/templates/build-single-architecture.yaml @@ -55,7 +55,7 @@ jobs: downloadDirectory: $(Build.SourcesDirectory) vstsFeed: WindowsInboxApps vstsFeedPackage: calculator-internals - vstsPackageVersion: 0.0.114 + vstsPackageVersion: 0.0.117 - task: NuGetToolInstaller@1 displayName: Use NuGet 6.x diff --git a/build/pipelines/templates/package-msixbundle.yaml b/build/pipelines/templates/package-msixbundle.yaml index 9696c4ce..47677377 100644 --- a/build/pipelines/templates/package-msixbundle.yaml +++ b/build/pipelines/templates/package-msixbundle.yaml @@ -91,7 +91,7 @@ jobs: downloadDirectory: $(Build.SourcesDirectory) vstsFeed: WindowsInboxApps vstsFeedPackage: calculator-internals - vstsPackageVersion: 0.0.114 + vstsPackageVersion: 0.0.117 - task: PowerShell@2 displayName: Generate MsixBundle mapping diff --git a/build/pipelines/templates/release-vpack.yaml b/build/pipelines/templates/release-vpack.yaml index fbe15679..dfc5aa5e 100644 --- a/build/pipelines/templates/release-vpack.yaml +++ b/build/pipelines/templates/release-vpack.yaml @@ -28,6 +28,15 @@ jobs: contents: Microsoft.WindowsCalculator_8wekyb3d8bbwe.msixbundle targetFolder: $(Pipeline.Workspace)\vpack\msixBundle + - task: AzureCLI@2 + displayName: Register SBOM sign service connection + inputs: + azureSubscription: Essential Experiences SBOMSign PME + scriptType: ps + scriptLocation: inlineScript + inlineScript: Write-Host "Registering service connection for current run" + visibleAzLogin: false + - task: UniversalPackages@0 displayName: Download internals package inputs: @@ -35,7 +44,7 @@ jobs: downloadDirectory: $(Build.SourcesDirectory) vstsFeed: WindowsInboxApps vstsFeedPackage: calculator-internals - vstsPackageVersion: 0.0.114 + vstsPackageVersion: 0.0.117 - pwsh: | $configPath = "$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-auth.json"