Skip to content

Commit c94a88e

Browse files
authored
update esrp (#2257)
1 parent 777b1a6 commit c94a88e

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

build/pipelines/templates/build-single-architecture.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
downloadDirectory: $(Build.SourcesDirectory)
5656
vstsFeed: WindowsInboxApps
5757
vstsFeedPackage: calculator-internals
58-
vstsPackageVersion: 0.0.109
58+
vstsPackageVersion: 0.0.111
5959

6060
- task: NuGetToolInstaller@1
6161
displayName: Use NuGet 6.x

build/pipelines/templates/package-msixbundle.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
downloadDirectory: $(Build.SourcesDirectory)
9292
vstsFeed: WindowsInboxApps
9393
vstsFeedPackage: calculator-internals
94-
vstsPackageVersion: 0.0.109
94+
vstsPackageVersion: 0.0.111
9595

9696
- task: PowerShell@2
9797
displayName: Generate MsixBundle mapping
@@ -120,20 +120,24 @@ jobs:
120120
- pwsh: |
121121
$configPath = "$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-codesign.json"
122122
$config = Get-Content -Raw $configPath | ConvertFrom-Json
123-
$esrpClientId = $config.AppRegistrationClientId
124-
$esrpTenantId = $config.AppRegistrationTenantId
125-
echo ClientId:$esrpClientId, TenantId:$esrpTenantId
123+
$esrpAppRegClientId = $config.AppRegistrationClientId
124+
$esrpAppRegTenantId = $config.AppRegistrationClientId
125+
$esrpClientId = $config.EsrpClientId
126+
echo AppRegistrationClientId:$esrpAppRegClientId, AppRegTenantId:$esrpAppRegTenantId, EsrpClientId:$esrpClientId
127+
echo "##vso[task.setvariable variable=EsrpAppRegClientId]$esrpAppRegClientId"
128+
echo "##vso[task.setvariable variable=EsrpAppRegTenantId]$esrpAppRegTenantId"
126129
echo "##vso[task.setvariable variable=EsrpClientId]$esrpClientId"
127-
echo "##vso[task.setvariable variable=EsrpTenantId]$esrpTenantId"
128130
displayName: Get ESRP config
129131
130132
- task: EsrpCodeSigning@5
131133
displayName: Send msixbundle to code signing service
132134
inputs:
133-
ConnectedServiceName: Essential Experiences Codesign ARM
134-
AppRegistrationClientId: $(EsrpClientId)
135-
AppRegistrationTenantId: $(EsrpTenantId)
136-
AuthAKVName: EE-CodeSignKeyVault
135+
ConnectedServiceName: Essential Experiences Codesign PME
136+
UseMSIAuthentication: true
137+
AppRegistrationClientId: $(EsrpAppRegClientId)
138+
AppRegistrationTenantId: $(EsrpAppRegTenantId)
139+
EsrpClientId: $(EsrpClientId)
140+
AuthAKVName: EE-Apps-CodeSign-KV
137141
AuthCertName: EE-Auth-Cert
138142
AuthSignCertName: EE-Codesign-Cert
139143
FolderPath: $(Build.ArtifactStagingDirectory)\msixBundle

build/pipelines/templates/release-vpack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
downloadDirectory: $(Build.SourcesDirectory)
3636
vstsFeed: WindowsInboxApps
3737
vstsFeedPackage: calculator-internals
38-
vstsPackageVersion: 0.0.109
38+
vstsPackageVersion: 0.0.111
3939

4040
- pwsh: |
4141
$configPath = "$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-auth.json"

0 commit comments

Comments
 (0)