-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildspec.yml
42 lines (37 loc) · 1.02 KB
/
buildspec.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
version: 0.2
env:
variables:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: "true"
DOTNET_SYSTEM_GLOBALIZATION_PREDEFINED_CULTURES_ONLY: "false"
DOTNET_NOLOGO: "true"
phases:
install:
runtime-versions:
docker: 19
commands:
- dotnet-install.sh --jsonfile global.json
- dotnet --info
build:
commands:
- dotnet test -c Release --logger trx
- dotnet msbuild tools/package.proj -p:Configuration=Release -p:DeploymentBucket=$ARTIFACT_STORE -p:DeploymentBucketPrefix=$ARTIFACT_PREFIX
- ./tools/create-networking-config.sh > Networking.config.json
artifacts:
discard-paths: yes
files:
- "Core.template.yml"
- "Core.config.json"
- "Utilities.template.yml"
- "Layers.template.yml"
- "Layers.config.json"
- "Dns.template.yml"
- "Dns.config.json"
- "Gateway.template.yml"
- "Networking.config.json"
- "package-manifest.json"
reports:
test-results:
files:
- "**/TestResults/*.trx"
discard-paths: yes
file-format: VisualStudioTrx