-
Notifications
You must be signed in to change notification settings - Fork 68
/
task.json
88 lines (88 loc) · 2.46 KB
/
task.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
{
"id": "1EBF2967-63B3-4372-89F7-6799108A22F0",
"name": "DacPacReport",
"friendlyName": "DacPac Schema Compare",
"description": "Provides a report on database model changes since the last build",
"author": "Colin Dembovsky (colinsalmcorner.com)",
"helpMarkDown": "[More Information](https://github.com/colindembovsky/cols-agent-tasks/tree/master/Tasks/DacPacReport)",
"category": "Build",
"visibility": [
"Build",
"Release"
],
"demands": [
"sqlpackage"
],
"version": {
"Major": "1",
"Minor": "2",
"Patch": "31"
},
"minimumAgentVersion": "1.91.0",
"instanceNameFormat": "DacPac Schema Compare $(dacpacName).dacpac",
"groups": [
{
"name": "advanced",
"displayName": "Advanced",
"isExpanded": false
}
],
"inputs": [
{
"name": "dropName",
"type": "string",
"label": "Drop Name",
"defaultValue": "drop",
"required": true,
"helpMarkDown": "Name of the drop in which to find previous build dacpac file."
},
{
"name": "dacpacName",
"type": "string",
"label": "DacPac Name",
"defaultValue": "",
"required": true,
"helpMarkDown": "Name of the dacpac (without .dacpac extension) to run the schema compare on."
},
{
"name": "targetDacPacPath",
"type": "filePath",
"label": "Compiled DacPac Path",
"defaultValue": "",
"required": true,
"helpMarkDown": "Path to find the target dacpac (typically the artifact staging path where the dacpac will be uploaded from)."
},
{
"name": "extraArgs",
"type": "string",
"label": "Extra SQLPackage args",
"defaultValue": "",
"required": false,
"helpMarkDown": "Extra args to use for running the SQLPackage.exe schema compare command.",
"groupName": "advanced"
},
{
"name": "reverse",
"type": "boolean",
"label": "Reverse Comparison",
"defaultValue": false,
"required": false,
"helpMarkDown": "Check this to reverse the source and target.",
"groupName": "advanced"
},
{
"name": "userSqlPackagePath",
"type": "string",
"label": "SQL Package exe filepath",
"defaultValue": "",
"required": false,
"helpMarkDown": "Specify the sqlpackage.exe filepath - use this only if the default does not detect the path correctly.",
"groupName": "advanced"
}
],
"execution": {
"PowerShell3": {
"target": "DacPacReport.ps1"
}
}
}