From d62aeae8a06831ad4a3b63a333bfba83ffcda19f Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Mon, 12 Aug 2024 12:15:45 +0300 Subject: [PATCH] Migration to ESRP V5 --- .../common-templates/esrp/codesign-nuget.yml | 12 ++++++++++-- .azure-pipelines/common-templates/esrp/codesign.yml | 12 ++++++++++-- .../common-templates/esrp/strongname.yml | 12 ++++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/.azure-pipelines/common-templates/esrp/codesign-nuget.yml b/.azure-pipelines/common-templates/esrp/codesign-nuget.yml index e4dbd35d111..d98df51166d 100644 --- a/.azure-pipelines/common-templates/esrp/codesign-nuget.yml +++ b/.azure-pipelines/common-templates/esrp/codesign-nuget.yml @@ -10,11 +10,16 @@ parameters: default: "*.nupkg" steps: - - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2 + - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5 displayName: ESRP NuGet CodeSigning enabled: true inputs: - ConnectedServiceName: microsoftgraph ESRP CodeSign DLL and NuGet (AKV) + ConnectedServiceName: Federated DevX ESRP Managed Identity Connection + AppRegistrationClientId: 65035b7f-7357-4f29-bf25-c5ee5c3949f8 + AppRegistrationTenantId: cdc5aeea-15c5-4db6-b079-fcadd2505dc2 + AuthAKVName: akv-prod-eastus + AuthCertName: ReferenceLibraryPrivateCert + AuthSignCertName: ReferencePackagePublisherCertificate FolderPath: ${{ parameters.FolderPath }} Pattern: ${{ parameters.Pattern }} signConfigType: inlineSignParams @@ -36,3 +41,6 @@ steps: } ] SessionTimeout: 20 + MaxConcurrency: 50 + MaxRetryAttempts: 5 + PendingAnalysisWaitTimeoutMinutes: 5 diff --git a/.azure-pipelines/common-templates/esrp/codesign.yml b/.azure-pipelines/common-templates/esrp/codesign.yml index f5f3153ccd9..ac279bd61e0 100644 --- a/.azure-pipelines/common-templates/esrp/codesign.yml +++ b/.azure-pipelines/common-templates/esrp/codesign.yml @@ -10,11 +10,16 @@ parameters: default: ".*.dll" steps: - - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2 + - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5 displayName: ESRP DLL CodeSigning enabled: true inputs: - ConnectedServiceName: microsoftgraph ESRP CodeSign DLL and NuGet (AKV) + ConnectedServiceName: 'Federated DevX ESRP Managed Identity Connection' + AppRegistrationClientId: '65035b7f-7357-4f29-bf25-c5ee5c3949f8' + AppRegistrationTenantId: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2' + AuthAKVName: 'akv-prod-eastus' + AuthCertName: 'ReferenceLibraryPrivateCert' + AuthSignCertName: 'ReferencePackagePublisherCertificate' FolderPath: ${{ parameters.FolderPath }} Pattern: ${{ parameters.Pattern }} signConfigType: inlineSignParams @@ -57,3 +62,6 @@ steps: } ] SessionTimeout: 160 + MaxConcurrency: 50 + MaxRetryAttempts: 5 + PendingAnalysisWaitTimeoutMinutes: 5 diff --git a/.azure-pipelines/common-templates/esrp/strongname.yml b/.azure-pipelines/common-templates/esrp/strongname.yml index b659ae810d5..ad9986f9048 100644 --- a/.azure-pipelines/common-templates/esrp/strongname.yml +++ b/.azure-pipelines/common-templates/esrp/strongname.yml @@ -10,11 +10,16 @@ parameters: default: ".*.dll" steps: - - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2 + - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5 displayName: ESRP DLL Strong Name enabled: true inputs: - ConnectedServiceName: microsoftgraph ESRP CodeSign DLL and NuGet (AKV) + ConnectedServiceName: Federated DevX ESRP Managed Identity Connection + AppRegistrationClientId: 65035b7f-7357-4f29-bf25-c5ee5c3949f8 + AppRegistrationTenantId: cdc5aeea-15c5-4db6-b079-fcadd2505dc2 + AuthAKVName: akv-prod-eastus + AuthCertName: ReferenceLibraryPrivateCert + AuthSignCertName: ReferencePackagePublisherCertificate FolderPath: ${{ parameters.FolderPath }} Pattern: ${{ parameters.Pattern }} signConfigType: inlineSignParams @@ -36,3 +41,6 @@ steps: } ] SessionTimeout: 20 + MaxConcurrency: 50 + MaxRetryAttempts: 5 + PendingAnalysisWaitTimeoutMinutes: 5