Skip to content

Commit 6bd641f

Browse files
authored
Remove layerId from docker layer information sent to metadata store (… (#11554)
* Remove layerId from docker layer information sent to metadata store (#11552) * Remove layerId from docker layer information sent to metadata store * updating versions of related tasks * correcting versions to 159
1 parent 8baa7bb commit 6bd641f

File tree

11 files changed

+16
-10
lines changed

11 files changed

+16
-10
lines changed

Tasks/Common/docker-common-v2/dockercommandutils.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,12 @@ function parseHistoryForLayers(input: string) {
232232
argument = input.substring(indexCreatedBy + createdByMatch.length, input.length - 1);
233233
}
234234

235+
const layerIdMatch = "; layerId:";
236+
const indexLayerId = argument.indexOf(layerIdMatch);
237+
if (indexLayerId >= 0) {
238+
argument = argument.substring(0, indexLayerId);
239+
}
240+
235241
let createdAt: string = "";
236242
let layerSize: string = "";
237243
const createdAtMatch = "createdAt:";

Tasks/ContainerStructureTestV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 1,
17-
"Patch": 1
17+
"Patch": 3
1818
},
1919
"preview": true,
2020
"demands": [],

Tasks/ContainerStructureTestV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 1,
17-
"Patch": 1
17+
"Patch": 3
1818
},
1919
"preview": true,
2020
"demands": [],

Tasks/DockerComposeV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 159,
17-
"Patch": 0
17+
"Patch": 1
1818
},
1919
"demands": [],
2020
"preview": "false",

Tasks/DockerComposeV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 159,
17-
"Patch": 0
17+
"Patch": 1
1818
},
1919
"demands": [],
2020
"preview": "false",

Tasks/DockerV2/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 159,
17-
"Patch": 0
17+
"Patch": 1
1818
},
1919
"demands": [],
2020
"releaseNotes": "Simplified the task YAML by:<br/>&nbsp;- Removing the Container registry type input<br/>&nbsp;- Removing complex inputs as they can be passed as arguments to the command.",

Tasks/DockerV2/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 159,
17-
"Patch": 0
17+
"Patch": 1
1818
},
1919
"demands": [],
2020
"releaseNotes": "ms-resource:loc.releaseNotes",

Tasks/KubernetesManifestV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 159,
17-
"Patch": 3
17+
"Patch": 4
1818
},
1919
"demands": [],
2020
"groups": [],

Tasks/KubernetesManifestV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 159,
17-
"Patch": 3
17+
"Patch": 4
1818
},
1919
"demands": [],
2020
"groups": [],

Tasks/KubernetesV1/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 1,
1616
"Minor": 159,
17-
"Patch": 4
17+
"Patch": 5
1818
},
1919
"demands": [],
2020
"releaseNotes": "What's new in Version 1.0:<br/>&nbsp;Added new service connection type input for easy selection of Azure AKS cluster.<br/>&nbsp;Replaced output variable input with output variables section that we had added in all tasks.",

0 commit comments

Comments
 (0)