This repository holds a set of common pipeline templates that can be used in remote pipelines. They may be changed at any time so if you do want to use them suggest forking or pulling them into your own template repository.
The resource needs to be included in the AzDo pipeline:
resources:
repositories:
- repository: ado-pipeline-templates
type: github
name: frasermolyneux/ado-pipeline-templates
endpoint: frasermolyneux
The templates can then be used as such:
- template: jobs/terraform-validate-and-plan.yml@ado-pipeline-templates
parameters:
workingDirectory: '$(terraformWorkingDirectory)'
backendServiceArm: '$(backendServiceArm)'
backendAzureRmResourceGroupName: '$(backendAzureRmResourceGroupName)'
backendAzureRmStorageAccountName: '$(backendAzureRmStorageAccountName)'
backendAzureRmContainerName: '$(backendAzureRmContainerName)'
backendAzureRmKey: '$(backendAzureRmKey)'
environmentServiceNameAzureRM: '$(environmentServiceNameAzureRM)'
varFile: '$(varFile)'
additionalCommandOptions: '-var="b2c_tenant_client_id=$(client-id)" -var="b2c_tenant_client_secret=$(client-secret)"'
Please read the contributing guidance; this is a learning and development project.
Please read the security guidance; I am always open to security feedback through email or opening an issue.
For the next time this doesn't work and I get confused as to why.
push-nuget-package.yml
andpush-nuget-packages.yml
use a variable group calledNuGet.org
with the following variables:NUGET-PUSH-KEY-1
- The variable group is associated with the
kv-mx-nuget-prd-uksouth
Key Vault in thestrategic-prd
subscription