Skip to content

Commit

Permalink
[AzureRmWebAppDeploymentV3] Update task to node16 using codegen (#18919)
Browse files Browse the repository at this point in the history
* [AzureRmWebAppDeploymentV3] Update task to node16 using codegen

- Replaced exec with execSync since in node10 the task-lib wasn't catch/failed tasks on async operations (like exec)
  and from node16 it started to throws errors which can be caught by the task-lib. With execSync the UseDotNet task could
  catch and handle the errors in NuGetInstaller.installNuGet method.
- Added additional argument wrapper for backward compability

* [AzureRmWebAppDeploymentV3] Update task to node16 using codegen

- Replaced exec with execSync since in node10 the task-lib wasn't catch/failed tasks on async operations (like exec)
  and from node16 it started to throws errors which can be caught by the task-lib. With execSync the UseDotNet task could
  catch and handle the errors in NuGetInstaller.installNuGet method.
- Added additional argument wrapper for backward compability

* Some changes to override hash

---------

Co-authored-by: Kirill Ivlev <102740624+kirill-ivlev@users.noreply.github.com>
Co-authored-by: Mohith <97882857+v-mohithgc@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 19, 2023
1 parent 6b291c4 commit cfc97f2
Show file tree
Hide file tree
Showing 241 changed files with 39,006 additions and 766 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Place files overridden for this config in this directory
61 changes: 61 additions & 0 deletions Tasks/AzureRmWebAppDeploymentV3/_buildConfigs/Node16/make.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"externals": {
"archivePackages": [
{
"archiveName": "MSDeploy.zip",
"url": "https://vstsagenttools.blob.core.windows.net/tools/MSDeploy/3.6/MSDeploy.zip",
"dest": "./"
},
{
"archiveName": "MSDeploy.zip",
"url": "https://vstsagenttools.blob.core.windows.net/tools/MSDeploy/3.6/MSDeploy.zip",
"dest": "./webdeployment-common/"
},
{
"archiveName": "ctt.zip",
"url": "https://vstsagenttools.blob.core.windows.net/tools/ctt/1.6/ctt.zip",
"dest": "./"
}
]
},
"cp": [
{
"source": "postDeploymentScript",
"options": "-R"
},
{
"source": "webdeployment-common/Tests/L1JSONVarSub",
"dest": "webdeployment-common/Tests",
"options": "-R"
},
{
"source": "webdeployment-common/Tests/L1XdtTransform",
"dest": "webdeployment-common/Tests",
"options": "-R"
},
{
"source": "webdeployment-common/Tests/L1XmlVarSub",
"dest": "webdeployment-common/Tests",
"options": "-R"
},
{
"source": "webdeployment-common/WebConfigTemplates",
"dest": "webdeployment-common",
"options": "-R"
},
{
"source": "webdeployment-common/Strings",
"dest": "webdeployment-common",
"options": "-R"
}
],
"rm": [
{
"items": [
"node_modules/azure-pipelines-tasks-azure-arm-rest/node_modules/azure-pipelines-task-lib",
"node_modules/https-proxy-agent/node_modules/agent-base"
],
"options": "-Rf"
}
]
}
Loading

0 comments on commit cfc97f2

Please sign in to comment.