From ee96bd9996e1225255d1e051b69b37e117454b54 Mon Sep 17 00:00:00 2001 From: Jake Fullerton Date: Thu, 26 Sep 2024 13:53:25 -0700 Subject: [PATCH] update esrp sign step --- .pipelines/dev-tunnels-ssh-ci.yaml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.pipelines/dev-tunnels-ssh-ci.yaml b/.pipelines/dev-tunnels-ssh-ci.yaml index 5ddf0b6..a8b1909 100644 --- a/.pipelines/dev-tunnels-ssh-ci.yaml +++ b/.pipelines/dev-tunnels-ssh-ci.yaml @@ -181,20 +181,23 @@ jobs: nuGetFeedType: external publishFeedCredentials: 'dev-tunnels-nuget' publishPackageMetadata: true - - task: EsrpRelease@6 + - task: EsrpRelease@7 condition: and(succeeded(), eq('${{ parameters.PublishNpmPackage }}', 'true')) inputs: - ConnectedServiceName: 'devtunnels-esrp' - Intent: 'PackageDistribution' - ContentType: 'npm' - ContentSource: 'Folder' - FolderLocation: '$(System.DefaultWorkingDirectory)/out/pkg' - WaitForReleaseCompletion: true - Owners: 'jfullerton@microsoft.com' - Approvers: 'jasongin@microsoft.com, debekoe@microsoft.com, ilbiryuk@microsoft.com' - ServiceEndpointUrl: 'https://api.esrp.microsoft.com' - MainPublisher: 'ESRPRELPACMAN' - DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47' + connectedservicename: 'Devtunnels-esrp-cert-based' + keyvaultname: 'tunnels-dev-kv' + authcertname: 'esrp-cert' + signcertname: 'esrp-sign' + clientid: '142047f4-eda8-4853-8776-c2e81803ea13' + intent: 'PackageDistribution' + contenttype: 'npm' + folderLocation: '$(System.DefaultWorkingDirectory)/out/pkg' + waitforreleasecompletion: true + owners: 'jfullerton@microsoft.com' + approvers: 'jasongin@microsoft.com, debekoe@microsoft.com, ilbiryuk@microsoft.com' + serviceendpointurl: 'https://api.esrp.microsoft.com' + mainpublisher: 'ESRPRELPACMAN' + domaintenantid: '72f988bf-86f1-41af-91ab-2d7cd011db47' - job: mac displayName: SSH Mac