-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.yaml
64 lines (60 loc) · 1.44 KB
/
build.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
parameters:
- name: deployFromFeature
displayName: "Deploy from Feature Branch"
type: boolean
default: false
- name: deployConfigOnly
displayName: "Deploy App Config"
type: boolean
default: false
pr:
branches:
include:
- main
- master
paths:
exclude:
- test-output/*
- bin/*
- obj/*
drafts: false
trigger:
batch: true
branches:
include:
- "*"
paths:
exclude:
- test-output/*
- bin/*
- obj/*
resources:
repositories:
- repository: DEFRA-ADPPipelineCommon
name: DEFRA/adp-pipeline-common
endpoint: DEFRA
type: github
ref: refs/tags/1.0.0-latest
extends:
template: /pipelines/common-app-build.yaml@DEFRA-ADPPipelineCommon
parameters:
teamName: "fcp-demo"
serviceName: "ffc-demo-payment-web"
deployFromFeature: ${{ parameters.deployFromFeature }}
deployConfigOnly: ${{ parameters.deployConfigOnly }}
includePlatformEnvs: false
appBuildConfig:
appFrameworkType: "nodejs"
projectPath: "./package.json"
manifestPath: "./package.json"
imageRepoName: "ffc-demo-payment-web"
appTestConfig:
testFilePath: "./docker-compose.test.yaml"
snykTestFilePath: "./docker-compose.snyk.yaml"
postDeployTest:
envToTest: snd4
appDeployConfig:
filepath: "./appConfig"
filetype: "yaml"
variableGroups:
- ffc-demo-payment-web-<environment>