File: tests.yml

package info (click to toggle)
python-azure 20250603%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 851,724 kB
  • sloc: python: 7,362,925; ansic: 804; javascript: 287; makefile: 195; sh: 145; xml: 109
file content (26 lines) | stat: -rw-r--r-- 958 bytes parent folder | download
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
trigger: none

extends:
    template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
    parameters:
      ServiceDirectory: keyvault
      BuildTargetingString: "azure-keyvault-keys"
      JobName: azure_keyvault_keys
      TestTimeoutInMinutes: 240
      CloudConfig:
        Public:
          Location: 'westus2'
      # HSMs are expensive and restricted in number so we only test them on one platform.
      AdditionalMatrixConfigs:
        - Name: keyvault_hsm_matrix_addons
          Path: sdk/keyvault/azure-keyvault-keys/platform-matrix.json
          Selection: sparse
          GenerateVMJobs: true

      # Due to the high cost of Managed HSMs, we only want to test using them weekly.
      ${{ if not(contains(variables['Build.DefinitionName'], 'tests-weekly')) }}:
        MatrixFilters:
          - ArmTemplateParameters=^(?!.*enableHsm.*true)
      EnvVars:
        AZURE_TEST_RUN_LIVE: true
        AZURE_SKIP_LIVE_RECORDING: 'True'