Skip to content

Commit

Permalink
pr-fix: use diff var retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnmoreels committed Jul 25, 2024
1 parent 4540054 commit 2230b50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions build/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ parameters:
displayName: 'Azure service connection'
type: string
default: 'Azure Codit-Arcus Service Principal'
- name: keyVaultName
displayName: 'Azure Key vault with integration test secrets'
type: string
default: 'arcus-observability-kv'

resources:
repositories:
Expand Down
8 changes: 4 additions & 4 deletions build/templates/import-keyvault-secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ steps:
- task: AzureCLI@2
displayName: 'Import secrets from Azure Key Vault'
env:
KeyVault_Name: ${{ variables['KeyVault.Name'] }}
ApplicationInsights_InstrumentationKey_SecretName: ${{ variables['ApplicationInsights.InstrumentationKey.SecretName'] }}
ApplicationInsights_ApiKey_SecretName: ${{ variables['ApplicationInsights.ApiKey.SecretName'] }}
ApplicationInsights_ApplicationId_SecretName: ${{ variables['ApplicationInsights.ApplicationId.SecretName'] }}
KeyVault_Name: $(KeyVault.Name)
ApplicationInsights_InstrumentationKey_SecretName: $(ApplicationInsights.InstrumentationKey.SecretName)
ApplicationInsights_ApiKey_SecretName: $(ApplicationInsights.ApiKey.SecretName)
ApplicationInsights_ApplicationId_SecretName: $(ApplicationInsights.ApplicationId.SecretName)
inputs:
azureSubscription: '${{ parameters.azureServiceConnection }}'
scriptType: 'pscore'
Expand Down

0 comments on commit 2230b50

Please sign in to comment.