-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipeline-ui.yaml
70 lines (66 loc) · 1.5 KB
/
azure-pipeline-ui.yaml
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
trigger:
batch: true
branches:
include:
- testen
- az-acceptance
- main
paths:
include:
- azure-pipeline-ui.yaml
- src/client
- src/universal
- src/index.tsx
- public
- Dockerfile
- package.json
- package-lock.json
pr:
autoCancel: true
paths:
include:
- src/client
- src/universal
- src/index.tsx
- public
- Dockerfile
- package.json
- package-lock.json
branches:
include:
- main
resources:
repositories:
- repository: MamsInfra
type: git
name: MijnAmsterdam/mijn-amsterdam-infra
ref: refs/heads/main
variables:
- name: system.debug
value: true
- name: btdBuild
value: true
- name: btdDeploy
value: true
- name: btdTest
value: true
- name: dtapName
value: t
- ${{ if eq(variables['Build.SourceBranchName'], 'testen') }}:
- name: btdTest
value: false
- ${{ if or(eq(variables['Build.SourceBranchName'], 'az-acceptance'), eq(variables['Build.SourceBranchName'], 'main')) }}:
- name: dtapName
value: a
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
- name: btdDeploy
value: false
jobs:
- template: pipelines/jobs/apps/btd-frontend.yaml@MamsInfra
parameters:
dtapName: ${{ variables.dtapName }}
btdBuild: ${{ variables.btdBuild }}
btdTest: ${{ variables.btdTest }}
btdDeploy: ${{ variables.btdDeploy }}
btdAppBFF: false
btdAppUI: true