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 !