Skip to content

Commit

Permalink
reduce signing tasks, esrp v1->4 (#2429)
Browse files Browse the repository at this point in the history
  • Loading branch information
kllysng authored Dec 28, 2023
1 parent f7ccbb4 commit 4189db3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 74 deletions.
2 changes: 1 addition & 1 deletion build/releaseBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
filePath: ./pack.ps1
arguments: '-buildType $(BuildConfiguration) C:\hostedtoolcache\windows\dotnet'

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: EsrpCodeSigning@4
displayName: 'Sign Nuget Packages'
inputs:
ConnectedServiceName: 'IDDP Code Signing'
Expand Down
4 changes: 2 additions & 2 deletions build/template-sign-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ parameters:
BuildConfiguration: ''

steps:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: EsrpCodeSigning@4
displayName: 'Sign ${{ parameters.LibraryName }}'
inputs:
ConnectedServiceName: 'IDDP Code Signing'
FolderPath: 'src\${{ parameters.LibraryName }}\bin\${{ parameters.BuildConfiguration }}'
FolderPath: '$(Build.SourcesDirectory)\src'
Pattern: ${{ parameters.LibraryName }}.dll
signConfigType: inlineSignParams
inlineOperation: |
Expand Down
72 changes: 1 addition & 71 deletions build/template-sign-wilson-7x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,77 +11,7 @@ steps:

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.JsonWebTokens'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.Logging'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.Protocols'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.Protocols.WsFederation'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.Tokens'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.Tokens.Saml'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.Xml'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.Protocols.OpenIdConnect'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.Protocols.SignedHttpRequest'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.KeyVaultExtensions'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.ManagedKeyVaultSecurityKey'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.Validators'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.Abstractions'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.LoggingExtensions'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- template: template-sign-binary.yml
parameters:
LibraryName: 'Microsoft.IdentityModel.TestExtensions'
LibraryName: 'Microsoft.IdentityModel*'
BuildConfiguration: ${{ parameters.BuildConfiguration }}

- task: PowerShell@1
Expand Down

0 comments on commit 4189db3

Please sign in to comment.