From 301b9b0ae28c2f4036ae1f334af49c31c510f9e1 Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Tue, 16 Jul 2024 10:42:32 -0700 Subject: [PATCH 1/3] Update Preview Test Sub to use new connection In order to get both deployment and clean-up working we need to have a connection that points at the right subscription. Today azure-sdk-tests points to the name Test Sub but I created azure-sdk-tests-preview connection which points to the Preview Test Sub. This will fix the clean-up step which is currently failing for things deployed in Preview. --- eng/pipelines/templates/stages/archetype-sdk-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/stages/archetype-sdk-tests.yml b/eng/pipelines/templates/stages/archetype-sdk-tests.yml index 686116accac59..65f3a21060165 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-tests.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-tests.yml @@ -60,7 +60,7 @@ parameters: - eng/common/TestResources/sub-config/AzurePublicMsft.json Preview: SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview) - ServiceConnection: azure-sdk-tests + ServiceConnection: azure-sdk-tests-preview Canary: SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) Location: 'eastus2euap' From d3cf623fcac821fcd1d10ec32fd24b44c2ff1bcc Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Tue, 16 Jul 2024 10:51:16 -0700 Subject: [PATCH 2/3] Delete sdk/storage/storage-preview-public-msft.json --- sdk/storage/storage-preview-public-msft.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 sdk/storage/storage-preview-public-msft.json diff --git a/sdk/storage/storage-preview-public-msft.json b/sdk/storage/storage-preview-public-msft.json deleted file mode 100644 index e35b5b7a0cd51..0000000000000 --- a/sdk/storage/storage-preview-public-msft.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "SubscriptionId": "23fddbc8-cb64-4b59-ba97-4c9f77c212e4", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "TestApplicationId": "f850650c-1fcf-4489-b46f-71af2e30d360", - "TestApplicationOid": "30511c9d-ba1a-4c7b-b422-5b543da11b3f", - "ProvisionerApplicationId": "f850650c-1fcf-4489-b46f-71af2e30d360", - "ProvisionerApplicationOid": "30511c9d-ba1a-4c7b-b422-5b543da11b3f", - "Environment": "AzureCloud" -} \ No newline at end of file From 2511e9d8353778e58d602bf1e0a200f053581195 Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Tue, 16 Jul 2024 10:52:05 -0700 Subject: [PATCH 3/3] Update tests.yml --- sdk/storage/tests.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sdk/storage/tests.yml b/sdk/storage/tests.yml index afd0b6eacfdc2..89d19a3c55a3e 100644 --- a/sdk/storage/tests.yml +++ b/sdk/storage/tests.yml @@ -11,9 +11,7 @@ extends: CloudConfig: Preview: SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview) - ServiceConnection: azure-sdk-tests - SubscriptionConfigurationFilePaths: - - sdk/storage/storage-preview-public-msft.json + ServiceConnection: azure-sdk-tests-preview PrivatePreview: SubscriptionConfiguration: $(sub-config-storage-test-resources) Clouds: Preview