Skip to content

Commit

Permalink
Use V5 ESRP task with backing MI + AKV (dotnet#102542)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoyosjs authored and steveharter committed May 28, 2024
1 parent 1a79e6d commit dfdfbbe
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions eng/pipelines/coreclr/templates/sign-diagnostic-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,23 @@ parameters:
timeoutInMinutes: ''

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/'))) }}:
- ${{ 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/'), startswith(variables['Build.SourceBranch'], 'refs/heads/reltest/'))) }}:
- task: UseDotNet@2
displayName: Install .NET 6 SDK for signing.
inputs:
packageType: 'sdk'
version: '6.0.x'
installationPath: '$(Agent.TempDirectory)/dotnet'

- task: EsrpCodeSigning@4
- 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

0 comments on commit dfdfbbe

Please sign in to comment.