Tuesday, November 3, 2020

Create Function App in Azure Portal (Part 1- Azure Function CI/CD)

Introduction –

Here we will create 2 Azure functions, 1 for Dev Environment and 1 for QA Environment.

1)   Go to https://portal.azure.com/ and click on create new Resource and select Function App.


2. Provide mandatory values and click on “Review and Create” button.

Note – If we do not have resource group already created we can create from “create new” button and it will be auto populated as value.


3. Function App successfully created along with dependent resources for Dev Environment.


4. Repeat step 1 and step 2 to create FunctionApp in QA Environment also. We will have Function App successfully created along with dependent resources.


All set, we have created Function App in both the environments. Lets move to Step 2.

Happy Learning, LET'S SHARE !

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 ! 

Popular Posts