-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add vnet and environment setting to Pipeline Witness bicep (#8584)
- Loading branch information
Showing
8 changed files
with
179 additions
and
13 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
tools/pipeline-witness/Azure.Sdk.Tools.PipelineWitness/appsettings.test.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"PipelineWitness": { | ||
"QueueStorageAccountUri": "https://pipelinewitnesstest.queue.core.windows.net", | ||
"BlobStorageAccountUri": "https://pipelinelogstest.blob.core.windows.net", | ||
"CosmosAccountUri": "https://pipelinewitnesstest.documents.azure.com" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tools/pipeline-witness/infrastructure/bicep/appSettings.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
param webAppName string | ||
param appSettings object | ||
param currentAppSettings object | ||
|
||
resource webApp 'Microsoft.Web/sites@2022-03-01' existing = { | ||
name: webAppName | ||
} | ||
|
||
resource siteconfig 'Microsoft.Web/sites/config@2022-03-01' = { | ||
parent: webApp | ||
name: 'appsettings' | ||
properties: union(currentAppSettings, appSettings) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters