Skip to content

Commit

Permalink
[release/6.0] Use V5 ESRP task with backing MI + AKV (#102588)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoyosjs authored May 24, 2024
1 parent 406a871 commit cb188b8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions eng/pipelines/coreclr/templates/sign-diagnostic-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ parameters:

steps:
- ${{ if and(eq(parameters.isOfficialBuild, true), ne(variables['Build.Reason'], 'PullRequest'), or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'))) }}:
- task: EsrpCodeSigning@1
- task: EsrpCodeSigning@5
displayName: Sign Diagnostic Binaries
inputs:
ConnectedServiceName: 'dotnetesrp-diagnostics-dnceng'
ConnectedServiceName: 'diagnostics-esrp-kvcertuser'
AppRegistrationClientId: '2234cdec-a13f-4bb2-aa63-04c57fd7a1f9'
AppRegistrationTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'
AuthAKVName: 'clrdiag-esrp-id'
AuthCertName: 'dotnetesrp-diagnostics-aad-ssl-cert'
AuthSignCertName: 'dotnet-diagnostics-esrp-pki-onecert'
FolderPath: ${{ parameters.basePath }}
Pattern: |
**/mscordaccore*.dll
Expand Down Expand Up @@ -41,6 +46,7 @@ steps:
SessionTimeout: ${{ parameters.timeoutInMinutes }}
MaxConcurrency: '50'
MaxRetryAttempts: '5'
PendingAnalysisWaitTimeoutMinutes: '5'

- powershell: |
$filesToSign = $(Get-ChildItem -Recurse ${{ parameters.basePath }} -Include mscordaccore*.dll, mscordbi*.dll)
Expand Down

0 comments on commit cb188b8

Please sign in to comment.