|
| 1 | +pr: none |
| 2 | +trigger: none |
| 3 | + |
| 4 | +resources: |
| 5 | + repositories: |
| 6 | + - repository: 1ESPipelineTemplates |
| 7 | + type: git |
| 8 | + name: 1ESPipelineTemplates/1ESPipelineTemplates |
| 9 | + ref: refs/tags/release |
| 10 | + pipelines: |
| 11 | + - pipeline: DurableTaskPythonBuildPipeline |
| 12 | + source: durabletask-python.official |
| 13 | + |
| 14 | +extends: |
| 15 | + template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates |
| 16 | + parameters: |
| 17 | + pool: |
| 18 | + name: 1es-pool-azfunc |
| 19 | + image: 1es-ubuntu-22.04 |
| 20 | + os: linux |
| 21 | + |
| 22 | + stages: |
| 23 | + - stage: release |
| 24 | + jobs: |
| 25 | + - job: durabletask |
| 26 | + displayName: "Release durabletask" |
| 27 | + templateContext: |
| 28 | + type: releaseJob |
| 29 | + isProduction: true |
| 30 | + inputs: |
| 31 | + - input: pipelineArtifact |
| 32 | + pipeline: DurableTaskPythonBuildPipeline |
| 33 | + artifactName: drop |
| 34 | + targetPath: $(System.DefaultWorkingDirectory)/drop |
| 35 | + |
| 36 | + steps: |
| 37 | + - task: SFP.release-tasks.custom-build-release-task.EsrpRelease@9 |
| 38 | + displayName: "ESRP Release durabletask" |
| 39 | + inputs: |
| 40 | + connectedservicename: "dtfx-internal-esrp-prod" |
| 41 | + usemanagedidentity: true |
| 42 | + keyvaultname: "durable-esrp-akv" |
| 43 | + signcertname: "dts-esrp-cert" |
| 44 | + clientid: "0b3ed1a4-0727-4a50-b82a-02c2bd9dec89" |
| 45 | + intent: "PackageDistribution" |
| 46 | + contenttype: "PyPi" |
| 47 | + contentsource: "Folder" |
| 48 | + folderlocation: "$(System.DefaultWorkingDirectory)/drop/buildoutputs/durabletask" |
| 49 | + waitforreleasecompletion: true |
| 50 | + # Auto-populate from the build queuer's identity so we don't |
| 51 | + # hardcode personal emails in source. ESRP will send the |
| 52 | + # release notification / approval link to whoever clicked |
| 53 | + # "Run pipeline". This matches the pattern used by |
| 54 | + # Azure/azure-sdk-for-python and microsoft/mcp pipelines. |
| 55 | + owners: $(Build.RequestedForEmail) |
| 56 | + approvers: $(Build.RequestedForEmail) |
| 57 | + serviceendpointurl: "https://api.esrp.microsoft.com" |
| 58 | + mainpublisher: "durabletask-java" |
| 59 | + domaintenantid: "33e01921-4d64-4f8c-a055-5bdaffd5e33d" |
| 60 | + |
| 61 | + - job: durabletask_azuremanaged |
| 62 | + displayName: "Release durabletask-azuremanaged" |
| 63 | + templateContext: |
| 64 | + type: releaseJob |
| 65 | + isProduction: true |
| 66 | + inputs: |
| 67 | + - input: pipelineArtifact |
| 68 | + pipeline: DurableTaskPythonBuildPipeline |
| 69 | + artifactName: drop |
| 70 | + targetPath: $(System.DefaultWorkingDirectory)/drop |
| 71 | + |
| 72 | + steps: |
| 73 | + - task: SFP.release-tasks.custom-build-release-task.EsrpRelease@9 |
| 74 | + displayName: "ESRP Release durabletask-azuremanaged" |
| 75 | + inputs: |
| 76 | + connectedservicename: "dtfx-internal-esrp-prod" |
| 77 | + usemanagedidentity: true |
| 78 | + keyvaultname: "durable-esrp-akv" |
| 79 | + signcertname: "dts-esrp-cert" |
| 80 | + clientid: "0b3ed1a4-0727-4a50-b82a-02c2bd9dec89" |
| 81 | + intent: "PackageDistribution" |
| 82 | + contenttype: "PyPi" |
| 83 | + contentsource: "Folder" |
| 84 | + folderlocation: "$(System.DefaultWorkingDirectory)/drop/buildoutputs/durabletask-azuremanaged" |
| 85 | + waitforreleasecompletion: true |
| 86 | + owners: $(Build.RequestedForEmail) |
| 87 | + approvers: $(Build.RequestedForEmail) |
| 88 | + serviceendpointurl: "https://api.esrp.microsoft.com" |
| 89 | + mainpublisher: "durabletask-java" |
| 90 | + domaintenantid: "33e01921-4d64-4f8c-a055-5bdaffd5e33d" |
0 commit comments