From the course: Azure DevOps: Continuous Delivery with YAML Pipelines
Why Azure Devops
From the course: Azure DevOps: Continuous Delivery with YAML Pipelines
Why Azure Devops
- [Instructor] Azure DevOps is a one-stop shop for your teams to build software. It includes a number of products including boards, repos, pipelines, testing, and more that are all integrated to make it easy to deliver value. For example, dashboards provide key indicators on work in progress, like how far we've come, and any red flags that we need to pay attention to. The boards allow us to go out and track our work, move it from the backlog to completion. For example, here's a task that I've been working on to show how ADO works. If I open it up, I can go down and I can actually work on this. I've got information in here that tell me the state of the work and who's assigned to it, the criteria for it, but most importantly, I can create a branch and actually do the work. Let's just do that right now. We'll go ahead and create a branch, and I'm gonna call this 01-01, and we'll call this e, and I'm going to create this branch and say, okay, create, and then I'm gonna navigate to there. And then from here, I'm going to be able to open up VS Code in the browser, and I can do that by pressing the period key. And now you can see I've got my code. Here's my project, there's my source. I can come down to my pages and I can go through and take care of that work, which was to add some information about the runtime for when this application is going. So I can do that. I'll just come over here, and then the editor, I'm gonna add in a little bit of code, and this has got the runtime information. My changes are tracked locally so I can view them and I can actually commit and push this into the Azure DevOps. So we'll add a message here, add some runtime info, and then go ahead and commit and push it. Now, when that is done, it'll go out and kick off our pipelines. Pipelines are the automation pieces that we can use to actually see the work get pushed from the repos into the production. Here's my classic pipeline, and in this classic pipeline, I can edit it and I can show you what it looks like. Here you can see it's got some NuGet tasks. It's got the build, it's testing things, but what this does is it goes out and builds the entire project. Now this is a classic pipeline and this course is about YAML pipelines, but seeing what was there, we'll know what we're gonna be doing. But I can take this and I can say for this pipeline, I can see that it's running, and so here we can see that our runtime information has been added. I can open up that run and we can watch the job run by opening up the log and I can see it go out and build the project, and it goes through all the steps, and we can speed this up. It takes it about a minute or two for this particular build to run. And now that that's completed, I can go over to the release pipelines, and we can see that our release pipeline is now triggered. I can take a look at this pipeline and say, okay, what is it doing? Well, it's got a simple job and a task, and what we're gonna do is we're going to watch as it runs, and I can see now it's in progress, and in the tasks, I can see how it's running. I can view the logs, but it's taking our code and our changes and it's pushing it out into Azure and deploying it, and when it's complete, then we can go out and we can browse to the site, and here we can see that our application is working. And as you can see, our change made it into production. Azure DevOps has a lot of capabilities, and in this course we're going to focus on how we can modernize our pipelines using YAML. So with that in mind, let's get started.