-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
Copy pathtests.yml
37 lines (36 loc) · 1.47 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
trigger: none
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: keyvault
SDKType: client
MaxParallel: 5
TimeoutInMinutes: 240
SupportedClouds: 'Public,UsGov,Canary'
CloudConfig:
Public:
${{ if not(contains(variables['Build.DefinitionName'], 'tests-weekly')) }}:
MatrixFilters:
- ArmTemplateParameters=^(?!.*enableHsm.*true)
# Canary regions are currently not supported in TME so disabling for now
# Canary:
# Location: 'centraluseuap'
# # Managed HSM test resources are expensive and provisioning has not been reliable.
# # Given test coverage of non-canary regions we probably don't need to test in canary.
# MatrixFilters:
# - ArmTemplateParameters=^(?!.*enableHsm.*true)
# # Some resource providers required for attestation are not supported in canary.
# MatrixReplace:
# - 'ArmTemplateParameters=(.*)enableAttestation.*?\$true(.*)/$1enableAttestation \= $false$2'
UsGov:
MatrixFilters:
- ArmTemplateParameters=^(?!.*enableHsm.*true)
MatrixConfigs:
- Name: keyvault_test_matrix
Path: sdk/keyvault/platform-matrix.json
Selection: sparse
GenerateVMJobs: true
EnvVars:
# Runs samples with live tests.
# THIS VARIABLE IS A ONE-OFF WORKAROUND FOR KEYVAULT TESTS SPECIFICALLY, DON'T COPY IT
AZURE_KEYVAULT_TEST_MODE: Live