Skip to content

Commit

Permalink
fix: ESPR dotnet code signing (#5081)
Browse files Browse the repository at this point in the history
* fix: ESPR dotnet code signing

* only code sign bin

* fix nuget path
  • Loading branch information
bassmang authored Jan 17, 2025
1 parent a1fdbd9 commit 0363388
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .azure/pipelines/templates/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,16 @@ jobs:
inputs:
SourceFolder: '$(build.sourcesdirectory)'
Contents: |
**/AutoGen*.dll
**/Microsoft.AutoGen.*.dll
**/bin/**/AutoGen*.dll
**/bin/**/Microsoft.AutoGen.*.dll
TargetFolder: '$(build.artifactstagingdirectory)\codesign'
CleanTargetFolder: true
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
displayName: 'Codesign: ESRP CodeSigning'
displayName: 'Codesign: ESRP CodeSigning (dlls)'
inputs:
ConnectedServiceName: 'AI Frontiers ESRP'
AppRegistrationClientId: 'c1e7a5c0-ee6b-4cec-9e11-4dc3f4670042'
AppRegistrationTenantId: '975f013f-7f24-47e8-a7d3-abc4752bf346'
#EsrpClientId: '7129dd35-ad94-49a9-98c7-eb4cf3cd36a9'
#UseMSIAuthentication: true
AuthAKVName: 'aif-autogen-esrp-kv'
AuthCertName: 'AIF-PME-InfrastructureAuth'
AuthSignCertName: 'AutoGenPublishESRPPKI' # this variable is only needed for codesign
Expand Down Expand Up @@ -222,12 +220,10 @@ jobs:
ConnectedServiceName: 'AI Frontiers ESRP'
AppRegistrationClientId: 'c1e7a5c0-ee6b-4cec-9e11-4dc3f4670042'
AppRegistrationTenantId: '975f013f-7f24-47e8-a7d3-abc4752bf346'
EsrpClientId: '7129dd35-ad94-49a9-98c7-eb4cf3cd36a9'
UseMSIAuthentication: true
AuthAKVName: 'aif-autogen-esrp-kv'
#AuthCertName: 'AutoGenPublishESRPPKI'
AuthCertName: 'AIF-PME-InfrastructureAuth'
AuthSignCertName: 'AutoGenPublishESRPPKI' # this variable is only needed for codesign
FolderPath: '$(build.sourcesdirectory)/Artifacts/${{parameters.build_configuration}}'
FolderPath: '$(build.sourcesdirectory)/dotnet/artifacts/package/${{parameters.build_configuration}}'
Pattern: '*.nupkg'
signConfigType: inlineSignParams
inlineOperation: |
Expand Down

0 comments on commit 0363388

Please sign in to comment.