Skip to content

Commit be4d825

Browse files
authored
Migrate release task to EsrpRelease@9 (microsoft#2242)
1 parent 2591dd3 commit be4d825

File tree

1 file changed

+28
-35
lines changed

1 file changed

+28
-35
lines changed

.ado/publish.yml

+28-35
Original file line numberDiff line numberDiff line change
@@ -460,26 +460,22 @@ extends:
460460
ls $(System.DefaultWorkingDirectory)/target/wheels
461461
displayName: Display Py Artifacts in Publishing Dir
462462
463-
- task: EsrpRelease@7
463+
- task: EsrpRelease@9
464464
condition: succeeded()
465-
inputs:
466-
ConnectedServiceName: 'ESRP Signing Connection'
467-
KeyVaultName: 'kv-aqua-esrp-001'
468-
AuthCertName: 'EsrpAuthCert'
469-
SignCertName: 'EsrpSignCert'
470-
ClientId: '832c049d-cd07-4c1c-bfa5-c07250d190cb'
471-
Intent: 'PackageDistribution'
472-
ContentType: 'PyPi'
473-
FolderLocation: '$(System.DefaultWorkingDirectory)/target/wheels'
474-
WaitForReleaseCompletion: true
475-
Owners: '$(OwnerPersonalAlias)@microsoft.com' # NB: Group email here fails the task with non-actionable output.
476-
Approvers: '[email protected]'
477-
# Auto-inserted Debugging defaults:
478-
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
479-
MainPublisher: 'ESRPRELPACMAN' # Default ESRP v7 publisher. Do not change.
480-
DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'
481465
displayName: Publish Py Packages
482-
466+
inputs:
467+
connectedservicename: 'PME ESRP Azure Connection'
468+
usemanagedidentity: true
469+
keyvaultname: 'quantum-esrp-kv'
470+
signcertname: ESRPCert
471+
clientid: '832c049d-cd07-4c1c-bfa5-c07250d190cb'
472+
contenttype: PyPi
473+
domaintenantid: '975f013f-7f24-47e8-a7d3-abc4752bf346'
474+
folderlocation: '$(System.DefaultWorkingDirectory)/target/wheels'
475+
waitforreleasecompletion: true
476+
477+
approvers: '[email protected]'
478+
mainpublisher: ESRPRELPACMAN
483479

484480
- job: "Publish_NPM_Package"
485481
pool:
@@ -498,22 +494,19 @@ extends:
498494
ls $(System.DefaultWorkingDirectory)/target/npm/qsharp/*
499495
displayName: Display NPM Artifacts in Publishing Dir
500496
501-
- task: EsrpRelease@7
497+
- task: EsrpRelease@9
502498
condition: succeeded()
503-
inputs:
504-
ConnectedServiceName: 'ESRP Signing Connection'
505-
KeyVaultName: 'kv-aqua-esrp-001'
506-
AuthCertName: 'EsrpAuthCert'
507-
SignCertName: 'EsrpSignCert'
508-
ClientId: '832c049d-cd07-4c1c-bfa5-c07250d190cb'
509-
Intent: 'PackageDistribution'
510-
ContentType: 'NPM'
511-
FolderLocation: '$(System.DefaultWorkingDirectory)/target/npm/qsharp'
512-
WaitForReleaseCompletion: true
513-
Owners: '$(OwnerPersonalAlias)@microsoft.com' # NB: Group email here fails the task with non-actionable output.
514-
Approvers: '[email protected]'
515-
# Auto-inserted Debugging defaults:
516-
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
517-
MainPublisher: 'ESRPRELPACMAN' # Default ESRP v7 publisher. Do not change.
518-
DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'
519499
displayName: Publish NPM Package
500+
inputs:
501+
connectedservicename: 'PME ESRP Azure Connection'
502+
usemanagedidentity: true
503+
keyvaultname: 'quantum-esrp-kv'
504+
signcertname: ESRPCert
505+
clientid: '832c049d-cd07-4c1c-bfa5-c07250d190cb'
506+
contenttype: 'NPM'
507+
domaintenantid: '975f013f-7f24-47e8-a7d3-abc4752bf346'
508+
folderlocation: '$(System.DefaultWorkingDirectory)/target/npm/qsharp'
509+
waitforreleasecompletion: true
510+
511+
approvers: '[email protected]'
512+
mainpublisher: ESRPRELPACMAN

0 commit comments

Comments
 (0)