Using Azure Pipelines for Azure SQL Deployments | Data Exposed

  Рет қаралды 20,215

Microsoft Developer

Microsoft Developer

Күн бұрын

Пікірлер: 18
@sandeep-bp2tu
@sandeep-bp2tu 2 жыл бұрын
pls send the link to the yaml pipeline
@seanrhone5306
@seanrhone5306 7 ай бұрын
What if you have 100 databases you want to deploy to? How can you dynamicly supply the database list and how does the deployment work?
@sau002
@sau002 2 жыл бұрын
Very informative. Thank you
@remandlo
@remandlo 3 жыл бұрын
informative content. thanxs for putting together the go-through..
@MunindherReddy
@MunindherReddy Жыл бұрын
Do we have steps to create SQL deployment scripts and incremental sql deployment scripts? like Differential scripts?
@ALLInOne-nn6ny
@ALLInOne-nn6ny 2 ай бұрын
I have an linux sles VM , will that not work for deploying dacpacs? Am using github.
@greetymargretpious3391
@greetymargretpious3391 Жыл бұрын
I have a query as the document states that VSBuild@1 task can be executed only in Windows VM. So is there any way we can do all these steps in a linux VM?
@mjonausk
@mjonausk 3 жыл бұрын
.dacpacs rocks!!!!
@pankajkrlakhchaura
@pankajkrlakhchaura 2 жыл бұрын
Great knowledge sharing. I have a query if you could answer. Why you are creating a separate pipeline for SQL deployment. Can not we have tools to deploy the SQL artifacts with code? I have a big project which has three components to deploy together. Angular for UI, .Net core for API and SQL tables and procedure. when a developer completes the development of a new functionality then he commits Angular code, API code and SQL tables and stored procedures. Now the challenge is to deploy all these three parts together ( in sequence of course ) through Ci/CD. I do not see any way to do this. I have googled it but did not find the solution. For code , CI/CD pipelines is there but it is not in sync with the SQL objects. Do we have any way to do this?
@ArvindShyamsundar-MSFT
@ArvindShyamsundar-MSFT 2 жыл бұрын
Sure - you can take the example from this repo wherein a single pipeline is used to orchestrate a SQL + web app deployment.
@fudhater8592
@fudhater8592 2 жыл бұрын
Is there a way to do this without hand-editing YAML?
@ArvindShyamsundar-MSFT
@ArvindShyamsundar-MSFT 2 жыл бұрын
You can use the Azure Pipelines YAML editor (docs.microsoft.com/en-us/azure/devops/pipelines/get-started/yaml-pipeline-editor?view=azure-devops), which offers some "IntelliSense", as a starting point.
@omarvega6940
@omarvega6940 3 жыл бұрын
some one can say to me where is the previous video?
@molnarg
@molnarg 3 жыл бұрын
In the description they provide a link to a playlist, where you can check all the episodes: aka.ms/dataexposedyt I think this is the particular episode they're referring to: kzbin.info/www/bejne/oGiyn6uFr5yMers
@remandlo
@remandlo 3 жыл бұрын
I have a self-hosted agent, with the sqlpackage capability enabled and my pipeline fails on the SQL Azure DacPacDeployment task with the following error: The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell. I am not quiet sure where does the task pickup the non windows OS.
@MicrosoftDeveloper
@MicrosoftDeveloper 3 жыл бұрын
Thank you for the interest in this episode, and also the question. At this moment I cannot adequately diagnose what might be causing this error, as it will be very specific to the environment. To rule out known issues, I would suggest following the below check list: - Ensure that the Visual Studio 2019 build tools are installed on the self-hosted agent. Build tools can be downloaded by searching in the page visualstudio.microsoft.com/downloads/ - scroll down and you'll find sections for Visual Studio 2019 Tools - expand that and then locate the build tools download. - Register self-hosted Agent from ADO following the instructions here: docs.microsoft.com/en-us/azure/devops/pipelines/agents/agents - Ensure that a current version of DacFx is installed. You can get this from docs.microsoft.com/en-us/sql/tools/sqlpackage/sqlpackage-download - the latest at this point in time is 15.0.5164.1 -Ensure that the self-hosted pool is correctly referenced in your pipeline job as shown in the example: github.com/arvindshmicrosoft/azure-sql-devops/blob/9a7f249e23540374d8eb3755294d1c459ca27b22/azure-pipelines/deploy-sqlproj.yml#L57-L58 If the error still persists, consider opening an issue on github.com/microsoft/azure-pipelines-tasks/issues and cross-reference the issue here so that one of us can take a deeper look. In the GitHub issue, please provide as many details as possible (without revealing any sensitive / private information, of course). For example, the pipeline definition YAML would help. In addition, the details about the self-hosted runner / agent etc. would be required.
@remandlo
@remandlo 3 жыл бұрын
@@MicrosoftDeveloper I had two stages, one for building the project the other one for deploying the dacpac. In each stage there was a pool specificed and removing the ubuntu-latest fixed the problem. I am able to deploy the dacpac successfuly.... Many Thanks for your response....
@hydtechietalks3607
@hydtechietalks3607 4 ай бұрын
Could not he show the delta changes... selling too many shells!
Getting Started with DevOps for Azure SQL | Data Exposed
23:59
Microsoft Developer
Рет қаралды 7 М.
Azure DevOps Pipelines with Terraform and Stages
22:26
Travis Roberts
Рет қаралды 67 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 48 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 117 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 34 МЛН
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 10 МЛН
Using Azure DevOps for Microsoft SQL Databases with SSDT
44:14
Data Lounge
Рет қаралды 25 М.
How to Deploy Azure Data Factory (ADF) from Dev to QA using Devops
13:46
KnowledgeBank by obviEnce
Рет қаралды 40 М.
Complete Azure Data Factory CI/CD Process (DEV/UAT/PROD) with Azure Pipelines
26:32
Data Engineering With Nick
Рет қаралды 34 М.
Azure DevOps Tutorial for Beginners | CI/CD with Azure Pipelines
36:29
TechWorld with Nana
Рет қаралды 1,3 МЛН
Developing CI/CD pipeline for SQL server- Part 2
25:19
Anshuman Dikshit
Рет қаралды 8 М.
Database CI/CD with Azure DevOps | Azure Data Services
1:05:33
Level Up Your Data
Рет қаралды 877
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 328 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 48 МЛН