diff --git a/Tasks/SqlServerDacpacDeployment/DeployToSqlServer.ps1 b/Tasks/SqlServerDacpacDeployment/DeployToSqlServer.ps1 index 63ea98905e7e..4e2f91f40504 100644 --- a/Tasks/SqlServerDacpacDeployment/DeployToSqlServer.ps1 +++ b/Tasks/SqlServerDacpacDeployment/DeployToSqlServer.ps1 @@ -15,9 +15,11 @@ [string]$connectionString, [string]$publishProfile, [string]$additionalArguments, - [string]$deployInParallel + [string]$deployInParallel ) +Write-Warning "The preview SQL Server Database Deployment task has been deprecated and will be removed soon. An SQL Server Database Deployment task has been released as an extension in the Visual Studio Team Services marketplace at https://aka.ms/iisextn. Install the extension, and use its tasks in the Build/Release definitions, and delete the preview task from the definition." + Write-Verbose "Entering script DeployToSqlServer.ps1" -Verbose Write-Verbose "environmentName = $environmentName" -Verbose Write-Verbose "adminUserName = $adminUserName" -Verbose diff --git a/Tasks/SqlServerDacpacDeployment/README.md b/Tasks/SqlServerDacpacDeployment/README.md index 76f342c391dd..5b81ee61b6df 100644 --- a/Tasks/SqlServerDacpacDeployment/README.md +++ b/Tasks/SqlServerDacpacDeployment/README.md @@ -1,5 +1,10 @@ # SQL Server Database Deployment +## **Important Notice** +The preview SQL Server Database Deployment task has been **deprecated and will be removed soon**. The task has been **shipped as an extension for Visual Studio Team Services**, and is available in the marketplace - https://marketplace.visualstudio.com/items?itemName=ms-vscs-rm.iiswebapp. + +**Install the extension, and add the tasks from the extension in Build or Release Definitions, and remove this SQL Server Database Deployment task from the definition.** + ## Overview: The task is used to deploy SQL Server database to an existing SQL Server instance, and the underlying technologies used by the task are [DACPAC](https://msdn.microsoft.com/en-IN/library/ee210546.aspx) and [SqlPackage.exe](https://msdn.microsoft.com/en-us/library/hh550080\(v=vs.103\).aspx). DACPACs and SqlPackage.exe provide fine-grained control over database creation and upgrades, including upgrades for schema, triggers, stored procedures, roles, users, extended properties etc. Using the task, around eighty different properties can be set to ensure that the database is created or upgraded properly like: diff --git a/Tasks/SqlServerDacpacDeployment/Strings/resources.resjson/en-US/resources.resjson b/Tasks/SqlServerDacpacDeployment/Strings/resources.resjson/en-US/resources.resjson index d5a0c5460fe5..d75f299a6f57 100644 --- a/Tasks/SqlServerDacpacDeployment/Strings/resources.resjson/en-US/resources.resjson +++ b/Tasks/SqlServerDacpacDeployment/Strings/resources.resjson/en-US/resources.resjson @@ -1,8 +1,8 @@ { - "loc.friendlyName": "SQL Server Database Deployment", + "loc.friendlyName": "[Deprecated] SQL Server Database Deploy", "loc.helpMarkDown": "[More Information](https://aka.ms/sqlserverdacpackreadme)", "loc.description": "Deploy SQL Server Database using DACPAC", - "loc.instanceNameFormat": "Deploy SQL DACPAC: $(DacpacFile)", + "loc.instanceNameFormat": "[Deprecated] Deploy SQL DACPAC: $(DacpacFile)", "loc.group.displayName.deployment": "Deployment", "loc.group.displayName.target": "Target", "loc.group.displayName.advanced": "Advanced", diff --git a/Tasks/SqlServerDacpacDeployment/task.json b/Tasks/SqlServerDacpacDeployment/task.json index a7ef380709d4..87988492fbac 100644 --- a/Tasks/SqlServerDacpacDeployment/task.json +++ b/Tasks/SqlServerDacpacDeployment/task.json @@ -1,7 +1,7 @@ { "id": "70A3A82D-4A3C-4A09-8D30-A793739DC94F", "name": "SqlServerDacpacDeployment", - "friendlyName": "SQL Server Database Deployment", + "friendlyName": "[Deprecated] SQL Server Database Deploy", "description": "Deploy SQL Server Database using DACPAC", "helpMarkDown": "[More Information](https://aka.ms/sqlserverdacpackreadme)", "category": "Deploy", @@ -14,7 +14,7 @@ "version": { "Major": 1, "Minor": 0, - "Patch": 13 + "Patch": 14 }, "demands": [ ], @@ -205,7 +205,7 @@ "helpMarkDown": "This input is valid only for machine groups and is not supported for flat list of machines or output variables yet. Provide a list of machines like, dbserver.fabrikam.com, webserver.fabrikam.com, 192.168.12.34, or tags like, Role:DB; OS:Win8.1. If multiple tags are provided, then the task will run in all the machines with the specified tags. For Azure Resource Groups, provide the virtual machine's name like, ffweb, ffdb. The default is to run the task in all machines." } ], - "instanceNameFormat": "Deploy SQL DACPAC: $(DacpacFile)", + "instanceNameFormat": "[Deprecated] Deploy SQL DACPAC: $(DacpacFile)", "execution": { "PowerShell": { "target": "$(currentDirectory)\\DeployToSqlServer.ps1", diff --git a/Tasks/SqlServerDacpacDeployment/task.loc.json b/Tasks/SqlServerDacpacDeployment/task.loc.json index 495d3367123f..4977ec556eee 100644 --- a/Tasks/SqlServerDacpacDeployment/task.loc.json +++ b/Tasks/SqlServerDacpacDeployment/task.loc.json @@ -14,7 +14,7 @@ "version": { "Major": 1, "Minor": 0, - "Patch": 13 + "Patch": 14 }, "demands": [], "minimumAgentVersion": "1.96.2",