Skip to content

Commit

Permalink
Added release legs to pipeline. (#5232)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdenny authored Sep 24, 2019
1 parent 06d0f0e commit 6b3c8d8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
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 @@ -25,3 +25,11 @@ stages:
EnvVars:
MOCHA_TIMEOUT: 100000
NODE_TLS_REJECT_UNAUTHORIZED: 0

# 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-js-release.yml@azure-sdk-build-tools
parameters:
DependsOn: Build
Artifacts: ${{parameters.Artifacts}}
ArtifactName: packages
8 changes: 8 additions & 0 deletions sdk/cosmosdb/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

resources:
repositories:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
Expand All @@ -12,6 +16,8 @@ trigger:
include:
- master
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/cosmosdb/
Expand All @@ -21,6 +27,8 @@ pr:
include:
- master
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/cosmosdb/
Expand Down

0 comments on commit 6b3c8d8

Please sign in to comment.