# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.

trigger:
  branches:
    include:
    - main
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/keyvault/
    - sdk/core/

pr:
  branches:
    include:
    - main
    - feature/*
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/keyvault/
    - sdk/core/
    - eng/common/testproxy/

extends:
  template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
  parameters:
    ServiceDirectory: keyvault
    TestTimeoutInMinutes: 120
    TestProxy: true
    Artifacts:
    - name: azure-keyvault-administration
      safename: azurekeyvaultadministration
    - name: azure-keyvault-certificates
      safeName: azurekeyvaultcertificates
    - name: azure-keyvault-keys
      safeName: azurekeyvaultkeys
    - name: azure-keyvault-secrets
      safeName: azurekeyvaultsecrets
    - name: azure-keyvault-securitydomain
      safeName: azurekeyvaultsecuritydomain
    - name: azure-mgmt-keyvault
      safeName: azuremgmtkeyvault
