mirror of
https://github.com/hanzoai/azure-sdk-for-js.git
synced 2026-10-30 19:51:51 +00:00
Overhauls tests and samples for Azure Cognitive Services for Language SDKs by implementing safe secret standards: - Updates `test-resources.bicep` to not output API keys nor SAS tokens - Updates the tests to retrieve API keys using the arm client - Updates the tests to create SAS tokens for Storage container access - Updates the samples and snippets to use Entra ID authentication - Fix live tests by enabling SAS access to the persistent storage account Live tests run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4694655&view=results
19 lines
615 B
YAML
19 lines
615 B
YAML
# Parameterize Location to the test resources deployment script. This allows
|
|
# specifying a different Azure region to use when manually triggering the live
|
|
# tests pipeline. This is useful for when we want to test in different
|
|
# environments: Prod, Canary, etc.
|
|
parameters:
|
|
- name: Location
|
|
displayName: Location
|
|
type: string
|
|
default: eastus
|
|
|
|
trigger: none
|
|
|
|
extends:
|
|
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
|
|
parameters:
|
|
PackageName: "@azure-rest/ai-document-intelligence"
|
|
ServiceDirectory: documentintelligence
|
|
Location: "${{ parameters.Location }}"
|