microsoft/onnxruntime-extensions
Publicmirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable
.pipelines/templates/esrp_nuget.yml
42lines · modecode
| 1 | parameters: |
| 2 | FolderPath: '' |
| 3 | DisplayName: '' |
| 4 | DoEsrp: 'false' |
| 5 | |
| 6 | steps: |
| 7 | - ${{ if eq(parameters['DoEsrp'], 'true') }}: |
| 8 | - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5 |
| 9 | displayName: 'ESRP CodeSigning' |
| 10 | inputs: |
| 11 | ConnectedServiceName: 'OnnxrunTimeCodeSign_20240611' |
| 12 | AppRegistrationClientId: '62b7cfed-4d25-454f-880e-010dc21455ac' |
| 13 | AppRegistrationTenantId: '975f013f-7f24-47e8-a7d3-abc4752bf346' |
| 14 | AuthAKVName: 'ortbuildkeyvault' |
| 15 | AuthSignCertName: 'esrpcodesign' |
| 16 | |
| 17 | FolderPath: ${{ parameters.FolderPath }} |
| 18 | Pattern: '*.nupkg' |
| 19 | SessionTimeout: 90 |
| 20 | ServiceEndpointUrl: 'https://api.esrp.microsoft.com/api/v2' |
| 21 | MaxConcurrency: 25 |
| 22 | |
| 23 | signConfigType: inlineSignParams |
| 24 | inlineOperation: | |
| 25 | [ |
| 26 | { |
| 27 | "keyCode": "CP-401405", |
| 28 | "operationSetCode": "NuGetSign", |
| 29 | "parameters": [ ], |
| 30 | "toolName": "sign", |
| 31 | "toolVersion": "6.2.9304.0" |
| 32 | }, |
| 33 | { |
| 34 | "keyCode": "CP-401405", |
| 35 | "operationSetCode": "NuGetVerify", |
| 36 | "parameters": [ ], |
| 37 | "toolName": "sign", |
| 38 | "toolVersion": "6.2.9304.0" |
| 39 | } |
| 40 | ] |
| 41 | EsrpClientId: 53d54d02-978d-4305-8572-583cf6711c4f |
| 42 | UseMSIAuthentication: true |
| 43 | |