-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add emulator to ci.yml * mark globaldb tests, try removing emulator from live tests * use the accepted gating cosmos emulator url * live tests * remove redundant BuildTargetingString * make coverage arg into a variable because of build-test.yml's construction * remove extra comment, extra templates don't add value here given that this file is cosmos-specific already * remove old cosmos pipelines * remove extra comment
- Loading branch information
1 parent
977cbda
commit 56c39bb
Showing
8 changed files
with
87 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
parameters: | ||
Artifacts: [] | ||
ServiceDirectory: not-specified | ||
EmulatorMsiUrl: 'https://aka.ms/cosmosdb-emulator' | ||
EmulatorStartParameters: '' | ||
|
||
stages: | ||
- stage: Build | ||
jobs: | ||
- template: ../jobs/archetype-sdk-client.yml | ||
parameters: | ||
ServiceDirectory: ${{ parameters.ServiceDirectory }} | ||
# Skip emulator tests in the CI run | ||
TestMarkArgument: not cosmosEmulator | ||
|
||
- job: Emulator | ||
strategy: | ||
matrix: | ||
Windows_Python35: | ||
OSVmImage: 'windows-2019' | ||
OSName: Windows | ||
PythonVersion: '3.5' | ||
Windows_Python27: | ||
OSVmImage: 'windows-2019' | ||
OSName: Windows | ||
PythonVersion: '2.7' | ||
pool: | ||
vmImage: $(OSVmImage) | ||
|
||
steps: | ||
- template: eng/pipelines/templates/steps/cosmos-emulator.yml@azure-sdk-tools | ||
parameters: | ||
EmulatorMsiUrl: ${{ parameters.EmulatorMsiUrl }} | ||
StartParameters: ${{ parameters.EmulatorStartParameters }} | ||
|
||
- template: ../steps/build-test.yml | ||
parameters: | ||
TestMarkArgument: not globaldb | ||
EnvVars: | ||
ACCOUNT_HOST: https://localhost:8081/ | ||
ServiceDirectory: ${{ parameters.ServiceDirectory }} | ||
PythonVersion: $(PythonVersion) | ||
OSName: $(OSName) | ||
ToxTestEnv: 'whl,sdist' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
trigger: none | ||
|
||
jobs: | ||
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-tests.yml | ||
parameters: | ||
MaxParallel: 1 | ||
Matrix: | ||
Linux_Python35: | ||
OSName: 'Linux' | ||
OSVmImage: 'ubuntu-16.04' | ||
PythonVersion: '3.5' | ||
MacOs_Python37: | ||
OSName: 'MacOS' | ||
OSVmImage: 'macOS-10.14' | ||
PythonVersion: '3.7' | ||
Windows_Python27: | ||
OSName: 'Windows' | ||
OSVmImage: 'windows-2019' | ||
PythonVersion: '2.7' | ||
Linux_Pypy3: | ||
OSName: 'Linux' | ||
OSVmImage: 'ubuntu-16.04' | ||
PythonVersion: 'pypy3' | ||
ServiceDirectory: cosmos | ||
TestMarkArgument: not globaldb | ||
EnvVars: | ||
ACCOUNT_KEY: $(python-cosmos-live-account-key) | ||
ACCOUNT_HOST: $(python-cosmos-live-account-host) |