-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
345 additions
and
95 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
storageLocation: | ||
type: azure-key-vault | ||
parameters: | ||
subscription: fbd6122a-9ad3-42e4-976e-bccb82486856 | ||
name: ProductConstructionProd | ||
|
||
references: | ||
engkeyvault: | ||
type: azure-key-vault | ||
parameters: | ||
subscription: a4fc5514-21a9-4296-bfaf-5c7ee7fa35d1 | ||
name: engkeyvault | ||
|
||
secrets: | ||
BotAccount-dotnet-bot-repo-PAT: | ||
type: github-access-token | ||
parameters: | ||
gitHubBotAccountSecret: | ||
location: engkeyvault | ||
name: BotAccount-dotnet-bot | ||
gitHubBotAccountName: dotnet-bot | ||
|
||
github: | ||
type: github-app-secret | ||
parameters: | ||
hasPrivateKey: true | ||
hasWebhookSecret: false | ||
hasOAuthSecret: true |
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
55 changes: 55 additions & 0 deletions
55
eng/service-templates/ProductConstructionService/production.bicepparam
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,55 @@ | ||
using 'provision.bicep' | ||
|
||
param location = 'westus2' | ||
|
||
param containerRegistryName = 'productconstructionprod' | ||
|
||
param containerCpuCoreCount = '1.0' | ||
|
||
param containerMemory = '2Gi' | ||
|
||
param aspnetcoreEnvironment = 'Production' | ||
|
||
param applicationInsightsName = 'product-construction-service-ai-prod' | ||
|
||
param keyVaultName = 'ProductConstructionProd' | ||
|
||
param azureCacheRedisName = 'product-construction-service-redis-prod' | ||
|
||
param logAnalyticsName = 'product-construction-service-workspace-prod' | ||
|
||
param containerEnvironmentName = 'product-construction-service-env-prod' | ||
|
||
param productConstructionServiceName = 'product-construction-prod' | ||
|
||
param storageAccountName = 'productconstructionprod' | ||
|
||
param pcsIdentityName = 'ProductConstructionServiceProd' | ||
|
||
param deploymentIdentityName = 'ProductConstructionServiceDeploymentProd' | ||
|
||
param containerImageName = 'mcr.microsoft.com/azuredocs/containerapps-helloworld:latest' | ||
|
||
param virtualNetworkName = 'product-construction-service-vnet-prod' | ||
|
||
param productConstructionServiceSubnetName = 'product-construction-service-subnet' | ||
|
||
param subscriptionTriggererIdentityName = 'SubscriptionTriggererProd' | ||
|
||
param subscriptionTriggererWeeklyJobName = 'sub-triggerer-weekly-prod' | ||
|
||
param subscriptionTriggererTwiceDailyJobName = 'sub-triggerer-twicedaily-prod' | ||
|
||
param subscriptionTriggererDailyJobName = 'sub-triggerer-daily-prod' | ||
|
||
param longestBuildPathUpdaterIdentityName = 'LongestBuildPathUpdaterProd' | ||
|
||
param longestBuildPathUpdaterJobName = 'longest-path-updater-job-prod' | ||
|
||
param feedCleanerJobName = 'feed-cleaner-prod' | ||
|
||
param feedCleanerIdentityName = 'FeedCleanerProd' | ||
|
||
param networkSecurityGroupName = 'product-construction-service-nsg-prod' | ||
|
||
param infrastructureResourceGroupName = 'product-construction-service-ip-prod' |
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
7 changes: 4 additions & 3 deletions
7
eng/service-templates/ProductConstructionService/provision.ps1
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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
param( | ||
[Parameter(Mandatory=$true)][string]$subscriptionName | ||
[Parameter(Mandatory=$true)][string]$subscriptionName, | ||
[Parameter(Mandatory=$true)][string]$bicepparamFileName | ||
) | ||
|
||
az account set --subscription $subscriptionName | ||
|
||
# creates a resource group `product-construction-service` in West US 2 | ||
az group create --name product-construction-service --location "West US 2" | ||
|
||
$provisionFilePath = Join-Path -Path $PSScriptRoot -ChildPath "provision.bicep" | ||
az deployment group create --resource-group product-construction-service --template-file $provisionFilePath --name deploy | ||
$paramFile = Join-Path -Path $PSScriptRoot -ChildPath $bicepparamFileName | ||
az deployment group create --resource-group product-construction-service --parameters $paramFile --name deploy |
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
Oops, something went wrong.