Skip to Content

A dash of Yaml, itu0026#x27;s the perfect dressing in Azure DevOps

Sogeti Labs
April 16, 2021

Much has been said about how important version control is when working in application development. And certainly, I am not going to subtract anything, rather on the contrary, I am going to provide a new source to control as the adoption of good DevOps practices. In this case, I am going to refer to the yaml files.

This type of file is especially relevant in the creation of Azure DevOps pipelines. When we are faced with the creation of a new deployment pipeline, we have the option of doing it in a visual way, selecting the parts or elements that help us in the task or also, we have the possibility of using an .yml file, whatever that allows us to go a little faster and even reuse part of the previously implemented code.

In the image above, we can see the pipelines editor using the manual option to include the different steps to complete in our deployment. While in the following image, we see the same but as a .yml file. As you can see, the difference is obvious, but the most important thing here is that, in this second mode, the option of versioning and reusing part of the code makes special sense in order to improve the quality of our work.

That is, we could have pieces of code in .yml format that in turn were included in the global pipeline file and it would continue to work. This opens the door for us to work in a tremendously efficient way, which results in time optimization and high quality of work. So start thinking about jumping from the visual editor to the exciting world of Yaml, and soon you will begin to feel the benefits of that adventure.

Starting to integrate these .yml file templates as before with the ARM Templates, allow us to continue improving in the follow-up of good DevOps practices.

About the author

SogetiLabs gathers distinguished technology leaders from around the Sogeti world. It is an initiative explaining not how IT works, but what IT means for business.


    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Slide to submit