Skip to content

Commit d34de02

Browse files
azure-sdkbenbpdanieljurek
authored
Sync eng/common directory with azure-sdk-tools for PR 8377 (#29906)
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#8377 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com> Co-authored-by: Daniel Jurek <djurek@microsoft.com>
1 parent f0fb922 commit d34de02

2 files changed

Lines changed: 6 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,7 @@ steps:
4748
displayName: Deploy test resources
4849
env:
4950
TEMP: $(Agent.TempDirectory)
51+
${{ insert }}: ${{ parameters.EnvVars }}
5052
inputs:
5153
azureSubscription: ${{ parameters.ServiceConnection }}
5254
azurePowerShellVersion: LatestVersion
@@ -106,3 +108,4 @@ steps:
106108
displayName: Deploy test resources
107109
env:
108110
TEMP: $(Agent.TempDirectory)
111+
${{ insert }}: ${{ parameters.EnvVars }}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ parameters:
66
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
77
ServiceConnection: not-specified
88
ResourceType: test
9+
EnvVars: {}
910
UseFederatedAuth: false
1011
SubscriptionConfigurationFilePath: ''
1112

@@ -29,6 +30,7 @@ steps:
2930
displayName: Remove test resources
3031
condition: and(eq(variables['CI_HAS_DEPLOYED_RESOURCES'], 'true'), ne(variables['Skip.RemoveTestResources'], 'true'))
3132
continueOnError: true
33+
env: ${{ parameters.EnvVars }}
3234
inputs:
3335
azureSubscription: ${{ parameters.ServiceConnection }}
3436
azurePowerShellVersion: LatestVersion
@@ -78,3 +80,4 @@ steps:
7880
displayName: Remove test resources
7981
condition: and(eq(variables['CI_HAS_DEPLOYED_RESOURCES'], 'true'), ne(variables['Skip.RemoveTestResources'], 'true'))
8082
continueOnError: true
83+
env: ${{ parameters.EnvVars }}

0 commit comments

Comments
 (0)