Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions eng/pipelines/templates/stages/cosmos-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,11 @@ stages:
PythonVersion: $(PythonVersion)
OSName: $(OSName)
ToxTestEnv: 'whl,sdist'

# The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch.
- ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}:
- template: pipelines/stages/archetype-python-release.yml@azure-sdk-build-tools
parameters:
DependsOn: Build
Artifacts: ${{parameters.Artifacts}}
ArtifactName: packages
12 changes: 12 additions & 0 deletions sdk/cosmos/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,22 @@ resources:
type: github
name: Azure/azure-sdk-tools
endpoint: azure
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools

trigger:
branches:
include:
- master
- feature/*
- hotfix/*
- release/*
- restapi*
paths:
include:
- sdk/cosmos/
- sdk/core/

pr:
branches:
Expand All @@ -27,8 +35,12 @@ pr:
paths:
include:
- sdk/cosmos/
- sdk/core/

stages:
- template: ../../eng/pipelines/templates/stages/cosmos-sdk-client.yml
parameters:
ServiceDirectory: cosmos
Artifacts:
- name: azure_cosmos
safeName: azurecosmos