-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
Copy pathtask.loc.json
198 lines (198 loc) · 7.51 KB
/
task.loc.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
"id": "E28912F1-0114-4464-802A-A3A35437FD16",
"name": "Docker",
"friendlyName": "ms-resource:loc.friendlyName",
"description": "ms-resource:loc.description",
"helpUrl": "https://aka.ms/azpipes-docker-tsg",
"helpMarkDown": "ms-resource:loc.helpMarkDown",
"category": "Build",
"visibility": [
"Build",
"Release"
],
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 240,
"Patch": 3
},
"minimumAgentVersion": "2.172.0",
"demands": [],
"releaseNotes": "ms-resource:loc.releaseNotes",
"groups": [
{
"name": "containerRepository",
"displayName": "ms-resource:loc.group.displayName.containerRepository",
"isExpanded": true
},
{
"name": "commands",
"displayName": "ms-resource:loc.group.displayName.commands",
"isExpanded": true
}
],
"inputs": [
{
"name": "containerRegistry",
"type": "connectedService:dockerregistry",
"label": "ms-resource:loc.input.label.containerRegistry",
"groupName": "containerRepository",
"helpMarkDown": "ms-resource:loc.input.help.containerRegistry"
},
{
"name": "repository",
"label": "ms-resource:loc.input.label.repository",
"type": "string",
"helpMarkDown": "ms-resource:loc.input.help.repository",
"defaultValue": "",
"visibleRule": "command != login && command != logout && command != start && command != stop",
"groupName": "containerRepository",
"properties": {
"EditableOptions": "True"
}
},
{
"name": "command",
"type": "pickList",
"label": "ms-resource:loc.input.label.command",
"defaultValue": "buildAndPush",
"required": true,
"options": {
"buildAndPush": "buildAndPush",
"build": "build",
"push": "push",
"login": "login",
"logout": "logout",
"start": "start",
"stop": "stop"
},
"properties": {
"EditableOptions": "True"
},
"groupName": "commands",
"helpMarkDown": "ms-resource:loc.input.help.command"
},
{
"name": "Dockerfile",
"type": "filePath",
"label": "ms-resource:loc.input.label.Dockerfile",
"defaultValue": "**/Dockerfile",
"required": true,
"visibleRule": "command = build || command = buildAndPush",
"groupName": "commands",
"helpMarkDown": "ms-resource:loc.input.help.Dockerfile"
},
{
"name": "buildContext",
"type": "filePath",
"label": "ms-resource:loc.input.label.buildContext",
"defaultValue": "**",
"visibleRule": "command = build || command = buildAndPush",
"groupName": "commands",
"helpMarkDown": "ms-resource:loc.input.help.buildContext"
},
{
"name": "tags",
"type": "multiLine",
"defaultValue": "$(Build.BuildId)",
"properties": {
"resizable": "true",
"rows": "2"
},
"visibleRule": "command = build || command = push || command = buildAndPush",
"label": "ms-resource:loc.input.label.tags",
"groupName": "commands",
"helpMarkDown": "ms-resource:loc.input.help.tags"
},
{
"name": "arguments",
"type": "string",
"visibleRule": "command != login && command != logout && command != buildAndPush",
"label": "ms-resource:loc.input.label.arguments",
"groupName": "commands",
"helpMarkDown": "ms-resource:loc.input.help.arguments"
},
{
"name": "addPipelineData",
"type": "boolean",
"label": "ms-resource:loc.input.label.addPipelineData",
"groupName": "commands",
"defaultValue": "true",
"helpMarkDown": "ms-resource:loc.input.help.addPipelineData"
},
{
"name": "addBaseImageData",
"type": "boolean",
"label": "ms-resource:loc.input.label.addBaseImageData",
"groupName": "commands",
"defaultValue": "true",
"helpMarkDown": "ms-resource:loc.input.help.addBaseImageData"
},
{
"name": "container",
"type": "string",
"visibleRule": "command = start || command = stop",
"label": "ms-resource:loc.input.label.container",
"groupName": "commands",
"helpMarkDown": "ms-resource:loc.input.help.container"
}
],
"dataSourceBindings": [],
"outputVariables": [
{
"name": "DockerOutput",
"description": "The path of the file(s) which contains the output of the command. This contains two file paths (separated by newline characters) in case of buildAndPush command, and one file path for any other command."
}
],
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
"showEnvironmentVariables": true,
"execution": {
"Node10": {
"target": "docker.js"
},
"Node16": {
"target": "docker.js"
},
"Node20_1": {
"target": "docker.js",
"argumentFormat": ""
}
},
"messages": {
"AddingNewAuthToExistingConfig": "ms-resource:loc.messages.AddingNewAuthToExistingConfig",
"ConnectingToDockerHost": "ms-resource:loc.messages.ConnectingToDockerHost",
"CommandNotRecognized": "ms-resource:loc.messages.CommandNotRecognized",
"ContainerPatternFound": "ms-resource:loc.messages.ContainerPatternFound",
"ContainerPatternNotFound": "ms-resource:loc.messages.ContainerPatternNotFound",
"ContainerDockerFileNotFound": "ms-resource:loc.messages.ContainerDockerFileNotFound",
"CantWriteDataToFile": "ms-resource:loc.messages.CantWriteDataToFile",
"CouldNotFindDockerConfig": "ms-resource:loc.messages.CouldNotFindDockerConfig",
"MSIFetchError": "ms-resource:loc.messages.MSIFetchError",
"DockerHostVariableWarning": "ms-resource:loc.messages.DockerHostVariableWarning",
"DeletingDockerConfigDirectory": "ms-resource:loc.messages.DeletingDockerConfigDirectory",
"DeletingAuthDataFromDockerConfig": "ms-resource:loc.messages.DeletingAuthDataFromDockerConfig",
"DockerRegistryNotFound": "ms-resource:loc.messages.DockerRegistryNotFound",
"ErrorParsingDockerConfig": "ms-resource:loc.messages.ErrorParsingDockerConfig",
"FileContentSynced": "ms-resource:loc.messages.FileContentSynced",
"FoundDockerConfigStoredInTempPath": "ms-resource:loc.messages.FoundDockerConfigStoredInTempPath",
"FoundLoginsForOtherRegistries": "ms-resource:loc.messages.FoundLoginsForOtherRegistries",
"IgnoringArgumentsInput": "ms-resource:loc.messages.IgnoringArgumentsInput",
"LoggingOutFromRegistry": "ms-resource:loc.messages.LoggingOutFromRegistry",
"LoggingOutWithNoRegistrySpecified": "ms-resource:loc.messages.LoggingOutWithNoRegistrySpecified",
"NoAuthInfoFoundInDockerConfig": "ms-resource:loc.messages.NoAuthInfoFoundInDockerConfig",
"NoDataWrittenOnFile": "ms-resource:loc.messages.NoDataWrittenOnFile",
"NoImagesInImageNamesFile": "ms-resource:loc.messages.NoImagesInImageNamesFile",
"NotAddingAnyTagsToBuild": "ms-resource:loc.messages.NotAddingAnyTagsToBuild",
"NotPushingAsNoLoginFound": "ms-resource:loc.messages.NotPushingAsNoLoginFound",
"OldDockerConfigContent": "ms-resource:loc.messages.OldDockerConfigContent",
"OutputVariableDataSizeExceeded": "ms-resource:loc.messages.OutputVariableDataSizeExceeded",
"PathIsNotInTempDirectory": "ms-resource:loc.messages.PathIsNotInTempDirectory",
"RegistryAuthNotPresentInConfig": "ms-resource:loc.messages.RegistryAuthNotPresentInConfig",
"RestoringOldLoginAuth": "ms-resource:loc.messages.RestoringOldLoginAuth",
"WritingDockerConfigToTempFile": "ms-resource:loc.messages.WritingDockerConfigToTempFile"
},
"_buildConfigMapping": {
"Default": "2.240.2",
"Node20_229_2": "2.240.3"
}
}