From fe72c90b85bde5eb59b6c2281a4f00a6b0d0728c Mon Sep 17 00:00:00 2001 From: Jacob Alber Date: Fri, 10 Jan 2025 13:35:53 -0500 Subject: [PATCH] feat: Attach codesign links to pipeline yaml --- .azure/pipelines/templates/build.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.azure/pipelines/templates/build.yaml b/.azure/pipelines/templates/build.yaml index 0b7dbe990c38..cd85a9c65a76 100644 --- a/.azure/pipelines/templates/build.yaml +++ b/.azure/pipelines/templates/build.yaml @@ -89,7 +89,7 @@ jobs: inputs: targetType: 'inline' script: | - dotnet nuget locals all --clear + dotnet nuget locals all --clear dotnet workload install aspire - ${{ if eq(variables.runCodeQL3000, 'true') }}: - task: CodeQL3000Init@0 @@ -129,10 +129,15 @@ jobs: src/**/bin/${{parameters.build_configuration}}/**/Microsoft.AutoGen.*.dll TargetFolder: '$(build.artifactstagingdirectory)\codesign' CleanTargetFolder: true - - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1 + - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5 displayName: 'Codesign: ESRP CodeSigning' inputs: - ConnectedServiceName: 'CodeSign Service (NuGet)' + ConnectedServiceName: 'AI Frontiers ESRP' + AppRegistrationClientId: 'c1e7a5c0-ee6b-4cec-9e11-4dc3f4670042' + AppRegistrationTenantId: '975f013f-7f24-47e8-a7d3-abc4752bf346' + AuthAKVName: 'aif-autogen-esrp-kv' + AuthCertName: 'AutoGenPublishESRPPKI' + AuthSignCertName: 'AutoGenPublishESRPPKI' # this variable is only needed for codesign FolderPath: '$(build.artifactstagingdirectory)\codesign' Pattern: '*' signConfigType: inlineSignParams