Skip to content

Commit

Permalink
Revert "Moved UseDiffPackage checkbox to Upgrade section and enabled …
Browse files Browse the repository at this point in the history
…it by default (#7345)"

This reverts commit a1b9ff5.
  • Loading branch information
vinodkumar3 committed Jun 6, 2018
1 parent eff31b7 commit e1b2939
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Tasks/ServiceFabricDeploy/Create-DiffPackage.psm1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function New-DiffPackage
function Create-DiffPackage
{
[CmdletBinding()]
param(
Expand Down
2 changes: 1 addition & 1 deletion Tasks/ServiceFabricDeploy/deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ try {
if ($isPackageValid)
{
Import-Module "$PSScriptRoot\Create-DiffPackage.psm1"
$diffPackagePath = New-DiffPackage -ApplicationName $applicationName -ApplicationPackagePath $applicationPackagePath -ConnectedServiceEndpoint $connectedServiceEndpoint -ClusterConnectionParameters $clusterConnectionParameters
$diffPackagePath = Create-DiffPackage -ApplicationName $applicationName -ApplicationPackagePath $applicationPackagePath -ConnectedServiceEndpoint $connectedServiceEndpoint -ClusterConnectionParameters $clusterConnectionParameters
}
else
{
Expand Down
20 changes: 10 additions & 10 deletions Tasks/ServiceFabricDeploy/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"version": {
"Major": 1,
"Minor": 7,
"Patch": 11
"Patch": 10
},
"demands": [
"Cmd"
Expand Down Expand Up @@ -91,6 +91,15 @@
"groupname": "advanced",
"helpMarkDown": "Indicates whether the application package should be compressed before copying to the image store. If enabled, this will override the value in the publish profile."
},
{
"name": "useDiffPackage",
"type": "boolean",
"label": "Use Diff Package",
"defaultValue": "false",
"required": false,
"groupname": "advanced",
"helpMarkDown": "Upgrade by using a diff package that contains only the updated application files, the updated application manifest, and the service manifest files."
},
{
"name": "copyPackageTimeoutSec",
"type": "string",
Expand Down Expand Up @@ -141,15 +150,6 @@
"groupname": "advanced",
"helpMarkDown": "Indicates whether the package should be validated or not before deployment."
},
{
"name": "useDiffPackage",
"type": "boolean",
"label": "Use Diff Package",
"defaultValue": "false",
"required": false,
"groupname": "upgrade",
"helpMarkDown": "Upgrade by using a diff package that contains only the updated application files, the updated application manifest, and the service manifest files."
},
{
"name": "overridePublishProfileSettings",
"type": "boolean",
Expand Down
20 changes: 10 additions & 10 deletions Tasks/ServiceFabricDeploy/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"version": {
"Major": 1,
"Minor": 7,
"Patch": 11
"Patch": 10
},
"demands": [
"Cmd"
Expand Down Expand Up @@ -91,6 +91,15 @@
"groupname": "advanced",
"helpMarkDown": "ms-resource:loc.input.help.compressPackage"
},
{
"name": "useDiffPackage",
"type": "boolean",
"label": "ms-resource:loc.input.label.useDiffPackage",
"defaultValue": "false",
"required": false,
"groupname": "advanced",
"helpMarkDown": "ms-resource:loc.input.help.useDiffPackage"
},
{
"name": "copyPackageTimeoutSec",
"type": "string",
Expand Down Expand Up @@ -141,15 +150,6 @@
"groupname": "advanced",
"helpMarkDown": "ms-resource:loc.input.help.skipPackageValidation"
},
{
"name": "useDiffPackage",
"type": "boolean",
"label": "ms-resource:loc.input.label.useDiffPackage",
"defaultValue": "false",
"required": false,
"groupname": "upgrade",
"helpMarkDown": "ms-resource:loc.input.help.useDiffPackage"
},
{
"name": "overridePublishProfileSettings",
"type": "boolean",
Expand Down

0 comments on commit e1b2939

Please sign in to comment.