microsoft/onnxruntime-extensions
Publicmirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable
.pipelines/templates/esrp_nuget.yml
41lines · 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: '53d54d02-978d-4305-8572-583cf6711c4f' |
| 13 | AppRegistrationTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47' |
| 14 | AuthAKVName: 'buildkeyvault' |
| 15 | AuthCertName: '53d54d02-SSL-AutoRotate' |
| 16 | AuthSignCertName: '53d54d02-978d-4305-8572-583cf6711c4f' |
| 17 | |
| 18 | FolderPath: ${{ parameters.FolderPath }} |
| 19 | Pattern: '*.nupkg' |
| 20 | SessionTimeout: 90 |
| 21 | ServiceEndpointUrl: 'https://api.esrp.microsoft.com/api/v2' |
| 22 | MaxConcurrency: 25 |
| 23 | |
| 24 | signConfigType: inlineSignParams |
| 25 | inlineOperation: | |
| 26 | [ |
| 27 | { |
| 28 | "keyCode": "CP-401405", |
| 29 | "operationSetCode": "NuGetSign", |
| 30 | "parameters": [ ], |
| 31 | "toolName": "sign", |
| 32 | "toolVersion": "6.2.9304.0" |
| 33 | }, |
| 34 | { |
| 35 | "keyCode": "CP-401405", |
| 36 | "operationSetCode": "NuGetVerify", |
| 37 | "parameters": [ ], |
| 38 | "toolName": "sign", |
| 39 | "toolVersion": "6.2.9304.0" |
| 40 | } |
| 41 | ] |
| 42 | |