Skip to content

Commit

Permalink
Use esrp release task that supports federated auth (#35523)
Browse files Browse the repository at this point in the history
  • Loading branch information
hallipr authored and scbedd committed May 14, 2024
1 parent 5e4c03e commit d12e171
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions eng/pipelines/templates/stages/archetype-python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,17 @@ stages:
Get-ChildItem $esrpDirectory
displayName: Isolate files for ESRP Publish
- task: EsrpRelease@2
- task: EsrpRelease@7
displayName: 'Publish to ESRP'
inputs:
ConnectedServiceName: 'ESRP Release Service'
ConnectedServiceName: 'Azure SDK Engineering System'
ClientId: '5f81938c-2544-4f1f-9251-dd9de5b8a81b'
KeyVaultName: 'AzureSDKEngKeyVault'
AuthCertName: 'azure-sdk-esrp-release-auth-certificate'
SignCertName: 'azure-sdk-esrp-release-sign-certificate'
Intent: 'PackageDistribution'
ContentType: 'PyPI'
PackageLocation: $(Pipeline.Workspace)/esrp-release/${{parameters.ArtifactName}}/${{artifact.name}}
FolderLocation: $(Pipeline.Workspace)/esrp-release/${{parameters.ArtifactName}}/${{artifact.name}}
Owners: $(Build.RequestedForEmail)
Approvers: $(Build.RequestedForEmail)
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
Expand Down

0 comments on commit d12e171

Please sign in to comment.