forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.yml
More file actions
46 lines (45 loc) · 1.86 KB
/
tests.yml
File metadata and controls
46 lines (45 loc) · 1.86 KB
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
38
39
40
41
42
43
44
45
46
trigger: none
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: keyvault
SDKType: client
MaxParallel: 5
TimeoutInMinutes: 240
UseFederatedAuth: true
SupportedClouds: 'Public,UsGov,Canary'
CloudConfig:
Public:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
${{ if not(contains(variables['Build.DefinitionName'], 'tests-weekly')) }}:
MatrixFilters:
- ArmTemplateParameters=^(?!.*enableHsm.*true)
Canary:
ServiceConnection: azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzurePublicMsft.json
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:
ServiceConnection: usgov_azure-sdk-tests
SubscriptionConfigurationFilePaths:
- eng/common/TestResources/sub-config/AzureUsGovMsft.json
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