-
Notifications
You must be signed in to change notification settings - Fork 456
/
settings.yml
120 lines (92 loc) · 5.91 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
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
########################
## Token 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.
# this determines the starting prefix and ending suffix of the token in your file.
tokenPrefix: '[['
tokenSuffix: ']]'
########################
## Agent settings ##
########################
vmImage: 'ubuntu-latest' # Use this for Microsoft-hosted agents
poolName: '' # Use this for self-hosted agents
#############################
## Validation settings ##
#############################
# Static validation #
# ----------------- #
allowPreviewVersionsInAPITests: true # When enabled, preview versions do not fail the API version tests in the `module.tests.ps1` file
# Deployment validation #
# --------------------- #
location: 'westeurope' # The default location to test deploy resources to
#############################
## Publishing settings ##
#############################
# Shared settings #
# --------------- #
publishLatest: true # [Only for Template-Specs & Bicep Registry] Publish an absolute latest version. Note: This version may include breaking changes and is not recommended for production environments
useApiSpecsAlignedName: false # Publish a module not using its folder path, but the matching name in the REST API (i.e., the classic naming). For example: `bicep/modules/microsoft.keyvault.vaults.secrets` instead of `bicep/modules/key-vault.vault.secret`
# 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
# ------------------------------- #
# 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 ######################################################
###########################################################################################################################
#############################
## Connection settings ##
#############################
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'
#############################
## Publishing settings ##
#############################
# Universal packages settings #
# --------------------------- #
artifactsFeedDoPublish: true # Set to true, if you would like to publish modules as Universal Packages (in Azure DevOps Artifacts)
vstsFeedName: 'carml' # 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'
#