-
Notifications
You must be signed in to change notification settings - Fork 104
/
fluentui-android-release.yml
90 lines (90 loc) · 3.32 KB
/
fluentui-android-release.yml
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
86
87
88
89
90
trigger: none
name: $(Date:yyyyMMdd).$(Rev:r)
resources:
pipelines:
- pipeline: 'fluentui-android-maven-publish'
project: 'fluentui-native'
source: 'fluentui-maven-central-publish [1es-pt]'
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: windows-2022
os: windows
customBuildTags:
- ES365AIMigrationTooling-Release
stages:
- stage: Stage_1
displayName: ESRP Release
jobs:
- job: Job_1
displayName: Agent job
condition: succeeded()
timeoutInMinutes: 0
templateContext:
type: releaseJob
isProduction: true
inputs:
- input: pipelineArtifact
buildType: 'specific'
project: '$(projectName)'
definition: '$(pipelineDefinition)'
buildVersionToDownload: 'specific'
pipelineId: '$(buildId)'
artifactName: 'Build'
targetPath: '$(Pipeline.Workspace)/fluentui-android-maven-publish/Build'
steps:
- task: SFP.release-tasks.custom-build-release-task.EsrpRelease@7
displayName: 'ESRP Release'
inputs:
connectedservicename: '$(connectedServiceName)'
keyvaultname: $(keyVaultName)
authcertname: $(authCertName)
signcertname: '$(signCertName) '
clientid: '$(clientId)'
folderlocation: '$(Pipeline.Workspace)/fluentui-android-maven-publish/Build'
owners: '$(owners)'
approvers: '$(approvers)'
mainpublisher: fluentuiandroidrelease
- stage: Stage_2
displayName: AppCenter Release
jobs:
- job: Job_1
displayName: Agent job
condition: succeeded()
timeoutInMinutes: 0
templateContext:
inputs:
- input: pipelineArtifact
buildType: 'specific'
project: '$(projectName)'
definition: '$(pipelineDefinition)'
buildVersionToDownload: 'specific'
pipelineId: '$(buildId)'
artifactName: 'dogfood'
targetPath: '$(Pipeline.Workspace)/fluentui-android-maven-publish/dogfood'
- input: pipelineArtifact
buildType: 'specific'
project: '$(projectName)'
definition: '$(pipelineDefinition)'
buildVersionToDownload: 'specific'
pipelineId: '$(buildId)'
artifactName: 'notes'
targetPath: '$(Pipeline.Workspace)/fluentui-android-maven-publish/notes'
steps:
- task: AppCenterDistribute@3
displayName: Deploy $(Pipeline.Workspace)/fluentui-android-maven-publish/dogfood/FluentUI.Demo-dogfood-release.apk to Visual Studio App Center
inputs:
serverEndpoint: $(serverEndpoint)
appSlug: $(appSlug)
app: $(Pipeline.Workspace)/fluentui-android-maven-publish/dogfood/FluentUI.Demo-dogfood-release.apk
symbolsType: Android
releaseNotesSelection: file
releaseNotesFile: $(Pipeline.Workspace)/fluentui-android-maven-publish/notes/dogfood-release-notes.txt
isSilent: false