Skip to content

Commit

Permalink
Merge pull request #4890 from dfe-analytical-services/dev
Browse files Browse the repository at this point in the history
Merge dev into master
  • Loading branch information
N-moh authored May 24, 2024
2 parents fb2e052 + 3abde93 commit d1e8b0e
Show file tree
Hide file tree
Showing 373 changed files with 19,020 additions and 14,171 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines.dfe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pr:

jobs:
- job: 'Backend'
pool: 'ees-ubuntu2204-large'
pool: 'ees-ubuntu2204-xlarge'
workspace:
clean: all
steps:
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
repository: 'ees-public-api/api'
command: 'push'
tags: $(Build.BuildNumber)

- task: 'DotNetCoreCLI@2'
displayName: 'Publish Public API - Data Processor Function'
inputs:
Expand All @@ -154,7 +154,7 @@ jobs:
inputs:
artifactName: 'public-api-data-processor-$(Build.BuildNumber)'
targetPath: '$(Build.ArtifactStagingDirectory)/public-api-data-processor'

- task: 'DotNetCoreCLI@2'
displayName: 'Publish Notifier Function'
inputs:
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
containerRegistry: '$(AcrServiceConnection)'
repository: 'ees-public-frontend'
command: 'push'
tags: $(Build.BuildNumber)
tags: $(Build.BuildNumber)

- job: 'MiscellaneousArtifacts'
pool:
Expand Down
8 changes: 8 additions & 0 deletions infrastructure/templates/public-api/deploy-stage-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ stages:
--settings \
"[email protected](VaultName=$(keyVaultName); SecretName=$(coreStorageConnectionStringSecretKey))"
az webapp config connection-string set \
--name '$(dataProcessorFunctionAppName)' \
--resource-group '$(resourceGroupName)' \
--slot 'staging' \
--connection-string-type 'SQLAzure' \
--settings \
"[email protected](VaultName=$(keyVaultName); SecretName=$(dataProcessorContentDbConnectionStringSecretKey))"
az webapp config connection-string set \
--name '$(dataProcessorFunctionAppName)' \
--resource-group '$(resourceGroupName)' \
Expand Down
1 change: 1 addition & 0 deletions infrastructure/templates/public-api/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ module storeCoreStorageConnectionString 'components/keyVaultSecret.bicep' = {
}
}

output dataProcessorContentDbConnectionStringSecretKey string = 'ees-publicapi-data-processor-connectionstring-contentdb'
output dataProcessorPsqlConnectionStringSecretKey string = dataProcessorPsqlConnectionStringSecretKey
output coreStorageConnectionStringSecretKey string = coreStorageConnectionStringSecretKey
output keyVaultName string = keyVaultName
Loading

0 comments on commit d1e8b0e

Please sign in to comment.