forked from Azure/ResourceModules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.variables.yml
80 lines (65 loc) · 4.37 KB
/
global.variables.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
variables:
###########################################################################################################################
################################################## Common Variables #######################################################
###########################################################################################################################
######################################
# Validation deployment settings
######################################
location: 'eastus2' # The default location to test deploy resources to
resourceGroupName: 'validation-rg' # The default resource group to test deployment resources into
######################################
# Publish: Template-Spec settings
######################################
templateSpecsDoPublish: true # Set to true, if you would like to publish module templates as template specs
templateSpecsRGName: 'artifacts-rg' # The name of the resource group to publish to. If the resource group does not exist, it will be created.
templateSpecsRGLocation: 'eastus2' # The location of the resource group to publish to
templateSpecsDescription: components # The description to add to template specs published by this platform
######################################
# Publish: Private Bicep Registry settings
######################################
bicepRegistryDoPublish: true # Set to true, if you would like to publish module templates to a bicep registry
bicepRegistryName: bicepregjwh # The name of the bicep registry (ACR) to publish to. If it does not exist, it will be created.
bicepRegistryRGName: 'artifacts-rg' # The resource group that hosts the private bicep registry (ACR)
bicepRegistryRgLocation: 'eastus2' # The location of the resource group to publish to
###########################################################################################################################
################################################## Azure DevOps Only ######################################################
###########################################################################################################################
######################################
# Agent settings
######################################
vmImage: 'ubuntu-latest' # Use this for Microsoft-hosted agents
poolName: '' # Use this for self-hosted agents
serviceConnection: 'CARML-CSU-Tenant-Connection'
######################################
# Source
######################################
vstsOrganizationURI: '$(System.CollectionUri)' # The URI of the TFS collection or Azure DevOps organization. For example: https://dev.azure.com/fabrikam/.
vstsProject: '$(System.TeamProject)'
modulesRepository: ResourceModules # The repository hosting the deployment code (i.e. 'Components'). MUST be provided as a variable with every pipeline
pipelineFunctionsPath: 'utilities/pipelines'
######################################
# Publish: Universal packages settings
######################################
artifactsFeedDoPublish: true # Set to true, if you would like to publish modules as Universal Packages (in Azure DevOps Artifacts)
vstsFeedName: 'ResourceModules' # The name of the Azure DevOps universal packages feed to publish to
vstsFeedProject: '$(System.TeamProject)' # The project that hosts the feed
vstsFeedToken: $(System.AccessToken) # The token used to publish universal packages into the feed above
######################################
# Azure PowerShell Version
######################################
# Should be set to 'latestVersion' unless there is an issue with the Az PowerShell modules.
# If a specific version needs to be set azurePowerShellVersion should be changed to 'OtherVersion'.
# NOTE: The strings are case sensitive and will not work unless properly entered.
azurePowerShellVersion: 'latestVersion'
# If using the latest version of the Az PowerShell modules, set `preferredAzurePowerShellVersion` to an empty string ''.
# If overriding the Az PowerShell module version, set to the version. Example: '4.4.0'
preferredAzurePowerShellVersion: ''
#
# NOTE: To override for just an individual template, just add the following to the
# templates pipeline.yml replacing '4.4.0' with the desired version:
#
# - name: azurePowerShellVersion
# value: 'OtherVersion'
# - name: preferredAzurePowerShellVersion
# value: '4.4.0'
#