From d234d79ab2bec95095f1743b453c036e38d58f1c Mon Sep 17 00:00:00 2001 From: Mark Hamilton Date: Thu, 2 May 2024 16:03:05 -0400 Subject: [PATCH] chore: fix esrp to use new auth (#2218) --- pipeline.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pipeline.yaml b/pipeline.yaml index f669a5bb02..2427d2ba63 100644 --- a/pipeline.yaml +++ b/pipeline.yaml @@ -336,17 +336,25 @@ jobs: PGP-PW: $(pgp-pw) SYNAPSEML_ENABLE_PUBLISH: true displayName: 'publish jar package to maven central' - - task: EsrpRelease@3 - inputs: - ConnectedServiceName: 'DataScienceESRPRelease' + - task: EsrpRelease@7 + inputs: + ConnectedServiceName: 'DataScienceESRPRelease2024' + # The keyvault hosting the certs https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/13842c9d-5a2d-4da1-84a8-3383f543d9ba/resourceGroups/esrp/providers/Microsoft.KeyVault/vaults/synapseml-esrp-kv/overview + keyvaultname: 'synapseml-esrp-kv' + authcertname: 'ReleaseAutomation' + signcertname: 'ESRPReqSignCA' + # The entra app https://ms.portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Manifest/appId/1fc1c0d1-5a85-4081-8f1e-12a8c225b9a6/isMSAApp~/false + clientid: '1fc1c0d1-5a85-4081-8f1e-12a8c225b9a6' Intent: 'PackageDistribution' ContentType: 'Maven' - PackageLocation: '/home/vsts/.ivy2/local/com.microsoft.azure/' + contentsource: 'Folder' + folderlocation: '/home/vsts/.ivy2/local/com.microsoft.azure/' Owners: 'admukund@microsoft.com,richwyd@microsoft.com,taniaarya@microsoft.com,alsavelv@microsoft.com,marcozo@microsoft.com,romanbat@microsoft.com' Approvers: 'romanbat@microsoft.com,markus.weimer@microsoft.com,negust@microsoft.com' ServiceEndpointUrl: 'https://api.esrp.microsoft.com' MainPublisher: 'synapseml' DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47' + waitforreleasecompletion: true displayName: 'ESRP Publish Package' condition: and(eq(variables.isMaster, true), startsWith(variables['tag'], 'v'))