# 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/resources/

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

extends:
  template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
  parameters:
    ServiceDirectory: resources
    TestProxy: true
    Artifacts:
    - name: azure-mgmt-resource
      safeName: azuremgmtresource
    - name: azure-mgmt-resourcegraph
      safeName: azuremgmtresourcegraph
    - name: azure-mgmt-msi
      safeName: azuremgmtmsi
    - name: azure-mgmt-resource-deployments
      safeName: azuremgmtresourcedeployments
    - name: azure-mgmt-resource-deploymentstacks
      safeName: azuremgmtresourcedeploymentstacks
    - name: azure-mgmt-resource-templatespecs
      safeName: azuremgmtresourcetemplatespecs
    - name: azure-mgmt-resource-deploymentscripts
      safeName: azuremgmtresourcedeploymentscripts
    - name: azure-mgmt-resource-bicep
      safeName: azuremgmtresourcebicep