Introduction to Azure DevOps

Introduction to Azure DevOps

Hi DevOps people, this is my new article on Azure DevOps series.

What is Azure DevOps

Azure DevOps is a platform where you can do end-to-end deployment processes. It allows the developer team to build their code using Git or GitHub, test the application using Azure build and release pipeline(CI/CD Framework), deploy the code by an automated process.

We all are familiar with the word i.e.(DEV+OPS = DEVOPS), now the question is how Microsoft Azure brings in DevOps. For that Azure DevOps offers a range of services i.e.; Azure Repo where in Developer can write the code and store, they have Azure pipelines that will perform the Integration/build task, they have Azure Artifacts that can be used in pipelines, Azure Monitor to monitor the pipeline, GitHub Integration is allowed and many more services that we will be discussing in our article that brings in Azure DevOps.

Main Features of Azure DevOps

Azure Boards

Azure Pipeline

Azure Repo

Azure Artifact

Azure Test Plans

Benefits of Azure DevOps

Easy to Install

Customize your Application

Azure DevOps is compatible with most of the DevOps tools such as Ansible, Docker, and many more

Let's get started with Azure DevOps

Configuring Azure is easy.

The first step is to sign in to Microsoft Account, for this just type dev.azure.com in google chrome and you will be directed to a page as shown below then click sign in to Azure DevOps.

No alt text provided for this image

Once you enter your Email-id and password for sign in, you will be directed to a page as shown below where an organization will be created based on your account which you used to sign in.

No alt text provided for this image

Your Azure DevOps would look like as shown below

No alt text provided for this image

Next step is you can create a number of projects under the organization and within that project we can create numbers of Azure pipelines.

Now we will see how to create project in Azure DevOps - click on New Project

No alt text provided for this image


Fill in the details that are required, then click on create option which will create a new project in your Azure DevOps Organization.

No alt text provided for this image

Once created we will be directed to a page where we can see various Azure service that are offered, like Azure Repo, Azure Boards and many more.

No alt text provided for this image

Now lets understand what all these Azure Features are

AZURE BOARD

It helps us to track our work, gives us an insight of what task is pending, helps in tracking user stories, bugs associated with projects, allows us to create issues that need to be tracked, Test Cases we can create, Bug, User story and many more.

One thing I would like to say here is that Microsoft Azure is very user friendly. It helps us to understand things easily just the way we saw Azure board one of the features of Azure.

No alt text provided for this image

AZURE REPO

For the first time when we click on Azure repo we will be directed to a page as shown below.

Here we can create our repository that contains the code, we can even import a repository. We can configure our projects in such a way that if any changes are made in repo or any new code is pushed the Azure pipelines can be triggered automatically.

No alt text provided for this image

AZURE PIPELINES

For me its like the heart of Azure DevOps.

Using this feature we can create Build pipeline by using classic editor option or YAML pipeline format. We can configure the pipeline to be scheduled triggered or manual triggered as per our requirement.

If we are creating a pipeline for the first time we will be directed to a page as shown below.

Click on create pipeline.

No alt text provided for this image

Next step is to select the platform where our code is present, if your code is present in GitHub then select GitHub option or else we can select Azure Repo option also.

Click on classic editor option.

No alt text provided for this image

Then select a source, select the project where this pipeline needs to be created and finally select the branch. Then click continue.

No alt text provided for this image

Next we can select Empty job or YAML as per our requirement.

No alt text provided for this image

So, if we select Empty job our build pipeline configuration page would look like as shown below.

No alt text provided for this image

Let's go through the various fields that are used in the build pipeline configuration.

If we click on Agent job, here we can specify the name that should be displayed while the build pipeline gets triggered, also we can select our agent pool.

No alt text provided for this image

Click on the + sign which is used  to select the task as per our requirement.

For eg: - in the search bar we can specify the task name such as command line, script, python version where in we can specify the version.

No alt text provided for this image

If we select the Variables option, here we can mention the secret values such as password, username and will be used in the pipeline.

No alt text provided for this image

If we select the Triggers option, here we can schedule the pipeline as per our requirement by providing the timing and date details.

No alt text provided for this image

At the end we can select the Save and queue option that will trigger the build pipeline.

Coming to release pipeline - This is where we proceed to deploy in various environments like QA, Pre-PROD, Dev and PROD.

Let us see how to configure Release pipeline in Azure.

Under Pipeline option select release and click on new pipeline.

No alt text provided for this image

Select Empty job option

No alt text provided for this image

Here you can provide the stage name, you can change it as per your requirement Then click on (1job, 0 task) under stage1.

No alt text provided for this image

It will direct you to release pipeline, where in we can configure our release pipeline.

No alt text provided for this image

Click on + sign same way as we configured build pipeline.

In release pipeline we can  configure artifacts, in such a way that the output of build pipeline will be stored as artifact and it will trigger our release pipeline.

Click on add artifact. It will ask for source type, depending on our project and requirement we can setup the source type.

No alt text provided for this image

AZURE TEST PLANS

Azure test plan service provides options like creating test plans, test suits, test cases.

Its like working for a project where in we have test plans ready and  a collection of test cases created. Using Azure test plan we can populate the number of test cases failing/passed.

Recording the tests, their results, and observations for each test cases is possible.

---------------------------------------------------------------------------------------------------------------

Hope you like my article on Azure basics. I'll be coming up with the next article soon.

Suranga Jayalath ∞

DevOps Engineer | 1 x AWS | Kubernetes | Docker | Terraform

2y

Great

Good information well crafted !!!!!!!

Sajal Golas

Staff Engineer @ Okta || Tech With Humour || Ex-Walmart || 15K+ || 15M+ Imp || Web3 || Azure || GCP || AWS || DevOps || Kubernetes || HFT || Distributed Systems || Big Data || DataOps || MLOPS || Security || Trainer

2y

Great Megha S.K 👏🏼

To view or add a comment, sign in

More articles by Megha kadur

  • Hackathon Hacks: Tools and Technologies That Made Our Event a Success

    Hackathon Hacks: Tools and Technologies That Made Our Event a Success

    Megha Kadur - Sr. Software Engineer • Content Security Engineer Participating in Barracuda’s recent 2024 hackathon…

  • WTH is DevSecOps?

    WTH is DevSecOps?

    We are in a fast-changing world today, where most of our task is carried out through a click of a button or just tap on…

    1 Comment
  • WTH is DevSecOps?

    WTH is DevSecOps?

    We are in a fast-changing world today, where most of our task is carried out through a click of a button or just tap on…

    3 Comments
  • Understanding a Helm Chart!

    Understanding a Helm Chart!

    When a chart is applied to your cluster a release is created. A chart is nothing but the collection of files.

  • DevOps Automation using Google Deployment Manager

    DevOps Automation using Google Deployment Manager

    What is Infrastructure as code? Infrastructure as code is a concept that is important in this DevOps world, it…

  • How to write YAML file for Kubernetes

    How to write YAML file for Kubernetes

    What is YAML? YAML is a human readable data-serialization language. It is easy to understand and because of its…

    1 Comment
  • Skills for becoming a DevOps Engineer

    Skills for becoming a DevOps Engineer

    We usually come across various posts for job opportunities in the IT industry, and you all might agree that in our…

    2 Comments
  • The need for Kubernetes in DevOps

    The need for Kubernetes in DevOps

    Why Kubernetes in DevOps? In today’s marketplace, Containers have become the definitive way to develop applications…

    1 Comment
  • Docker Basic Commands - Part 02

    Docker Basic Commands - Part 02

    Steps to install Docker: Below is the link for docker installation, that is provided by Docker, we have clear…

  • Getting Started with Docker – Part 01

    Getting Started with Docker – Part 01

    Introduction to Docker Consider a real-life scenario where we are trying to ship goods from one location to another…

    2 Comments

Insights from the community

Others also viewed

Explore topics