Trying to add an task in azure devops release pipeline for SQL deployment where the DB's are present in Linux OS VM and didnt get any task in release pipeline. For windows sql deployment we have an task (Azure SQL DacpacTask) to add and execute release pipeline, Same way i am looking for linux OS release pipeline tasks for SQL DB Deployments to execute. So please let me know task Details for the same
Thanks, Madhu.
Automated SQL deployment task in azure devops release pipeline for linux OS
Just as you know, Azure SQL Dacpac Task currently supported only for Windows-based agent system. MS team are adding this to their backlog and will consider adding this support in the future.
As workaround, you could try to following info:
Using bash script task,
- Install MS SQL tools on linux agent
- Use bash script task to run script.
- Reference - Create and run SQL Server Agent jobs on Linux
You can use Azure RG task and execute stored procedure as part of the ARM template
Reference - Copy data from Azure Blob Storage to Azure SQL DB with stored procedure
Reference from Azure SQL Publish not supported on Linux build agent
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.