Skip to content

Commit 60435ea

Browse files
authored
Use esrp release task that supports federated auth (Azure#35523)
1 parent c4fb0f9 commit 60435ea

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

eng/pipelines/templates/stages/archetype-python-release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,17 @@ stages:
131131
Get-ChildItem $esrpDirectory
132132
displayName: Isolate files for ESRP Publish
133133
134-
- task: EsrpRelease@2
134+
- task: EsrpRelease@7
135135
displayName: 'Publish to ESRP'
136136
inputs:
137-
ConnectedServiceName: 'ESRP Release Service'
137+
ConnectedServiceName: 'Azure SDK Engineering System'
138+
ClientId: '5f81938c-2544-4f1f-9251-dd9de5b8a81b'
139+
KeyVaultName: 'AzureSDKEngKeyVault'
140+
AuthCertName: 'azure-sdk-esrp-release-auth-certificate'
141+
SignCertName: 'azure-sdk-esrp-release-sign-certificate'
138142
Intent: 'PackageDistribution'
139143
ContentType: 'PyPI'
140-
PackageLocation: $(Pipeline.Workspace)/esrp-release/${{parameters.ArtifactName}}/${{artifact.name}}
144+
FolderLocation: $(Pipeline.Workspace)/esrp-release/${{parameters.ArtifactName}}/${{artifact.name}}
141145
Owners: $(Build.RequestedForEmail)
142146
Approvers: $(Build.RequestedForEmail)
143147
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'

0 commit comments

Comments
 (0)