Skip to content

Commit ce16712

Browse files
SatishRanjankirill-ivlevDmitrii Bobreshev (Akvelon INC)DmitriiBobreshev
authored
Fixing the casing issue with WebAppKind for deployment to app service windows container via YAML devops workflow (#19070)
* Fixing the casing issue with WebAppKind for deployment to app service windows container via YAML devops workflow * Update Version to the current sprint Updating Version to the current sprint 232 * Update Version to the current sprint 232 Update Version to the current sprint 232 * Fixing the casing issue with WebAppKind for deployment to app service windows container via YAML devops workflow windows container via YAML devops workflow * Fixing the casing issue with WebAppKind for deployment to app service windows container via YAML devops workflow windows container via YAML devops workflow --------- Co-authored-by: Kirill Ivlev <[email protected]> Co-authored-by: Dmitrii Bobreshev (Akvelon INC) <[email protected]> Co-authored-by: Dmitrii Bobreshev <[email protected]>
1 parent 198b7f1 commit ce16712

File tree

7 files changed

+89
-89
lines changed

7 files changed

+89
-89
lines changed

Tasks/AzureRmWebAppDeploymentV4/task.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,30 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 4,
20-
"Minor": 231,
20+
"Minor": 232,
2121
"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",
2525
"groups": [
26-
{
27-
"name": "FileTransformsAndVariableSubstitution",
28-
"displayName": "File Transforms & Variable Substitution Options",
29-
"isExpanded": false,
30-
"visibleRule": "WebAppKind != webAppContainer && WebAppkind != functionAppContainer && WebAppKind != webAppLinux && webAppKind != functionAppLinux && Package NotEndsWith .war"
31-
},
32-
{
33-
"name": "AdditionalDeploymentOptions",
34-
"displayName": "Additional Deployment Options",
35-
"isExpanded": false,
36-
"visibleRule": "ConnectionType = AzureRM && WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppkind != functionAppContainer && webAppKind != functionAppLinux && WebAppKind != \"\" && Package NotEndsWith .war && Package NotEndsWith .jar"
37-
},
38-
{
39-
"name": "PostDeploymentAction",
40-
"displayName": "Post Deployment Action",
41-
"isExpanded": false,
42-
"visibleRule": "ConnectionType = AzureRM && WebAppKind != \"\" && WebAppKind != webAppContainer && WebAppkind != functionAppContainer"
43-
},
26+
{
27+
"name": "FileTransformsAndVariableSubstitution",
28+
"displayName": "File Transforms & Variable Substitution Options",
29+
"isExpanded": false,
30+
"visibleRule": "WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer && WebAppKind != webAppLinux && webAppKind != functionAppLinux && Package NotEndsWith .war"
31+
},
32+
{
33+
"name": "AdditionalDeploymentOptions",
34+
"displayName": "Additional Deployment Options",
35+
"isExpanded": false,
36+
"visibleRule": "ConnectionType = AzureRM && WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer && webAppKind != functionAppLinux && WebAppKind != \"\" && Package NotEndsWith .war && Package NotEndsWith .jar"
37+
},
38+
{
39+
"name": "PostDeploymentAction",
40+
"displayName": "Post Deployment Action",
41+
"isExpanded": false,
42+
"visibleRule": "ConnectionType = AzureRM && WebAppKind != \"\" && WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer"
43+
},
4444
{
4545
"name": "ApplicationAndConfigurationSettings",
4646
"displayName": "Application and Configuration Settings",
@@ -170,7 +170,7 @@
170170
"label": "Registry or Namespace",
171171
"defaultValue": "",
172172
"required": true,
173-
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppkind = webAppHyperVContainer",
173+
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = webAppHyperVContainer",
174174
"helpMarkDown": "A globally unique top-level domain name for your specific registry or namespace.<br/> Note: Fully qualified image name will be of the format: '<b>`<registry or namespace`></b>/`<repository`>:`<tag`>'. For example, '<b>myregistry.azurecr.io</b>/nginx:latest'."
175175
},
176176
{
@@ -179,7 +179,7 @@
179179
"label": "Image",
180180
"defaultValue": "",
181181
"required": true,
182-
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppkind = webAppHyperVContainer",
182+
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = webAppHyperVContainer",
183183
"helpMarkDown": "Name of the repository where the container images are stored.<br/> Note: Fully qualified image name will be of the format: '`<registry or namespace`>/<b>`<repository`></b>:`<tag`>'. For example, 'myregistry.azurecr.io/<b>nginx</b>:latest'."
184184
},
185185
{
@@ -188,18 +188,18 @@
188188
"label": "Tag",
189189
"defaultValue": "",
190190
"required": false,
191-
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppkind = webAppHyperVContainer",
191+
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = webAppHyperVContainer",
192192
"helpMarkDown": "Tags are optional, it is the mechanism that registries use to give Docker images a version.<br/> Note: Fully qualified image name will be of the format: '`<registry or namespace`>/`<repository`>:<b>`<tag`></b>'. For example, 'myregistry.azurecr.io/nginx:<b>latest</b>'."
193193
},
194-
{
195-
"name": "VirtualApplication",
196-
"type": "string",
197-
"label": "Virtual application",
198-
"defaultValue": "",
199-
"required": false,
200-
"visibleRule": "WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppkind != functionAppContainer && WebAppKind != functionApp && webAppKind != functionAppLinux && WebAppKind != \"\"",
201-
"helpMarkDown": "Specify the name of the Virtual application that has been configured in the Azure portal. The option is not required for deployments to the App Service root."
202-
},
194+
{
195+
"name": "VirtualApplication",
196+
"type": "string",
197+
"label": "Virtual application",
198+
"defaultValue": "",
199+
"required": false,
200+
"visibleRule": "WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer && WebAppKind != functionApp && webAppKind != functionAppLinux && WebAppKind != \"\"",
201+
"helpMarkDown": "Specify the name of the Virtual application that has been configured in the Azure portal. The option is not required for deployments to the App Service root."
202+
},
203203
{
204204
"name": "Package",
205205
"aliases": [
@@ -255,7 +255,7 @@
255255
"label": "Startup command ",
256256
"defaultValue": "",
257257
"required": false,
258-
"visibleRule": "WebAppKind = webAppLinux || WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = functionAppLinux || WebAppkind = webAppHyperVContainer",
258+
"visibleRule": "WebAppKind = webAppLinux || WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = functionAppLinux || WebAppKind = webAppHyperVContainer",
259259
"helpMarkDown": "Enter the start up command. For ex.<br/>dotnet exec filename.dll<br/>dotnet filename.dll"
260260
},
261261
{
@@ -654,4 +654,4 @@
654654
"RunFromZipPreventsFileInUseError": "Move from Web Deploy to RunFrom Package, which helps in avoiding FILE_IN_USE error. Note that Run From Package does not support msBuild package type. Please change your package format to use this deployment method.",
655655
"MSDeployNotSupportTokenAuth": "App Service is configured to not use basic authentication. This requires Web Deploy msdeploy.exe version 7.1.7225 or higher. You need a version of Visual Studio that includes an updated version of msdeploy.exe. For more information, visit https://aka.ms/azdo-webapp-msdeploy ."
656656
}
657-
}
657+
}

Tasks/AzureRmWebAppDeploymentV4/task.loc.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 4,
20-
"Minor": 231,
20+
"Minor": 232,
2121
"Patch": 0
2222
},
2323
"releaseNotes": "ms-resource:loc.releaseNotes",
@@ -27,19 +27,19 @@
2727
"name": "FileTransformsAndVariableSubstitution",
2828
"displayName": "ms-resource:loc.group.displayName.FileTransformsAndVariableSubstitution",
2929
"isExpanded": false,
30-
"visibleRule": "WebAppKind != webAppContainer && WebAppkind != functionAppContainer && WebAppKind != webAppLinux && webAppKind != functionAppLinux && Package NotEndsWith .war"
30+
"visibleRule": "WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer && WebAppKind != webAppLinux && webAppKind != functionAppLinux && Package NotEndsWith .war"
3131
},
3232
{
3333
"name": "AdditionalDeploymentOptions",
3434
"displayName": "ms-resource:loc.group.displayName.AdditionalDeploymentOptions",
3535
"isExpanded": false,
36-
"visibleRule": "ConnectionType = AzureRM && WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppkind != functionAppContainer && webAppKind != functionAppLinux && WebAppKind != \"\" && Package NotEndsWith .war && Package NotEndsWith .jar"
36+
"visibleRule": "ConnectionType = AzureRM && WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer && webAppKind != functionAppLinux && WebAppKind != \"\" && Package NotEndsWith .war && Package NotEndsWith .jar"
3737
},
3838
{
3939
"name": "PostDeploymentAction",
4040
"displayName": "ms-resource:loc.group.displayName.PostDeploymentAction",
4141
"isExpanded": false,
42-
"visibleRule": "ConnectionType = AzureRM && WebAppKind != \"\" && WebAppKind != webAppContainer && WebAppkind != functionAppContainer"
42+
"visibleRule": "ConnectionType = AzureRM && WebAppKind != \"\" && WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer"
4343
},
4444
{
4545
"name": "ApplicationAndConfigurationSettings",
@@ -170,7 +170,7 @@
170170
"label": "ms-resource:loc.input.label.DockerNamespace",
171171
"defaultValue": "",
172172
"required": true,
173-
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppkind = webAppHyperVContainer",
173+
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = webAppHyperVContainer",
174174
"helpMarkDown": "ms-resource:loc.input.help.DockerNamespace"
175175
},
176176
{
@@ -179,7 +179,7 @@
179179
"label": "ms-resource:loc.input.label.DockerRepository",
180180
"defaultValue": "",
181181
"required": true,
182-
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppkind = webAppHyperVContainer",
182+
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = webAppHyperVContainer",
183183
"helpMarkDown": "ms-resource:loc.input.help.DockerRepository"
184184
},
185185
{
@@ -188,7 +188,7 @@
188188
"label": "ms-resource:loc.input.label.DockerImageTag",
189189
"defaultValue": "",
190190
"required": false,
191-
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppkind = webAppHyperVContainer",
191+
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = webAppHyperVContainer",
192192
"helpMarkDown": "ms-resource:loc.input.help.DockerImageTag"
193193
},
194194
{
@@ -197,7 +197,7 @@
197197
"label": "ms-resource:loc.input.label.VirtualApplication",
198198
"defaultValue": "",
199199
"required": false,
200-
"visibleRule": "WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppkind != functionAppContainer && WebAppKind != functionApp && webAppKind != functionAppLinux && WebAppKind != \"\"",
200+
"visibleRule": "WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer && WebAppKind != functionApp && webAppKind != functionAppLinux && WebAppKind != \"\"",
201201
"helpMarkDown": "ms-resource:loc.input.help.VirtualApplication"
202202
},
203203
{
@@ -255,7 +255,7 @@
255255
"label": "ms-resource:loc.input.label.StartupCommand",
256256
"defaultValue": "",
257257
"required": false,
258-
"visibleRule": "WebAppKind = webAppLinux || WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = functionAppLinux || WebAppkind = webAppHyperVContainer",
258+
"visibleRule": "WebAppKind = webAppLinux || WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = functionAppLinux || WebAppKind = webAppHyperVContainer",
259259
"helpMarkDown": "ms-resource:loc.input.help.StartupCommand"
260260
},
261261
{
@@ -654,4 +654,4 @@
654654
"RunFromZipPreventsFileInUseError": "ms-resource:loc.messages.RunFromZipPreventsFileInUseError",
655655
"MSDeployNotSupportTokenAuth": "ms-resource:loc.messages.MSDeployNotSupportTokenAuth"
656656
}
657-
}
657+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Default|4.231.0
2-
Node16-225|4.231.1
1+
Default|4.232.0
2+
Node16-225|4.232.1

_generated/AzureRmWebAppDeploymentV4/task.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 4,
20-
"Minor": 231,
20+
"Minor": 232,
2121
"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.",
@@ -27,19 +27,19 @@
2727
"name": "FileTransformsAndVariableSubstitution",
2828
"displayName": "File Transforms & Variable Substitution Options",
2929
"isExpanded": false,
30-
"visibleRule": "WebAppKind != webAppContainer && WebAppkind != functionAppContainer && WebAppKind != webAppLinux && webAppKind != functionAppLinux && Package NotEndsWith .war"
30+
"visibleRule": "WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer && WebAppKind != webAppLinux && webAppKind != functionAppLinux && Package NotEndsWith .war"
3131
},
3232
{
3333
"name": "AdditionalDeploymentOptions",
3434
"displayName": "Additional Deployment Options",
3535
"isExpanded": false,
36-
"visibleRule": "ConnectionType = AzureRM && WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppkind != functionAppContainer && webAppKind != functionAppLinux && WebAppKind != \"\" && Package NotEndsWith .war && Package NotEndsWith .jar"
36+
"visibleRule": "ConnectionType = AzureRM && WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer && webAppKind != functionAppLinux && WebAppKind != \"\" && Package NotEndsWith .war && Package NotEndsWith .jar"
3737
},
3838
{
3939
"name": "PostDeploymentAction",
4040
"displayName": "Post Deployment Action",
4141
"isExpanded": false,
42-
"visibleRule": "ConnectionType = AzureRM && WebAppKind != \"\" && WebAppKind != webAppContainer && WebAppkind != functionAppContainer"
42+
"visibleRule": "ConnectionType = AzureRM && WebAppKind != \"\" && WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer"
4343
},
4444
{
4545
"name": "ApplicationAndConfigurationSettings",
@@ -170,7 +170,7 @@
170170
"label": "Registry or Namespace",
171171
"defaultValue": "",
172172
"required": true,
173-
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppkind = webAppHyperVContainer",
173+
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = webAppHyperVContainer",
174174
"helpMarkDown": "A globally unique top-level domain name for your specific registry or namespace.<br/> Note: Fully qualified image name will be of the format: '<b>`<registry or namespace`></b>/`<repository`>:`<tag`>'. For example, '<b>myregistry.azurecr.io</b>/nginx:latest'."
175175
},
176176
{
@@ -179,7 +179,7 @@
179179
"label": "Image",
180180
"defaultValue": "",
181181
"required": true,
182-
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppkind = webAppHyperVContainer",
182+
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = webAppHyperVContainer",
183183
"helpMarkDown": "Name of the repository where the container images are stored.<br/> Note: Fully qualified image name will be of the format: '`<registry or namespace`>/<b>`<repository`></b>:`<tag`>'. For example, 'myregistry.azurecr.io/<b>nginx</b>:latest'."
184184
},
185185
{
@@ -188,7 +188,7 @@
188188
"label": "Tag",
189189
"defaultValue": "",
190190
"required": false,
191-
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppkind = webAppHyperVContainer",
191+
"visibleRule": "WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = webAppHyperVContainer",
192192
"helpMarkDown": "Tags are optional, it is the mechanism that registries use to give Docker images a version.<br/> Note: Fully qualified image name will be of the format: '`<registry or namespace`>/`<repository`>:<b>`<tag`></b>'. For example, 'myregistry.azurecr.io/nginx:<b>latest</b>'."
193193
},
194194
{
@@ -197,7 +197,7 @@
197197
"label": "Virtual application",
198198
"defaultValue": "",
199199
"required": false,
200-
"visibleRule": "WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppkind != functionAppContainer && WebAppKind != functionApp && webAppKind != functionAppLinux && WebAppKind != \"\"",
200+
"visibleRule": "WebAppKind != webAppLinux && WebAppKind != webAppContainer && WebAppKind != webAppHyperVContainer && WebAppkind != functionAppContainer && WebAppKind != functionApp && webAppKind != functionAppLinux && WebAppKind != \"\"",
201201
"helpMarkDown": "Specify the name of the Virtual application that has been configured in the Azure portal. The option is not required for deployments to the App Service root."
202202
},
203203
{
@@ -255,7 +255,7 @@
255255
"label": "Startup command ",
256256
"defaultValue": "",
257257
"required": false,
258-
"visibleRule": "WebAppKind = webAppLinux || WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = functionAppLinux || WebAppkind = webAppHyperVContainer",
258+
"visibleRule": "WebAppKind = webAppLinux || WebAppKind = webAppContainer || WebAppkind = functionAppContainer || WebAppKind = functionAppLinux || WebAppKind = webAppHyperVContainer",
259259
"helpMarkDown": "Enter the start up command. For ex.<br/>dotnet exec filename.dll<br/>dotnet filename.dll"
260260
},
261261
{
@@ -655,7 +655,7 @@
655655
"MSDeployNotSupportTokenAuth": "App Service is configured to not use basic authentication. This requires Web Deploy msdeploy.exe version 7.1.7225 or higher. You need a version of Visual Studio that includes an updated version of msdeploy.exe. For more information, visit https://aka.ms/azdo-webapp-msdeploy ."
656656
},
657657
"_buildConfigMapping": {
658-
"Default": "4.231.0",
659-
"Node16-225": "4.231.1"
658+
"Default": "4.232.0",
659+
"Node16-225": "4.232.1"
660660
}
661661
}

0 commit comments

Comments
 (0)