-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsender-azure-pipelines-acr-push.yml
More file actions
56 lines (52 loc) · 1.96 KB
/
Copy pathsender-azure-pipelines-acr-push.yml
File metadata and controls
56 lines (52 loc) · 1.96 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
trigger:
batch: true
branches:
include:
- develop
- main
paths:
include:
- build
- src/authorization/EventTriangleAPI.Authorization.BusinessLogic
- src/authorization/EventTriangleAPI.Authorization.Presentation
- src/shared/EventTriangleAPI.Shared.Application
- src/shared/EventTriangleAPI.Shared.DTO
pr:
branches:
include:
- develop
- main
paths:
include:
- build
- src/authorization/EventTriangleAPI.Authorization.BusinessLogic
- src/authorization/EventTriangleAPI.Authorization.Presentation
- src/shared/EventTriangleAPI.Shared.Application
- src/shared/EventTriangleAPI.Shared.DTO
variables:
- name: appName
value: 'SenderAPI'
- name: System.Debug
value: 'false'
- group: AKS_Settings
- group: Prefix_Library
pool:
vmImage: 'ubuntu-latest'
stages:
- stage: 'Build_${{ variables.appName }}'
displayName: 'Build_${{ variables.appName }}'
jobs:
- template: templates/docker-build-push-acr-jobs.yml
parameters:
JobName: 'Build_${{ variables.appName }}'
solution: '$(System.DefaultWorkingDirectory)/EventTriangleAPI.sln'
buildConfiguration: 'Release'
backendProjectPath: '$(System.DefaultWorkingDirectory)/src/sender/EventTriangleAPI.Sender.Presentation'
unitTestsProjectPath: '$(System.DefaultWorkingDirectory)/src/sender/EventTriangleAPI.Sender.UnitTests/EventTriangleAPI.Sender.UnitTests.csproj'
shouldRunIntegrationTests: 'true'
shouldRunUnitTests: 'true'
integrationTestsProjectPath: '$(System.DefaultWorkingDirectory)/src/sender/EventTriangleAPI.Sender.IntegrationTests/EventTriangleAPI.Sender.IntegrationTests.csproj'
dockerRegistryUrl: 'azuredevopsacrd01.azurecr.io'
imageRepository: 'sender-service'
dockerfilePath: '$(System.DefaultWorkingDirectory)/src/sender/Dockerfile'
dockerServiceConnection: 'Azure_ACR_Connection'