forked from Azure/ResourceModules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yml
106 lines (84 loc) · 5.53 KB
/
settings.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
variables:
###########################################################################################################################
################################################## Common Variables #######################################################
###########################################################################################################################
# Enable or disable CARMLs CI telemetry tracking. Note: This tracks the number of deployments only.
# See: https://github.com/Azure/ResourceModules/wiki/The%20library%20-%20Module%20design#telemetry
enableDefaultTelemetry: true
######################################
# Local tokens settings
######################################
# the 'localToken_' prefix will be removed from the key name when the pipelines run.
# e.g. if you have a token in your parameter file as <<customKey>>, then the token defined in this file looks like "localToken_customKey": 'value'
localToken_namePrefix: '' # A 3-5 character length unique string, included in the resources names (e.g. 'cntso'). Used for local module testing and pipelines.
######################################
# global tokens settings
######################################
# this determines the starting prefix and ending suffix of the token in your file.
tokenPrefix: '<<'
tokenSuffix: '>>'
######################################
# Common folders and file paths
######################################
moduleTestFilePath: 'utilities/pipelines/staticValidation/module.tests.ps1'
######################################
# Validation deployment settings
######################################
location: 'West Europe' # 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: 'West Europe' # 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: adpsxxazacrx001 # 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: 'West Europe' # 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'
#