From 71e3eed5b6490517529d630d3416e5f81f8319ea Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Thu, 1 Feb 2024 08:08:28 +0300 Subject: [PATCH] Add label to AppConfig KeyValue --- docs/server.md | 4 ++-- server/main.bicep | 2 +- server/main.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/server.md b/docs/server.md index 99444912..a5c51b52 100644 --- a/docs/server.md +++ b/docs/server.md @@ -81,11 +81,11 @@ The script becomes: ```bash az deployment group create --resource-group DEPENDABOT \ --template-file main.bicep \ - --parameters dependabot.parameters.json \ + --parameters main.parameters.json \ --confirm-with-what-if ``` -The parameters file (`dependabot.parameters.json`): +The parameters file (`main.parameters.json`): ```json { diff --git a/server/main.bicep b/server/main.bicep index c4d692de..d52d9a07 100644 --- a/server/main.bicep +++ b/server/main.bicep @@ -110,7 +110,7 @@ resource appConfiguration 'Microsoft.AppConfiguration/configurationStores@2023-0 // override the default updater image tag for nuget jobs // TODO: remove this here and on Azure once the authentication issues are resolved (https://github.com/tinglesoftware/dependabot-azure-devops/issues/921) - resource nugetVersion 'keyValues' = { name: 'Workflow:UpdaterImageTags:nuget', properties: { value: '1.24' } } + resource nugetVersion 'keyValues' = { name: 'Workflow:UpdaterImageTags:nuget$Production', properties: { value: '1.24' } } } /* Storage Account */ diff --git a/server/main.json b/server/main.json index c799c410..4a8775c0 100644 --- a/server/main.json +++ b/server/main.json @@ -154,7 +154,7 @@ { "type": "Microsoft.AppConfiguration/configurationStores/keyValues", "apiVersion": "2023-03-01", - "name": "[format('{0}/{1}', parameters('name'), 'Workflow:UpdaterImageTags:nuget')]", + "name": "[format('{0}/{1}', parameters('name'), 'Workflow:UpdaterImageTags:nuget$Production')]", "properties": { "value": "1.24" },