Skip to content

Commit 2c00dd8

Browse files
committed
Plumb env vars through deploy test resources
1 parent 0eec660 commit 2c00dd8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

eng/common/TestResources/deploy-test-resources.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ parameters:
33
ArmTemplateParameters: '@{}'
44
DeleteAfterHours: 8
55
Location: ''
6+
EnvVars: {}
67
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
78
ServiceConnection: not-specified
89
ResourceType: test
@@ -47,6 +48,8 @@ steps:
4748
displayName: Deploy test resources
4849
env:
4950
TEMP: $(Agent.TempDirectory)
51+
${{ each var in parameters.EnvVars }}:
52+
${{ var.key }}: ${{ var.value }}
5053
inputs:
5154
azureSubscription: ${{ parameters.ServiceConnection }}
5255
azurePowerShellVersion: LatestVersion

0 commit comments

Comments
 (0)