From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Pull request pipelines

Pull request pipelines

- [Instructor] So far, we've created three pipelines out of one. We took the Azure pipelines and split it into the CI, CD, and Infra pipelines. What I wanna do is add the PR, and the pull request trigger is going to be in code. So, in my code repository, I've actually added on the CD trigger. I added a change, I added trigger on none because I saw that it was running by default on every commit, and I didn't want that. I am going to add a new file, and I brought it in. It's called pr-create. And so, what I've got on pr-create is the trigger that has the PR on branches that include main and dev. We'll do dev later on. But in a pull request, I've got a chance to go out and take my feature, and I want to run it, and so typically what I would do is, I would wanna be able to deploy it into an environment. So, down below in the script, I'm mocking up how I would go out and maybe add a slot to my app service, and then deploy to…

Contents