Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update key vault keys to enable live testing in sovereign clouds for multiple services #18431

Merged
merged 5 commits into from
Nov 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions sdk/keyvault/keyvault-keys/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,30 @@ stages:
PackageName: "@azure/keyvault-keys"
ServiceDirectory: keyvault
TimeoutInMinutes: 90
SupportedClouds: 'Public,UsGov,China'
CloudConfig:
Public:
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
Location: 'eastus2'
UsGov:
SubscriptionConfiguration: $(sub-config-gov-test-resources)
MatrixFilters:
- ArmTemplateParameters=^(?!.*enableHsm.*true)
China:
SubscriptionConfiguration: $(sub-config-cn-test-resources)
MatrixFilters:
- ArmTemplateParameters=^(?!.*enableHsm.*true)
# KV HSM limitation prevents us from running live tests
# against multiple platforms in parallel (we're limited to a single
# instance per region per subscription) so we're only running
# live tests against a single instance.
Location: eastus2
AdditionalMatrixConfigs:
- Name: Keyvault_live_test_base
Path: sdk/keyvault/keyvault-keys/platform-matrix.json
Selection: sparse
GenerateVMJobs: true
EnvVars:
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)
AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)
AZURE_CLIENT_ID: $(KEYVAULT_CLIENT_ID)
AZURE_TENANT_ID: $(KEYVAULT_TENANT_ID)
AZURE_CLIENT_SECRET: $(KEYVAULT_CLIENT_SECRET)
AZURE_SUBSCRIPTION_ID: $(KEYVAULT_SUBSCRIPTION_ID)