File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ stages:
1515 Path : sdk/keyvault/keyvault-admin/platform-matrix.json
1616 Selection : sparse
1717 GenerateVMJobs : true
18+
19+ ${{ if not(contains(variables['Build.DefinitionName'], 'tests-weekly')) }} :
20+ # Due to the high cost of Managed HSMs, which keyvault-admin requires, we only want to run
21+ # the live tests weekly.
22+ MatrixFilters :
23+ - ArmTemplateParameters=^(?!.*enableHsm.*true)
1824 EnvVars :
1925 AZURE_CLIENT_ID : $(aad-azure-sdk-test-client-id)
2026 AZURE_TENANT_ID : $(aad-azure-sdk-test-tenant-id)
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ stages:
2828 Path : sdk/keyvault/keyvault-keys/platform-matrix.json
2929 Selection : sparse
3030 GenerateVMJobs : true
31+
32+ # Due to the high cost of Managed HSMs, we only want to test using them weekly.
33+ ${{ if not(contains(variables['Build.DefinitionName'], 'tests-weekly')) }} :
34+ MatrixFilters :
35+ - ArmTemplateParameters=^(?!.*enableHsm.*true)
3136 EnvVars :
3237 AZURE_CLIENT_ID : $(KEYVAULT_CLIENT_ID)
3338 AZURE_TENANT_ID : $(KEYVAULT_TENANT_ID)
You can’t perform that action at this time.
0 commit comments