Sync eng/common directory with azure-sdk-tools for PR 8377 (#5690)
* Plumb env vars through deploy test resources * Update eng/common/TestResources/deploy-test-resources.yml Co-authored-by: Daniel Jurek <djurek@microsoft.com> * Update eng/common/TestResources/deploy-test-resources.yml Co-authored-by: Daniel Jurek <djurek@microsoft.com> --------- Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com> Co-authored-by: Daniel Jurek <djurek@microsoft.com>
This commit is contained in:
parent
b43174a05b
commit
3635e2064a
@ -3,6 +3,7 @@ parameters:
|
||||
ArmTemplateParameters: '@{}'
|
||||
DeleteAfterHours: 8
|
||||
Location: ''
|
||||
EnvVars: {}
|
||||
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
|
||||
ServiceConnection: not-specified
|
||||
ResourceType: test
|
||||
@ -47,6 +48,7 @@ steps:
|
||||
displayName: Deploy test resources
|
||||
env:
|
||||
TEMP: $(Agent.TempDirectory)
|
||||
${{ insert }}: ${{ parameters.EnvVars }}
|
||||
inputs:
|
||||
azureSubscription: ${{ parameters.ServiceConnection }}
|
||||
azurePowerShellVersion: LatestVersion
|
||||
@ -106,3 +108,4 @@ steps:
|
||||
displayName: Deploy test resources
|
||||
env:
|
||||
TEMP: $(Agent.TempDirectory)
|
||||
${{ insert }}: ${{ parameters.EnvVars }}
|
||||
|
||||
@ -6,6 +6,7 @@ parameters:
|
||||
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
|
||||
ServiceConnection: not-specified
|
||||
ResourceType: test
|
||||
EnvVars: {}
|
||||
UseFederatedAuth: false
|
||||
SubscriptionConfigurationFilePath: ''
|
||||
|
||||
@ -29,6 +30,7 @@ steps:
|
||||
displayName: Remove test resources
|
||||
condition: and(eq(variables['CI_HAS_DEPLOYED_RESOURCES'], 'true'), ne(variables['Skip.RemoveTestResources'], 'true'))
|
||||
continueOnError: true
|
||||
env: ${{ parameters.EnvVars }}
|
||||
inputs:
|
||||
azureSubscription: ${{ parameters.ServiceConnection }}
|
||||
azurePowerShellVersion: LatestVersion
|
||||
@ -78,3 +80,4 @@ steps:
|
||||
displayName: Remove test resources
|
||||
condition: and(eq(variables['CI_HAS_DEPLOYED_RESOURCES'], 'true'), ne(variables['Skip.RemoveTestResources'], 'true'))
|
||||
continueOnError: true
|
||||
env: ${{ parameters.EnvVars }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user