dacpac creation from Azure Synapse dedicated SQL Pool using Azure DevOps - azure-devops

I have created the sql dacpac file from azure SQL database using Devops pipeline inbuilt task 'Azure SQL database deployment'. Now I am trying to create dacpac file from azure synapse SQL Pool. but I didn't find any related task or PowerShell script to do the same.
can you please pour your valuable suggestion?
Thanks

You can leverage the same task for SQL Dedicated pool deployment as well. There is no separate task for it
https://datasharkx.wordpress.com/2021/03/11/automated-deployment-of-azure-sql-database-azure-sql-data-warehouse-through-azure-devops-via-service-principal-part-1/
https://datasharkx.wordpress.com/2021/03/12/automated-deployment-of-azure-sql-database-azure-sql-data-warehouse-through-azure-devops-via-service-principal-part-2/
To create a DACPAC, in build pipeline you can leverage visual studio build task with latest version.

Related

How to run azure batch sample java code through azure devops pipeline

I want to run sample java code
https://github.com/Azure-Samples/azure-batch-samples/tree/master/Java/PoolAndResourceFile
on my azure batch account through azure devops pipeline.

Can I reuse my Azure DevOps agents with Azure Automation?

My VMs all have Azure DevOps agents installed on them to automate deployments. We have a need to automate runbook tasks on these agents as well, and are investigating Azure Automation as a solution.
However, I would prefer not to have to install two agents on every VM. Is there a way to have Azure Devops and Azure Automate share an agent on a single VM?
I suppose that you could test to create a combination with Azure DevOps and Azure Automation.
And the key to for the integration is creating a service connection from Azure DevOps to Azure Resource Manager.
And you could try to finish your Azure Automation Deployment with Azure Powershell task in a release pipeline.
And you could refer to this blog for more detailed instructions. USING AZURE DEVOPS PIPELINES WITH AZURE AUTOMATION

Connection of two Environments of same Power Automate with Azure Devops

How to connect two environments of one Power Automate platform with Azure Devops to perform import task from azure devops to import solution zip file from one environment of Power Automate to another environment

Azure DevOps Pipeline Deployment to Postgres DB

I have a requirement of Azure DevOps to automate deployment to Azure PostgreSQL DB. I can find the Task for Azure SQL Database, but not for PostgreSQL.
Is there some Extensions or Plugins , or such things, which is needed for the Task.
Or how to find the Task.
DB - Azure Database for PostgreSQL.
I got a way using YUNIQL.
You will find this plugin in Studio and it is configurable for PostgreSQL. You have to follow the documentation.

How to deploy SQL Database in Bitbucket pipeline to Azure

Asking for an opinion or direction on the current problem.
We are using bitbucket pipeline to deploy ci/cd web applications to Azure. Now what is remaining - the database, also being hosted on Azure.
From my research - everything on SQL Database Projects deployments usually utilizes Azure DevOps pipelines (connects to github repo, allows plural environments, has a built-in SqlAgent allows deploy SQL db to the target server via dacpac file. It allows CI with every check-in, every time you push changes. Nice!
But what if can not (for some reason) use Azure DevOps and have to utilize Bitbucket pipelines instead. is that possible? how? via scripting? a tool? to call in the command line? Any help - highly appreciated.
It's true that in Azure DevOps it is easier to deploy (Azure) SQL Database, as Azure DevOps offers many tasks (including 3rd party custom tasks you can find in Microsoft MarketPlace).
However, no matter what tool will you use, you should be able to do the same, knowing the concept of deployment of a specific service.
I don't know BitBucket very well, but I bet the product has the capability to execute some commands, including PowerShell commands as well. If so, you must do 2 steps in your pipeline to publish Azure SQL database:
1) Create server and (empty) database - perhaps BitBucket offers some task for creating services in Azure (from ARM template or other way). If not - you can always use CLI or PowerShell to do so. More info: az cli server
2) Deploy the database or changes to it. This step is always to compare DACPAC file (which is compiled version of SQL Server database project) to target database on the server. The result is T-SQL (differential) script which must be executed against the target database. There is only one way to do so - sqlpackage.exe - tool provided by Microsoft. You can find the whole documentation here and plenty of examples on how to use it on the Internet.
Let me know if that helps.