Skip to content

Commit 0e190cd

Browse files
Replace sync-request with nodejs-file-downloader (#19769)
* Replace sync-request with nodejs-file-downloader - Replaced sync-request with nodejs-file-downloader because the package is not supported anymore - Replaced sync methods with async because nodejs-file-downloader and nodejs makes only async requests * build task locally using node 20.11.0 and npm 10 * bump up versions * regenerate package-lock for DownloadGitHubReleaseV0 * Revert "bump up versions" This reverts commit d6446cc. * Revert "regenerate package-lock for DownloadGitHubReleaseV0" This reverts commit e4021c9. * Revert "build task locally using node 20.11.0 and npm 10" This reverts commit 2c3a8d5. * Download node for windows with npm * Download node for windows with npm * Optimize build config calls * Optimize determination of node version * Fix uncommitted changes * Replace sync-request with nodejs-file-downloader - use node 10 as default for non-node tasks - bump tasks version --------- Co-authored-by: Zixuan Qian <[email protected]>
1 parent b4017a7 commit 0e190cd

File tree

26 files changed

+2461
-1429
lines changed

26 files changed

+2461
-1429
lines changed

Tasks/DelayV1/Strings/resources.resjson/en-US/resources.resjson

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"loc.friendlyName": "Delay",
3-
"loc.helpMarkDown": "[More Information](https://go.microsoft.com/fwlink/?linkid=870239)",
3+
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=870239)",
44
"loc.description": "Delay further execution of a workflow by a fixed time",
55
"loc.instanceNameFormat": "Delay by $(delayForMinutes) minutes",
66
"loc.input.label.delayForMinutes": "Delay Time (minutes)",

Tasks/DelayV1/task.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
],
1717
"version": {
1818
"Major": 1,
19-
"Minor": 1,
20-
"Patch": 10
19+
"Minor": 238,
20+
"Patch": 0
2121
},
2222
"inputs": [
2323
{

Tasks/DelayV1/task.loc.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
],
1717
"version": {
1818
"Major": 1,
19-
"Minor": 1,
20-
"Patch": 10
19+
"Minor": 238,
20+
"Patch": 0
2121
},
2222
"inputs": [
2323
{

Tasks/IISWebAppManagementOnMachineGroupV0/Strings/resources.resjson/en-US/resources.resjson

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"loc.friendlyName": "IIS web app manage",
3-
"loc.helpMarkDown": "[More Information](https://aka.ms/iis-webapp-management-readme)",
3+
"loc.helpMarkDown": "[Learn more about this task](https://aka.ms/iis-webapp-management-readme)",
44
"loc.description": "Create or update websites, web apps, virtual directories, or application pools",
55
"loc.instanceNameFormat": "Manage $(IISDeploymentType)",
66
"loc.group.displayName.Website": "IIS Website",

Tasks/IISWebAppManagementOnMachineGroupV0/task.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"demands": [],
1818
"version": {
1919
"Major": 0,
20-
"Minor": 198,
20+
"Minor": 238,
2121
"Patch": 0
2222
},
2323
"minimumAgentVersion": "2.111.0",

Tasks/IISWebAppManagementOnMachineGroupV0/task.loc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"demands": [],
1818
"version": {
1919
"Major": 0,
20-
"Minor": 198,
20+
"Minor": 238,
2121
"Patch": 0
2222
},
2323
"minimumAgentVersion": "2.111.0",

Tasks/ManualInterventionV8/Strings/resources.resjson/en-US/resources.resjson

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"loc.friendlyName": "Manual intervention",
3-
"loc.helpMarkDown": "[More Information](https://go.microsoft.com/fwlink/?linkid=870234)",
3+
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=870234)",
44
"loc.description": "Pause deployment and wait for manual intervention",
55
"loc.instanceNameFormat": "Manual Intervention",
66
"loc.input.label.instructions": "Instructions",

Tasks/ManualInterventionV8/task.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"version": {
1717
"Major": 8,
18-
"Minor": 198,
18+
"Minor": 238,
1919
"Patch": 0
2020
},
2121
"inputs": [

Tasks/ManualInterventionV8/task.loc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"version": {
1717
"Major": 8,
18-
"Minor": 198,
18+
"Minor": 238,
1919
"Patch": 0
2020
},
2121
"inputs": [

Tasks/ManualValidationV0/Strings/resources.resjson/en-US/resources.resjson

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
"loc.helpMarkDown": "[Learn more about this task](https://aka.ms/manual-validation)",
44
"loc.description": "[PREVIEW] Pause a pipeline run to wait for manual interaction. Works only with YAML pipelines.",
55
"loc.instanceNameFormat": "Manual Validation",
6-
"loc.input.label.validators": "Notify users",
7-
"loc.input.help.validators": "Send a manual validation pending email to specific users (or groups). Only users with queue build permission can act on a manual validation.",
6+
"loc.input.label.notifyUsers": "Notify users",
7+
"loc.input.help.notifyUsers": "Send a manual validation pending email to specific users (or groups). Only users with queue build permission can act on a manual validation.",
88
"loc.input.label.instructions": "Instructions",
99
"loc.input.help.instructions": "These instructions will be shown to the user for resuming or rejecting the manual validation. Based on these instructions the user will take an informed decision about this manual validation.",
1010
"loc.input.label.onTimeout": "On timeout",
11-
"loc.input.label.onTimeoutReject": "Reject",
12-
"loc.input.label.onTimeoutResume": "Resume",
1311
"loc.input.help.onTimeout": "Reject or resume this manual validation automatically after it is pending for the specified timeout or 30 days, whichever is earlier."
1412
}

Tasks/ManualValidationV0/task.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"version": {
1717
"Major": 0,
18-
"Minor": 198,
18+
"Minor": 238,
1919
"Patch": 0
2020
},
2121
"preview": true,

Tasks/ManualValidationV0/task.loc.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
],
1616
"version": {
1717
"Major": 0,
18-
"Minor": 198,
18+
"Minor": 238,
1919
"Patch": 0
2020
},
2121
"preview": true,
2222
"inputs": [
2323
{
2424
"name": "notifyUsers",
2525
"type": "multiLine",
26-
"label": "ms-resource:loc.input.label.validators",
26+
"label": "ms-resource:loc.input.label.notifyUsers",
2727
"defaultValue": "",
2828
"required": true,
29-
"helpMarkDown": "ms-resource:loc.input.help.validators"
29+
"helpMarkDown": "ms-resource:loc.input.help.notifyUsers"
3030
},
3131
{
3232
"name": "instructions",
@@ -44,12 +44,12 @@
4444
{
4545
"name": "onTimeout",
4646
"type": "radio",
47-
"label": "loc.input.label.onTimeout",
48-
"defaultValue": "loc.input.label.onTimeoutReject",
47+
"label": "ms-resource:loc.input.label.onTimeout",
48+
"defaultValue": "reject",
4949
"required": false,
5050
"options": {
51-
"reject": "loc.input.label.onTimeoutReject",
52-
"resume": "loc.input.label.onTimeoutResume"
51+
"reject": "Reject",
52+
"resume": "Resume"
5353
},
5454
"helpMarkDown": "ms-resource:loc.input.help.onTimeout"
5555
}

0 commit comments

Comments
 (0)