Azure Function DevOps
pipeline
ALM Rangers Project feedbacks
Mikael Krief
DevOps Technical Manager
At Cellenza
@mikaelkrief
mikael.krief@cellenza.com
What is ALM Rangers Community ?
https://blogs.msdn.microsoft.com/visualstudioalmrangers/2015/04/22/understanding-the-visual-studio-alm-rangers/
https://blogs.msdn.microsoft.com/visualstudioalmrangers
https://blogs.msdn.microsoft.com/visualstudioalmrangers/2015/04/22/library-of-tooling-and-guidance-solutions-aka-msvsarsolutions/
https://github.com/ALM-Rangers/
1 Azure Function development with VS 2017
4
Azures Function Integration Tests
2 Infrastructure provisioning
3
DevOps pipeline in VSTS
5 Azure Function Monitoring
Development Tools for Azure Function
 Directly in Azure portal
 In Visual Studio Code
 With Visual Studio 2017
Azure Function development with VS 2017 15.3
 Integrated since VS 2017 15.3
 Precompiled Azure Function
 Local debuging
 Classical Units tests project
integration
Infrastructure provisioning
 Export ARM Templates from Azure
portal
 Easy and native integration in VSTS
pipeline
Integration tests with Potman
 Postman, powerfull tool for API
testing
 Export the collection and the
environnements
 Use variables
 Command line tool with Newman
npm package
VSTS DevOps pipeline : Build definition
 Build the Azure Function project
 Execute unit tests and publish the result
in build execution summary
 Zip the result of the compilation of the
Azure Function project
 Publish in artefacts: the zip of the Azure
Function, the ARM templates json files
and the Postman json files
VSTS DevOps pipeline : Release definition
 Provision and configure the Azure
Function infrastructure with ARM
templates
 Deploy the Azure Function inside slot for
integration tests
 Run Integration tests with Newman tool
and publish the result in release summary
 Deploy the Azure Function in production
slot
Monitore our Azure Function
 Native integration with Azure
Application Insights with only 1
app settings
 Use Application Insights SDK for
send and monitor custom
telemetry
For more details…
Our blog posts serie about this Azure Function:
Azure Functions – Prepare for continuous delivery :
https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/09/06/azure-functions-prepare-for-continuous-delivery/
Azure Function – Provisioning and configuring our Azure Function infrastructure
https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/09/12/azure-function-provisioning-and-configuring-our-
azure-function-infrastructure/
Azure Function – Integration tests automation
https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/09/24/azure-function-integration-tests-automation/
Azure Functions – CI / CD DevOps Pipeline
https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/10/04/azure-function-ci-cd-devops-pipeline/
Azure Functions – Integrating monitoring with Application Insights
https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/10/10/azure-function-integrating-monitoring-with-
application-insights/

Azure function DevOps pipeline, ALM / DevOps Rangers feedbacks

  • 1.
    Azure Function DevOps pipeline ALMRangers Project feedbacks
  • 2.
    Mikael Krief DevOps TechnicalManager At Cellenza @mikaelkrief mikael.krief@cellenza.com
  • 3.
    What is ALMRangers Community ? https://blogs.msdn.microsoft.com/visualstudioalmrangers/2015/04/22/understanding-the-visual-studio-alm-rangers/ https://blogs.msdn.microsoft.com/visualstudioalmrangers https://blogs.msdn.microsoft.com/visualstudioalmrangers/2015/04/22/library-of-tooling-and-guidance-solutions-aka-msvsarsolutions/ https://github.com/ALM-Rangers/
  • 4.
    1 Azure Functiondevelopment with VS 2017 4 Azures Function Integration Tests 2 Infrastructure provisioning 3 DevOps pipeline in VSTS 5 Azure Function Monitoring
  • 5.
    Development Tools forAzure Function  Directly in Azure portal  In Visual Studio Code  With Visual Studio 2017
  • 6.
    Azure Function developmentwith VS 2017 15.3  Integrated since VS 2017 15.3  Precompiled Azure Function  Local debuging  Classical Units tests project integration
  • 7.
    Infrastructure provisioning  ExportARM Templates from Azure portal  Easy and native integration in VSTS pipeline
  • 8.
    Integration tests withPotman  Postman, powerfull tool for API testing  Export the collection and the environnements  Use variables  Command line tool with Newman npm package
  • 9.
    VSTS DevOps pipeline: Build definition  Build the Azure Function project  Execute unit tests and publish the result in build execution summary  Zip the result of the compilation of the Azure Function project  Publish in artefacts: the zip of the Azure Function, the ARM templates json files and the Postman json files
  • 10.
    VSTS DevOps pipeline: Release definition  Provision and configure the Azure Function infrastructure with ARM templates  Deploy the Azure Function inside slot for integration tests  Run Integration tests with Newman tool and publish the result in release summary  Deploy the Azure Function in production slot
  • 11.
    Monitore our AzureFunction  Native integration with Azure Application Insights with only 1 app settings  Use Application Insights SDK for send and monitor custom telemetry
  • 12.
    For more details… Ourblog posts serie about this Azure Function: Azure Functions – Prepare for continuous delivery : https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/09/06/azure-functions-prepare-for-continuous-delivery/ Azure Function – Provisioning and configuring our Azure Function infrastructure https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/09/12/azure-function-provisioning-and-configuring-our- azure-function-infrastructure/ Azure Function – Integration tests automation https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/09/24/azure-function-integration-tests-automation/ Azure Functions – CI / CD DevOps Pipeline https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/10/04/azure-function-ci-cd-devops-pipeline/ Azure Functions – Integrating monitoring with Application Insights https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/10/10/azure-function-integrating-monitoring-with- application-insights/