This video will focus on how to use CI/CD Pipelines as Code with YAML for Azure Pipelines. How to create a Multi-stage pipeline using YAML file. It will provide Pipelines as Code with YAML tutorial for Beginners | Multi-stage Azure Pipelines training.
Learn a complete tutorial for creating the Continuous Integration and Continuous Deployment pipelines as Code using YAML configuration Language.
This will cover, creating the application infrastructure on the cloud with Azure SQL, Azure Service Plan, Azure SQL Server and configure firewall rule to allow Azure Web App to communicate with Azure SQL Server.
Also, how to create a new YAML pipeline from Azure DevOps pipelines template for ASP.NET which include tasks in YAML that restore all the NuGet packages, build the ASP.NET application and running unit test, create Web.Zip of the app and store that on Azure Artifacts then pick this package and deploy it to the Web App and SQL Server on Azure.
Using YAML (Yet Another Markup Language). This allows us to access pipeline features as but with a markup file that can be managed like any other source control file. YAML build definitions can be added to a project by simply adding their source file to the root of the repository. Azure DevOps also provides default templates for popular project types, as well as a YAML designer to simplify the process of defining build and release tasks.
About the Author
—————————–
Video:
Blog:
Linked-in
https://eg.linkedin.com/in/mohamedahmedradwan
GitHub
https://github.com/DevOpsFounder
Twitter:
Tweets by mradwan06
# Multi-stage #Azure #Azure_Pipelines_tutorial #Azure_training #Azure_DevOps #YAML
Links in the video
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops
source
I rename name of server and database, but when change webconfig to this name doesn't work. Furthermore min 25:27 name of webconfig database es ParstUnlimitedWebsite but name in azure is only PartsUnlimited. And supose that localserver not changed. Rigth ? Help?
Thanks for sharing your knowledge, i am facing one issue while downloading the the artifact from source file, below is the job. it says
[error]Build type 'D:toolsagent_work181sdist' is not recognized.
– task: [email protected]
displayName: Download Build Artifact (EAR)
inputs:
source: $(Pipeline.Workspace)sdist
artifact: "reps"
pipeline: 20
path: $(Build.ArtifactStagingDirectory)
Hi @Radwan
How would I decide which VM image would be require… like you have selected Window server 2016 with VS 2017 not Window server 2019 with VS 2019…. similarly I have a Python package for that, which Image should select
Please suggest
Thanks Mohamed, very informative and straight to the point.
Outstanding sir..please make the video on same with environments section.if already have , kindly share the link
Can you please explain what is the explanation of having '@2' .. '@1' .. '@4' in the task names? Like "[email protected]" or "[email protected]".
Thank you so much Rawan <3
It's Amazing – What to know the process of exact YAML script that we can run a job without Artifact
Thanks a lot for this great tutorial on Azure yaml pipeline. Wonder if I can have access to the YAML code you built during the video.
Its really a great tutorial to get started with yaml based pipelines. Will be helpful while moving .ps1 based script into yaml.
do you have a course AZ-400?
Adding mutiple stages in one yaml requires us to copy paste or have duplicate tasks. Can we have a yaml file with one stage and reuse it for all environment?
Great video. Which tool do you recommend to create the diagrams? Min 05, Sec 20
Please make a video of best branching strategy we can follow in azure devops
Thanks Mohamed for this great tutorial!
Thanks a lot for detailed explanation but when following this method css,img,fonts and other few files are missing during build, when i change drop location to $(build.SourcesDirectory) no files are missing but getting error ##[error]Error: No package found with specified pattern: D:a1adrop*.zip<br/>Check if the package mentioned in the task is published as an artifact in the build or a previous stage and downloaded in the current job.
please share your email. I have business inquiry
Just a tip, using "ls -R" in bash will do the same as "dir /s /b" in windows
Thanks Mohamed. You are amazing !!
Hi, I am going thru a multi stage deployment(Dev-PPE-Prod) in CD pipeline where i have 1 web.config & 1 xyz.js file needs to be excluded from the deployment process. i know there is something called "Additional Arguments" under IIS Web App Deploy task in CD phase but not sure how to do this. Would appreciate your help on this
I want to have the CI part in build pipeline and CD part in release pipeline using yaml..can you help me with the same?
I'm usually using the classic view for developing the pipelines. But now I'd say it looks more clean when working with yaml files directly than classic (but this is more of a preference I guess). Using a yaml means you can track changes easier if you keep them in a repository.
Great job, but please record this series in Arabic because we don't have enough information about devops field recorded in Arabic
Asak Radwan, I am struggling with indenting two tabs..not able to get rid of red underline error..please assist
15:33
Hi Mohamed, thanks for the video, exactly what I am looking for.. Can you please make a video on create multiple environments and deploy to them using yaml?
github not working š
@
Mohamed Radwan – DevOps I'm your Facebook friend. and you made an awesome video.