Skip to content

Repository files navigation

Azure DevOps Pipelines YAML for Azure Deployments

This repo is a starting point for using Azure DevOps Pipelines YAML files to automate cloud infrastructure, building source, unit-testing source, deploying source and running external integration tests.

This is a simple Azure DevOps YAML template for Azure DevOps Pipelines

This repository relates to the following activities:

  • Deploy Enterprise-scale Architecture Landing Zones
  • Deploy Azure cloud infrastructure
  • Building source with dotnet build
  • Unit-testing source with dotnet tests
  • Deploying source to cloud infrastructure
  • And running external integration tests

/pipelines folder (YAML)

PathItemContents
/pipelines-Contains all scripts, steps, variables and main-pipeline files
/pipelinesrg-PRODUCT-infrastructure.ymlMain-pipeline file to deploy cloud landing zone, and infrastructure
/pipelinesrg-PRODUCT-src.ymlMain-pipeline file to build/test/deply src, unit tests and integration tests

/steps folder (YAML)

PathItemContents
/steps-Azure DevOps Pipelines step templates.
/stepsfunc-build-steps.ymlAzure Functions source code build, and package
/stepsfunc-deploy-steps.ymlAzure Functions source code deploy to cloud infrastructure
/stepsxxx-infrastructure-steps.ymlAzure ESA infrastructure deploy
/stepsintegration-test-steps.ymlRuns external integration tests against src
/stepslogic-infrastructure-steps.ymlAzure Logic Apps deploy to cloud infrastructure
/stepslandingzone-infrastructure-steps.ymlAzure ESA Landing Zone deploy
/stepsnuget-deploy-external-steps.ymlNuGet.org package (.nupkg) deploy
/stepsnuget-deploy-internal-steps.ymlPrivate NuGet Feed (.nupkg) deploy
/stepsdotnet-build-steps.ymlSource code (/src) build with dotnet build
/stepsdotnet-test-steps.ymlSource code (/src) unit-test with dotnet test

/pipeline/variables (YAML)

PathItemContents
/variables-Variables (non-secret only) for the Azure landing zone, Azure infrastructure and NuGet packages.
/variablescommon.ymlCommon variables to all pipelines
/variablesdevelopment.ymlDevelopment environment-specific variables
/variablesproduction.ymlProduction environment-specific variables

/scripts folder (PowerShell)

PathItemContents
/scripts-Contains Azure DevOps Pipelines YAML files, Windows PowerShell scripts, and variables to support Azure DevOps Pipelines YAML Pipelines.
/scriptsSystem.psm1Powershell helpers for system-level functions
/scriptsSet-Version.ps1Sets version per MAJOR.MINOR.REVISION.BUILD methodology
/scriptsGet-AzureAd.ps1Manual script for getting Azure AD information
/scriptsNew-SelfSignedCert.ps1Manual script for generating a self-signed certificate

Azure Services used in these repositories

Azure ServicePurpose
Azure Cosmos DBNoSQL database where original content as well as processing results are stored.
Azure FunctionsCode blocks that analyze the documents stored in the Azure Cosmos DB.
Azure Service BusService bus queues are used as triggers for durable Azure Functions.
Azure StorageHolds images from articles and hosts the code for the Azure Functions.
Azure Logic AppCloud workflow orchestrator, includes activities in the form of Connectors

About

azure-devops Starter Azure DevOps Template is a starting point for using Azure DevOps pipeline YML files to automate cloud infrastructure, building source, unit-testing source, deploying source and running external integration tests.

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages