# 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/storage/
    - sdk/core/

pr:
  branches:
    include:
    - main
    - feature/*
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/storage/
    - sdk/core/

extends:
  template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
  parameters:
    ServiceDirectory: storage
    TestProxy: true
    TestTimeoutInMinutes: 120
    MatrixFilters:
      - PythonVersion=^(?!pypy3).*
    Artifacts:
    - name: azure-storage-blob
      safeName: azurestorageblob
    - name: azure-storage-blob-changefeed
      safeName: azurestorageblobchangefeed
    - name: azure-storage-file-share
      safeName: azurestoragefileshare
    - name: azure-storage-file-datalake
      safeName: azurestoragefiledatalake
    - name: azure-storage-queue
      safeName: azurestoragequeue
    - name: azure-storage-extensions
      safeName: azurestorageextensions
      # Pure C-based storage extension package, not generating docs at this moment.
      skipPublishDocGithubIo: true
      skipPublishDocMs: true
    - name: azure-mgmt-storage
      safeName: azuremgmtstorage
    - name: azure-mgmt-storagecache
      safeName: azuremgmtstoragecache
    - name: azure-mgmt-storagesync
      safeName: azuremgmtstoragesync
    - name: azure-mgmt-storageimportexport
      safeName: azuremgmtstorageimportexport
