Skip to content

Commit 10b05bb

Browse files
[keyvault] change managed hsms to run weekly (Azure#21429)
* weekly azadmin * fix yml * update azkeys * live tests * fix format * update azadmin * charles suggestion Co-authored-by: Charles Lowell <10964656+chlowell@users.noreply.github.com> --------- Co-authored-by: Charles Lowell <10964656+chlowell@users.noreply.github.com>
1 parent 5d04047 commit 10b05bb

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

sdk/security/keyvault/azadmin/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,10 @@ stages:
3131
- Name: keyvault_test_matrix_addons
3232
Path: sdk/security/keyvault/azadmin/platform-matrix.json
3333
Selection: sparse
34-
GenerateVMJobs: true
34+
GenerateVMJobs: true
35+
36+
${{ if not(contains(variables['Build.DefinitionName'], 'tests-weekly')) }}:
37+
# Due to the high cost of Managed HSMs, which keyvault-admin requires, we only want to run
38+
# the live tests weekly.
39+
MatrixFilters:
40+
- ArmTemplateParameters=^(?!.*enableHsm.*true)

sdk/security/keyvault/azkeys/ci.security.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ stages:
3232
Path: sdk/security/keyvault/azkeys/platform-matrix.json
3333
Selection: sparse
3434
GenerateVMJobs: true
35+
36+
# Due to the high cost of Managed HSMs, we only want to test using them weekly.
37+
${{ if not(contains(variables['Build.DefinitionName'], 'tests-weekly')) }}:
38+
MatrixFilters:
39+
- ArmTemplateParameters=^(?!.*enableHsm.*true)

0 commit comments

Comments
 (0)