Skip to content

Commit 8540282

Browse files
authored
Update publish-dev.yml (#2320)
Update the release pipeline according to onnxruntime config. Thanks @snnn
1 parent f46004e commit 8540282

File tree

2 files changed

+39
-10
lines changed

2 files changed

+39
-10
lines changed

.azure-pipelines/publish-dev.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,17 @@ stages:
1515
steps:
1616
- download: onnxscript-release-dev
1717
artifact: drop
18-
- task: SFP.release-tasks.custom-build-release-task.EsrpRelease@9
18+
- task: EsrpRelease@9
1919
displayName: 'ESRP Release'
2020
inputs:
21-
ConnectedServiceName: esrp_release
22-
UseMSIAuthentication: true
23-
AppRegistrationClientId: '62b7cfed-4d25-454f-880e-010dc21455ac'
24-
AppRegistrationTenantId: '975f013f-7f24-47e8-a7d3-abc4752bf346'
25-
EsrpClientId: "53d54d02-978d-4305-8572-583cf6711c4f"
26-
AuthAKVName: 'ortbuildkeyvault'
27-
AuthSignCertName: 'esrpcodesign'
21+
connectedservicename: esrp_release
22+
keyvaultname: 'ortbuildkeyvault'
23+
signcertname: 'esrpcodesign'
24+
clientid: '53d54d02-978d-4305-8572-583cf6711c4f'
2825
contenttype: PyPi
29-
folderlocation: '$(System.DefaultWorkingDirectory)/drop'
26+
folderlocation: '$(Pipeline.Workspace)/onnxscript-release-dev/drop'
3027
3128
approvers: '[email protected]'
3229
mainpublisher: AIFrameworks
33-
serviceendpointurl: 'https://api.esrp.microsoft.com'
30+
usemanagedidentity: true
31+
domaintenantid: '975f013f-7f24-47e8-a7d3-abc4752bf346'

.azure-pipelines/publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
trigger: none
2+
name: onnxscript-publish.$(Date:yyyyMMdd).$(Rev:r)
3+
resources:
4+
pipelines:
5+
- pipeline: onnxscript-release
6+
source: onnxscript-release
7+
trigger: true
8+
stages:
9+
- stage: Release
10+
dependsOn: []
11+
jobs:
12+
- job: onnxscript_publish_dev
13+
pool:
14+
vmImage: 'ubuntu-latest'
15+
steps:
16+
- download: onnxscript-release
17+
artifact: drop
18+
- task: EsrpRelease@9
19+
displayName: 'ESRP Release'
20+
inputs:
21+
connectedservicename: esrp_release
22+
keyvaultname: 'ortbuildkeyvault'
23+
signcertname: 'esrpcodesign'
24+
clientid: '53d54d02-978d-4305-8572-583cf6711c4f'
25+
contenttype: PyPi
26+
folderlocation: '$(Pipeline.Workspace)/onnxscript-release/drop'
27+
28+
approvers: '[email protected]'
29+
mainpublisher: AIFrameworks
30+
usemanagedidentity: true
31+
domaintenantid: '975f013f-7f24-47e8-a7d3-abc4752bf346'

0 commit comments

Comments
 (0)