Skip to content

Commit 7752b4c

Browse files
committed
Uncommenting ESRP Release
1 parent 47df83f commit 7752b4c

1 file changed

Lines changed: 22 additions & 19 deletions

File tree

eng/pipelines/dummy-release-pipeline.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,25 @@ jobs:
2727
dir "$(Build.SourcesDirectory)\dist"
2828
displayName: 'List contents of dist directory'
2929
30-
# - task: EsrpRelease@9
31-
# displayName: 'ESRP Release'
32-
# inputs:
33-
# connectedservicename: '$(ESRPConnectedServiceName)'
34-
# usemanagedidentity: true
35-
# keyvaultname: '$(AuthAKVName)'
36-
# signcertname: '$(AuthSignCertName)'
37-
# clientid: '$(EsrpClientId)'
38-
# Intent: 'PackageDistribution'
39-
# # Dummy content type to make it Maven release (NOT PyPI)
40-
# ContentType: 'Maven'
41-
# ContentSource: 'Folder'
42-
# FolderLocation: '$(Build.SourcesDirectory)/dist'
43-
# WaitForReleaseCompletion: true
44-
# Owners: '$(owner)'
45-
# Approvers: '$(approver)'
46-
# ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
47-
# MainPublisher: 'ESRPRELPACMAN'
48-
# DomainTenantId: '$(DomainTenantId)'
30+
- task: EsrpRelease@9
31+
displayName: 'ESRP Release'
32+
inputs:
33+
connectedservicename: '$(ESRPConnectedServiceName)'
34+
usemanagedidentity: true
35+
keyvaultname: '$(AuthAKVName)'
36+
signcertname: '$(AuthSignCertName)'
37+
clientid: '$(EsrpClientId)'
38+
Intent: 'PackageDistribution'
39+
# Changing content type to Maven release (NOT PyPI) since we want to do dummy release
40+
# for ESRP testing purposes, not for actual PyPI distribution.
41+
# This is a workaround to allow ESRP to process the release without actual PyPI content
42+
# and to avoid ESRP validation errors.
43+
ContentType: 'Maven'
44+
ContentSource: 'Folder'
45+
FolderLocation: '$(Build.SourcesDirectory)/dist'
46+
WaitForReleaseCompletion: true
47+
Owners: '$(owner)'
48+
Approvers: '$(approver)'
49+
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
50+
MainPublisher: 'ESRPRELPACMAN'
51+
DomainTenantId: '$(DomainTenantId)'

0 commit comments

Comments
 (0)