-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathrelease.yml
More file actions
85 lines (79 loc) · 3.4 KB
/
Copy pathrelease.yml
File metadata and controls
85 lines (79 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
pr: none
trigger: none
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
pipelines:
- pipeline: DurableTaskPythonBuildPipeline
source: durabletask-python.official
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: 1es-pool-azfunc
image: 1es-ubuntu-22.04
os: linux
stages:
- stage: release
jobs:
- job: durabletask
displayName: "Release durabletask"
templateContext:
type: releaseJob
isProduction: true
inputs:
- input: pipelineArtifact
pipeline: DurableTaskPythonBuildPipeline
artifactName: drop
targetPath: $(System.DefaultWorkingDirectory)/drop
steps:
- task: SFP.release-tasks.custom-build-release-task.EsrpRelease@9
displayName: "ESRP Release durabletask"
inputs:
connectedservicename: "dtfx-internal-esrp-prod"
usemanagedidentity: true
keyvaultname: "durable-esrp-akv"
signcertname: "dts-esrp-cert"
clientid: "0b3ed1a4-0727-4a50-b82a-02c2bd9dec89"
intent: "PackageDistribution"
contenttype: "PyPi"
contentsource: "Folder"
folderlocation: "$(System.DefaultWorkingDirectory)/drop/buildoutputs/durabletask"
waitforreleasecompletion: true
owners: "torosent@microsoft.com"
approvers: "andystaples@microsoft.com;beverst@microsoft.com"
serviceendpointurl: "https://api.esrp.microsoft.com"
mainpublisher: "durabletask-java"
domaintenantid: "33e01921-4d64-4f8c-a055-5bdaffd5e33d"
- job: durabletask_azuremanaged
displayName: "Release durabletask-azuremanaged"
templateContext:
type: releaseJob
isProduction: true
inputs:
- input: pipelineArtifact
pipeline: DurableTaskPythonBuildPipeline
artifactName: drop
targetPath: $(System.DefaultWorkingDirectory)/drop
steps:
- task: SFP.release-tasks.custom-build-release-task.EsrpRelease@9
displayName: "ESRP Release durabletask-azuremanaged"
inputs:
connectedservicename: "dtfx-internal-esrp-prod"
usemanagedidentity: true
keyvaultname: "durable-esrp-akv"
signcertname: "dts-esrp-cert"
clientid: "0b3ed1a4-0727-4a50-b82a-02c2bd9dec89"
intent: "PackageDistribution"
contenttype: "PyPi"
contentsource: "Folder"
folderlocation: "$(System.DefaultWorkingDirectory)/drop/buildoutputs/durabletask-azuremanaged"
waitforreleasecompletion: true
owners: "torosent@microsoft.com"
approvers: "andystaples@microsoft.com;beverst@microsoft.com"
serviceendpointurl: "https://api.esrp.microsoft.com"
mainpublisher: "durabletask-java"
domaintenantid: "33e01921-4d64-4f8c-a055-5bdaffd5e33d"