From ae71460bdabddb4f954780197d03897008114aaf Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Mon, 1 Jul 2024 17:52:23 -0400 Subject: [PATCH 1/2] Fix default value for env vars in build-test-resource-config template --- eng/common/TestResources/build-test-resource-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/TestResources/build-test-resource-config.yml b/eng/common/TestResources/build-test-resource-config.yml index c64664f852b1..c890221fce31 100644 --- a/eng/common/TestResources/build-test-resource-config.yml +++ b/eng/common/TestResources/build-test-resource-config.yml @@ -8,7 +8,7 @@ parameters: # EnvVars is used to help diagnose variable conflict issues early - name: EnvVars type: object - default: null + default: {} - name: SubscriptionConfigurationFilePaths type: object default: null From 1102228593a66ded21a1aca7089d8d9dc905a79f Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Tue, 2 Jul 2024 16:04:27 -0400 Subject: [PATCH 2/2] Add empty pool condition --- eng/common/TestResources/build-test-resource-config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/common/TestResources/build-test-resource-config.yml b/eng/common/TestResources/build-test-resource-config.yml index c890221fce31..c183bf04836b 100644 --- a/eng/common/TestResources/build-test-resource-config.yml +++ b/eng/common/TestResources/build-test-resource-config.yml @@ -16,6 +16,7 @@ parameters: steps: - task: AzurePowerShell@5 displayName: Set Pipeline Subnet Info + condition: ne(variables['Pool'], '') env: ${{ parameters.EnvVars }} inputs: azureSubscription: azure-sdk-tests