-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathazure-pipelines.yml
56 lines (50 loc) · 1.48 KB
/
azure-pipelines.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
# Azure Pipelines for GitHub :)
# More info: https://docs.microsoft.com/en-us/azure/devops/pipelines/?view=vsts
trigger:
branches:
include:
- master
- azure-pipelines
- function-prod-health
- Client-SDK
- mobile-android
paths:
include:
- 'Src/FaceExplorer-App'
- 'Src/Backend'
- 'Src/Mobile'
- 'azure-pipelines.yml'
- 'azure-pipelines-angular.yml'
- 'azure-pipelines-function.yml'
- 'azure-pipelines-webapp.yml'
- 'azure-pipelines-nuget.yml'
variables:
buildConfiguration: 'Release'
jobs:
- template: azure-pipelines-webapp.yml
parameters:
Name: ContosoBackendAPIs
RestoreBuildProjects: '**/*.API.csproj'
BuildConfiguration: 'Debug'
WorkingDirectory: 'Src/Backend/Contoso.CognitivePipeline.API'
ArtifactName: 'ContosoBackendAPIs'
PublishWebApp: True
- template: azure-pipelines-webapp.yml
parameters:
Name: ContosoBackendFunction
RestoreBuildProjects: '**/*.BackgroundServices.csproj'
BuildConfiguration: 'Release'
WorkingDirectory: 'Src/Backend/Contoso.CognitivePipeline.BackgroundServices'
ArtifactName: 'ContosoBackendFunctions'
PublishWebApp: False
ZipAfterPublish: False
- template: azure-pipelines-angular.yml
parameters:
Name: FaceExplorerApp
- template: azure-pipelines-nuget.yml
parameters:
Name: 'ClientSDK'
WorkingDirectory: 'Src/Backend/CognitivePipeline.ClientSDK'
- template: azure-pipelines-tests.yml
parameters:
Name: 'Tests'