Skip to content

Commit 57ae331

Browse files
authored
Migrate publish task to use PME (microsoft#668)
* Update ESRP release to use PME
1 parent 82f0751 commit 57ae331

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

.ado/publish.yml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ parameters:
3737

3838
variables:
3939
- name: OwnerPersonalAlias
40-
value: 'billti'
40+
value: 'xiou'
4141
- name: QSHARP_PYTHON_TELEMETRY
4242
value: none # Disable usage telemetry for internal test pipelines
4343

@@ -201,21 +201,19 @@ extends:
201201
assets: |
202202
$(Build.ArtifactStagingDirectory)/artifacts/wheels/*
203203
204-
- task: EsrpRelease@7
204+
- task: EsrpRelease@9
205205
condition: ${{ parameters.Publish_Python_Package_To_PyPi }}
206206
displayName: Sign and publish "azure-quantum" package to PyPi
207207
inputs:
208-
ConnectedServiceName: 'ESRP Signing Connection'
209-
KeyVaultName: 'kv-aqua-esrp-001'
210-
AuthCertName: 'EsrpAuthCert'
211-
SignCertName: 'EsrpSignCert'
212-
ClientId: '832c049d-cd07-4c1c-bfa5-c07250d190cb'
213-
Intent: 'PackageDistribution'
214-
ContentType: 'PyPi'
215-
FolderLocation: '$(Build.ArtifactStagingDirectory)/artifacts/wheels'
216-
WaitForReleaseCompletion: true
217-
Owners: '$(OwnerPersonalAlias)@microsoft.com' # Group email here fails the task with non-actionable output.
218-
Approvers: 'billti@microsoft.com'
219-
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
220-
MainPublisher: 'ESRPRELPACMAN' # Default ESRP v7 publisher. Do not change.
221-
DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'
208+
connectedservicename: 'PME ESRP Azure Connection'
209+
usemanagedidentity: true
210+
keyvaultname: 'quantum-esrp-kv'
211+
signcertname: ESRPCert
212+
clientid: '832c049d-cd07-4c1c-bfa5-c07250d190cb'
213+
contenttype: PyPi
214+
domaintenantid: '975f013f-7f24-47e8-a7d3-abc4752bf346'
215+
folderlocation: '$(Build.ArtifactStagingDirectory)/artifacts/wheels'
216+
waitforreleasecompletion: true
217+
owners: '$(OwnerPersonalAlias)@microsoft.com'
218+
approvers: '$(OwnerPersonalAlias)@microsoft.com'
219+
mainpublisher: ESRPRELPACMAN

0 commit comments

Comments
 (0)