Monday, November 2, 2020

Create and Deploy Azure Function via Azure Devops CI/CD Pipelines

What is covered in this series?

  •     Create Azure Function in Azure Portal
  •     Create Project and Git Repository
  •     Setup Build Pipeline in Azure Devops
  •     Continuous Integration using Build Pipelines
  •     Setup Continuous Deployment using Release Pipeline

Environments– Let us assume we have two environments dev and test (resource groups) and we have to deploy Function Apps to both the environments through Azure Devops Continuous Integration and Deployment Pipelines.

1)     Create Azure Function in Azure Portal –

This is the first step; here we will add the 2 azure functions in azure portal in each environment dev and test.

 To complete this, follow Step 1.

2)     Create Project and Git Repository

This is the second step; here we will create azure Devops project and create a repository to which our function app will be added later.

 To complete this, follow Step 2.

3)      Setup Build Pipeline in Azure Devops-

This is the third step; here we will configure the build pipeline, which will enable continuous Integration for the code synced to repository.

 To complete this, follow Step 3.

4)     Continuous Integration using Build Pipelines

This is the forth step; here we will add azure function to project using visual studio and sync to repository, which will in turn trigger the build pipeline and thus create an artifact containing our function app. This artifact will be further used by release pipeline to deliver continuous deployment.

To complete this, follow Step 4.

5)     Setup Release Pipeline and Create Release in Azure Devops-

This is the fifth and last step; here is will configure the release pipeline, which will enable continuous deployment for the latest build generated by build pipeline in step 4. Thus resulting in deployment of our function app to both the environments “dev” and “test”.

To complete this, follow Step 5.

Hope this might have given step by step insights to the completed CI/CD process using Azure Pipelines. 

Happy Learning, LET'S SHARE ! 

4 comments:

  1. Replies
    1. Thanks Meghna, do checkout new post: step by step guide to create PCF Control
      https://www.shreways.in/2021/05/step-by-step-guide-to-create-guid-pcf.html

      Delete
  2. Hi Saurabh, Please create a Step-by-step for Creating E-com website using Azure API management and App Services, using PAAS only. like CosmosDB, B2C Directories and OAUTH2.0

    ReplyDelete
  3. This would prohibit offshore sportsbooks from seeking licenses from KGC as a back-door entry to the American market. As a outcome, books that use the Kahnawake Gaming Commission are not legal within the United States. Now that we’ve gone over what the addition of single-game wagering means to Canada, let’s study which different 코인카지노 gaming options are at present out there to bettors within the country.

    ReplyDelete

Popular Posts