forked from dotnet/dotnet-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.json
98 lines (96 loc) · 3.41 KB
/
tasks.json
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
// Tasks documentation: https://go.microsoft.com/fwlink/?LinkId=733558
"version": "2.0.0",
"tasks": [
{
"label": "Generate Dockerfiles",
"type": "shell",
"command": "pwsh ./eng/dockerfile-templates/Get-GeneratedDockerfiles.ps1",
"group": "build",
"problemMatcher": [
{
"owner": "generate-dockerfiles",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": [
{
"regexp": "^(?: )*Template parsing error in file (.*):(.*)(?: )*$",
"file": 1,
"location": 2
},
{
"regexp": "^(?: )*Message: (.*)$",
"message": 1
}
]
}
]
},
{
"label": "Generate Readmes",
"type": "shell",
"command": "pwsh ./eng/readme-templates/Get-GeneratedReadmes.ps1",
"group": "build",
"problemMatcher": [
{
"owner": "generate-readmes",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": [
{
"regexp": "^(?: )*Template parsing error in file (.*):(.*)(?: )*$",
"file": 1,
"location": 2
},
{
"regexp": "^(?: )*Message: (.*)$",
"message": 1
}
]
}
]
},
{
"label": "Test with debugger",
"type": "process",
"isBackground": true,
"command": "dotnet",
"args": [
"test",
"--filter",
"\"Category=runtime-deps|Category=runtime|Category=aspnet|Category=sdk|Category=monitor|Category=aspire-dashboard\"",
// Filter by fully qualified test name:
// "--filter",
// "\"VerifyFxDependentAppScenario&(Category=runtime|Category=aspnet)\"",
],
"options": {
"cwd": "${workspaceFolder}/tests/Microsoft.DotNet.Docker.Tests",
"env":
{
"IMAGE_ARCH": "amd64",
"SOURCE_BRANCH": "nightly",
"SOURCE_REPO_ROOT": "${workspaceFolder}",
"VSTEST_HOST_DEBUG": "1",
"DOTNET_CLI_TELEMETRY_OPTOUT": "1",
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "1",
"DOTNET_MULTILEVEL_LOOKUP": "0",
// Uncomment to specify optional environment variables:
// "DOCKERFILE_PATHS": "*",
// "PULL_IMAGES": "true",
}
},
"group": "test",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"problemMatcher": []
},
]
}