Skip to content

Commit

Permalink
Use a more reliable input for Cosmos test accounts load balancing
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriySvyryd committed Nov 5, 2019
1 parent 7abc752 commit 1d222bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,16 @@ stages:
pool:
vmImage: ubuntu-16.04
variables:
- _runCounter: $[counter(variables['Build.Reason'], 0)]
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['system.pullrequest.isfork'], false), notin(variables['Build.Reason'], 'PullRequest', 'Schedule', 'BuildCompletion')) }}:
- _CosmosConnectionUrl: 'true'
steps:
- bash: sudo apt-get install -y libsqlite3-mod-spatialite
displayName: Install SpatiaLite
continueOnError: true
- bash: |
echo $(_runCounter)
displayName: Counter test 1
- bash: |
echo "##vso[task.setvariable variable=_CosmosConnectionUrl]https://ef-nightly-test.documents.azure.com:443/"
echo "##vso[task.setvariable variable=_CosmosToken]$(ef-nightly-cosmos-key)"
Expand Down

0 comments on commit 1d222bd

Please sign in to comment.