Skip to content

Commit 6f47585

Browse files
add service name in metadata and fix tests.yml (#44349)
* fix multipartform * fix pylint * update patch * include service name in metadata and update tests.yml syntax
1 parent 4b7ad9b commit 6f47585

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"apiVersion": "2025-10-15"
2+
"apiVersion": "2025-10-15",
3+
"service_name": "Cognitive Services",
4+
"msDocService": "cognitive-services"
35
}

sdk/cognitiveservices/azure-ai-transcription/tests.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
trigger: none
44

5-
stages:
6-
- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
7-
parameters:
8-
BuildTargetingString: azure-ai-transcription
9-
ServiceDirectory: cognitiveservices
10-
CloudConfig:
11-
Public:
12-
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
13-
MatrixReplace:
14-
- TestSamples=.*/true
15-
EnvVars:
16-
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)
17-
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)
18-
AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
19-
AZURE_TEST_RUN_LIVE: 'true'
20-
TEST_MODE: 'RunLiveNoRecord'
21-
AZURE_SKIP_LIVE_RECORDING: 'True'
5+
extends:
6+
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
7+
parameters:
8+
BuildTargetingString: azure-ai-transcription
9+
ServiceDirectory: cognitiveservices
10+
CloudConfig:
11+
Public:
12+
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
13+
MatrixReplace:
14+
- TestSamples=.*/true
15+
EnvVars:
16+
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)
17+
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)
18+
AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
19+
AZURE_TEST_RUN_LIVE: 'true'
20+
TEST_MODE: 'RunLiveNoRecord'
21+
AZURE_SKIP_LIVE_RECORDING: 'True'

0 commit comments

Comments
 (0)