Skip to content

Commit 25198d9

Browse files
authored
Fix for unzipping archives with lot of files (#13958) (#13995)
Issue: If any option File Transforms or Variable Substitution is enabled, the zip package is extracted to perform the selected operation when source type is zip. The task uses decompress-zip node module to perform the extraction and for packages with lot of files, the module fails with EMFILE error. Fix: Instead of using the decompress-zip module for extraction, changed it to consume tools 7zip for windows and unzip for non-windows agents.
1 parent d952594 commit 25198d9

File tree

16 files changed

+140
-122
lines changed

16 files changed

+140
-122
lines changed

Tasks/AzureMysqlDeploymentV1/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"author": "Microsoft Corporation",
1717
"version": {
1818
"Major": 1,
19-
"Minor": 178,
19+
"Minor": 179,
2020
"Patch": 0
2121
},
2222
"demands": [],

Tasks/AzureMysqlDeploymentV1/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"author": "Microsoft Corporation",
1717
"version": {
1818
"Major": 1,
19-
"Minor": 178,
19+
"Minor": 179,
2020
"Patch": 0
2121
},
2222
"demands": [],

Tasks/AzureRmWebAppDeploymentV4/package-lock.json

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tasks/AzureRmWebAppDeploymentV4/task.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 4,
20-
"Minor": 178,
21-
"Patch": 1
20+
"Minor": 179,
21+
"Patch": 0
2222
},
2323
"releaseNotes": "What's new in version 4.*<br />Supports Zip Deploy, Run From Package, War Deploy [Details here](https://aka.ms/appServiceDeploymentMethods)<br />Supports App Service Environments<br />Improved UI for discovering different App service types supported by the task<br/>Run From Package is the preferred deployment method, which makes files in wwwroot folder read-only<br/>Click [here](https://aka.ms/azurermwebdeployreadme) for more information.",
2424
"minimumAgentVersion": "2.104.1",

Tasks/AzureRmWebAppDeploymentV4/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 4,
20-
"Minor": 178,
21-
"Patch": 1
20+
"Minor": 179,
21+
"Patch": 0
2222
},
2323
"releaseNotes": "ms-resource:loc.releaseNotes",
2424
"minimumAgentVersion": "2.104.1",

Tasks/Common/webdeployment-common-v2/make.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"archiveName": "MSDeploy.zip",
1212
"url": "https://vstsagenttools.blob.core.windows.net/tools/MSDeploy/3.6/M142/MSDeploy.zip",
1313
"dest": "./"
14+
},
15+
{
16+
"url": "https://vstsagenttools.blob.core.windows.net/tools/7zip/1/7zip.zip",
17+
"dest": "./"
1418
}
1519
]
1620
}

0 commit comments

Comments
 (0)