Skip to content

File tree

3 files changed

+41
-21
lines changed

3 files changed

+41
-21
lines changed

Packer/PackerV0/task.json

+27-18
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@
1616
"Patch": 0
1717
},
1818
"satisfies": [],
19-
"demands": ["Packer"],
19+
"demands": [
20+
"Packer"
21+
],
2022
"instanceNameFormat": "Packer $(command)",
21-
"inputs": [{
23+
"inputs": [
24+
{
2225
"name": "azureSubscription",
2326
"type": "connectedService:AzureRM",
2427
"label": "Azure subscription",
@@ -42,11 +45,11 @@
4245
"EditableOptions": "True"
4346
},
4447
"options": {
45-
"build": "build",
48+
"build": "build",
4649
"fix": "fix",
4750
"inspect": "inspect",
4851
"push": "push",
49-
"validate": "validate",
52+
"validate": "validate",
5053
"version": "version"
5154
},
5255
"defaultValue": "build"
@@ -87,21 +90,27 @@
8790
"required": "false"
8891
}
8992
],
90-
"OutputVariables": [{
91-
"name" : "OSDiskUri",
92-
"description" : "The captured VHD's URL (see [VHD or Managed Image](https://www.packer.io/docs/builders/azure.html#vhd-or-managed-image))."
93-
},
94-
{
95-
"name" : "OSDiskUriReadOnlySas"
96-
},
97-
{
98-
"name" : "TemplateUri"
99-
},
100-
{
101-
"name" : "TemplateUriReadOnlySas"
102-
}],
93+
"OutputVariables": [
94+
{
95+
"name": "OSDiskUri",
96+
"description": "The captured VHD's URL (see [VHD or Managed Image](https://www.packer.io/docs/builders/azure.html#vhd-or-managed-image))."
97+
},
98+
{
99+
"name": "OSDiskUriReadOnlySas"
100+
},
101+
{
102+
"name": "TemplateUri"
103+
},
104+
{
105+
"name": "TemplateUriReadOnlySas"
106+
}
107+
],
103108
"execution": {
104-
"Node": {
109+
"Node10": {
110+
"target": "src/packer.js",
111+
"argumentFormat": ""
112+
},
113+
"Node16": {
105114
"target": "src/packer.js",
106115
"argumentFormat": ""
107116
}

Packer/PackerV1/task.json

+4
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@
180180
"Node10": {
181181
"target": "src/packer.js",
182182
"argumentFormat": ""
183+
},
184+
"Node16": {
185+
"target": "src/packer.js",
186+
"argumentFormat": ""
183187
}
184188
}
185189
}

PackerTool/task.json

+10-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@
1515
"Minor": 146,
1616
"Patch": 0
1717
},
18-
"satisfies": ["Packer"],
18+
"satisfies": [
19+
"Packer"
20+
],
1921
"demands": [],
2022
"instanceNameFormat": "Use Packer $(version)",
21-
"inputs": [{
23+
"inputs": [
24+
{
2225
"name": "version",
2326
"type": "string",
2427
"label": "Version",
@@ -31,9 +34,13 @@
3134
"Node10": {
3235
"target": "src/packertool.js",
3336
"argumentFormat": ""
37+
},
38+
"Node16": {
39+
"target": "src/packertool.js",
40+
"argumentFormat": ""
3441
}
3542
},
3643
"messages": {
3744
"ToolFailed": "Tool install failed: %s"
3845
}
39-
}
46+
}

0 commit comments

Comments
 (0)