Skip to content

Create official ESRP publishing pipelines #2320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 22, 2025
Merged
18 changes: 8 additions & 10 deletions .azure-pipelines/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,17 @@ stages:
steps:
- download: onnxscript-release-dev
artifact: drop
- task: SFP.release-tasks.custom-build-release-task.EsrpRelease@9
- task: EsrpRelease@9
displayName: 'ESRP Release'
inputs:
ConnectedServiceName: esrp_release
UseMSIAuthentication: true
AppRegistrationClientId: '62b7cfed-4d25-454f-880e-010dc21455ac'
AppRegistrationTenantId: '975f013f-7f24-47e8-a7d3-abc4752bf346'
EsrpClientId: "53d54d02-978d-4305-8572-583cf6711c4f"
AuthAKVName: 'ortbuildkeyvault'
AuthSignCertName: 'esrpcodesign'
connectedservicename: esrp_release
keyvaultname: 'ortbuildkeyvault'
signcertname: 'esrpcodesign'
clientid: '53d54d02-978d-4305-8572-583cf6711c4f'
contenttype: PyPi
folderlocation: '$(System.DefaultWorkingDirectory)/drop'
folderlocation: '$(Pipeline.Workspace)/onnxscript-release-dev/drop'
owners: '[email protected]'
approvers: '[email protected]'
mainpublisher: AIFrameworks
serviceendpointurl: 'https://api.esrp.microsoft.com'
usemanagedidentity: true
domaintenantid: '975f013f-7f24-47e8-a7d3-abc4752bf346'
31 changes: 31 additions & 0 deletions .azure-pipelines/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
trigger: none
name: onnxscript-publish.$(Date:yyyyMMdd).$(Rev:r)
resources:
pipelines:
- pipeline: onnxscript-release
source: onnxscript-release
trigger: true
stages:
- stage: Release
dependsOn: []
jobs:
- job: onnxscript_publish_dev
pool:
vmImage: 'ubuntu-latest'
steps:
- download: onnxscript-release
artifact: drop
- task: EsrpRelease@9
displayName: 'ESRP Release'
inputs:
connectedservicename: esrp_release
keyvaultname: 'ortbuildkeyvault'
signcertname: 'esrpcodesign'
clientid: '53d54d02-978d-4305-8572-583cf6711c4f'
contenttype: PyPi
folderlocation: '$(Pipeline.Workspace)/onnxscript-release/drop'
owners: '[email protected]'
approvers: '[email protected]'
mainpublisher: AIFrameworks
usemanagedidentity: true
domaintenantid: '975f013f-7f24-47e8-a7d3-abc4752bf346'
Loading