mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-06 05:01:07 -07:00
update esrp (#2257)
This commit is contained in:
parent
777b1a6e52
commit
c94a88ebad
3 changed files with 15 additions and 11 deletions
|
@ -55,7 +55,7 @@ jobs:
|
||||||
downloadDirectory: $(Build.SourcesDirectory)
|
downloadDirectory: $(Build.SourcesDirectory)
|
||||||
vstsFeed: WindowsInboxApps
|
vstsFeed: WindowsInboxApps
|
||||||
vstsFeedPackage: calculator-internals
|
vstsFeedPackage: calculator-internals
|
||||||
vstsPackageVersion: 0.0.109
|
vstsPackageVersion: 0.0.111
|
||||||
|
|
||||||
- task: NuGetToolInstaller@1
|
- task: NuGetToolInstaller@1
|
||||||
displayName: Use NuGet 6.x
|
displayName: Use NuGet 6.x
|
||||||
|
|
|
@ -91,7 +91,7 @@ jobs:
|
||||||
downloadDirectory: $(Build.SourcesDirectory)
|
downloadDirectory: $(Build.SourcesDirectory)
|
||||||
vstsFeed: WindowsInboxApps
|
vstsFeed: WindowsInboxApps
|
||||||
vstsFeedPackage: calculator-internals
|
vstsFeedPackage: calculator-internals
|
||||||
vstsPackageVersion: 0.0.109
|
vstsPackageVersion: 0.0.111
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: Generate MsixBundle mapping
|
displayName: Generate MsixBundle mapping
|
||||||
|
@ -120,20 +120,24 @@ jobs:
|
||||||
- pwsh: |
|
- pwsh: |
|
||||||
$configPath = "$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-codesign.json"
|
$configPath = "$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-codesign.json"
|
||||||
$config = Get-Content -Raw $configPath | ConvertFrom-Json
|
$config = Get-Content -Raw $configPath | ConvertFrom-Json
|
||||||
$esrpClientId = $config.AppRegistrationClientId
|
$esrpAppRegClientId = $config.AppRegistrationClientId
|
||||||
$esrpTenantId = $config.AppRegistrationTenantId
|
$esrpAppRegTenantId = $config.AppRegistrationClientId
|
||||||
echo ClientId:$esrpClientId, TenantId:$esrpTenantId
|
$esrpClientId = $config.EsrpClientId
|
||||||
|
echo AppRegistrationClientId:$esrpAppRegClientId, AppRegTenantId:$esrpAppRegTenantId, EsrpClientId:$esrpClientId
|
||||||
|
echo "##vso[task.setvariable variable=EsrpAppRegClientId]$esrpAppRegClientId"
|
||||||
|
echo "##vso[task.setvariable variable=EsrpAppRegTenantId]$esrpAppRegTenantId"
|
||||||
echo "##vso[task.setvariable variable=EsrpClientId]$esrpClientId"
|
echo "##vso[task.setvariable variable=EsrpClientId]$esrpClientId"
|
||||||
echo "##vso[task.setvariable variable=EsrpTenantId]$esrpTenantId"
|
|
||||||
displayName: Get ESRP config
|
displayName: Get ESRP config
|
||||||
|
|
||||||
- task: EsrpCodeSigning@5
|
- task: EsrpCodeSigning@5
|
||||||
displayName: Send msixbundle to code signing service
|
displayName: Send msixbundle to code signing service
|
||||||
inputs:
|
inputs:
|
||||||
ConnectedServiceName: Essential Experiences Codesign ARM
|
ConnectedServiceName: Essential Experiences Codesign PME
|
||||||
AppRegistrationClientId: $(EsrpClientId)
|
UseMSIAuthentication: true
|
||||||
AppRegistrationTenantId: $(EsrpTenantId)
|
AppRegistrationClientId: $(EsrpAppRegClientId)
|
||||||
AuthAKVName: EE-CodeSignKeyVault
|
AppRegistrationTenantId: $(EsrpAppRegTenantId)
|
||||||
|
EsrpClientId: $(EsrpClientId)
|
||||||
|
AuthAKVName: EE-Apps-CodeSign-KV
|
||||||
AuthCertName: EE-Auth-Cert
|
AuthCertName: EE-Auth-Cert
|
||||||
AuthSignCertName: EE-Codesign-Cert
|
AuthSignCertName: EE-Codesign-Cert
|
||||||
FolderPath: $(Build.ArtifactStagingDirectory)\msixBundle
|
FolderPath: $(Build.ArtifactStagingDirectory)\msixBundle
|
||||||
|
|
|
@ -35,7 +35,7 @@ jobs:
|
||||||
downloadDirectory: $(Build.SourcesDirectory)
|
downloadDirectory: $(Build.SourcesDirectory)
|
||||||
vstsFeed: WindowsInboxApps
|
vstsFeed: WindowsInboxApps
|
||||||
vstsFeedPackage: calculator-internals
|
vstsFeedPackage: calculator-internals
|
||||||
vstsPackageVersion: 0.0.109
|
vstsPackageVersion: 0.0.111
|
||||||
|
|
||||||
- pwsh: |
|
- pwsh: |
|
||||||
$configPath = "$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-auth.json"
|
$configPath = "$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-auth.json"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue