Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
2cba844
Certs Final PR (#7076)
iscai-msft Sep 6, 2019
7e0ddbe
Perform encrypt/verify/wrap locally when possible (#6939)
chlowell Sep 7, 2019
6aba868
[EventHubs] Track2 Preview3 (#7059)
yunhaoling Sep 9, 2019
cf18c2b
[AutoPR] reservations/resource-manager (#6861)
AutorestCI Sep 9, 2019
c9f3e9c
setting a maxparallel paramter for the storage livetests. we need to …
scbedd Sep 9, 2019
dcaa3c2
Enable SSO on Windows (#7006)
chlowell Sep 9, 2019
54a1af0
adjusting where inconsistency is set. if we are inconsistent, but the…
scbedd Sep 10, 2019
34b1cba
revert changes to doc build host machine. we need to push some docs o…
scbedd Sep 10, 2019
ee0f3b7
Fix tracing if method raise exception (#7133)
lmazuel Sep 10, 2019
ce6484e
fix link to azure-identity readme (#7169)
chlowell Sep 10, 2019
5a6764d
Eventhubs preview3 documentation update (#7139)
YijunXieMS Sep 10, 2019
ad4a001
msal_extensions -> msal-extensions (#7172)
chlowell Sep 10, 2019
3037d37
update doc (#7131)
xiangyan99 Sep 10, 2019
a267b95
[Cosmos] Preview2 (#7140)
annatisch Sep 10, 2019
2aa33cf
Key Vault: added example and fixed link in Certificates README (#7151)
iscai-msft Sep 10, 2019
475545f
Key Vault: fixed certificate docstring errors (#7132)
iscai-msft Sep 10, 2019
2b6068b
Key Vault: added certificate changelog (#7128)
iscai-msft Sep 10, 2019
fe4c62a
remove duplicate enum key (#7173)
kayousef Sep 10, 2019
90fe8d9
azure-keyvault-nspkg (#7125)
chlowell Sep 10, 2019
c433e47
Storage Preview 3 Release (#7154)
rakshith91 Sep 10, 2019
b3790cd
update readme and history (#7188)
Sep 11, 2019
7354bbd
Skip Building on incompatible Python Versions (#7160)
scbedd Sep 11, 2019
ab3f145
Disable dev-setup "Develop" mode in CI checks (#7162)
scbedd Sep 11, 2019
59e24d1
Eventhubs preview3 doc update
yunhaoling Sep 11, 2019
dc84cca
Final Key Vault 4.0.0b3 updates (#7189)
chlowell Sep 11, 2019
3c5304d
add cryptography dependency (#7207)
chlowell Sep 11, 2019
21d1741
Eventhubs blobstorage merge to master (#7150)
YijunXieMS Sep 11, 2019
1016d17
Increment Key Vault versions (#7211)
chlowell Sep 11, 2019
26319a8
Increment azure-identity version (#7176)
chlowell Sep 11, 2019
758f358
Doc build resolution for extension package (#7217)
scbedd Sep 11, 2019
21c62d7
removing stray == (#7218)
scbedd Sep 11, 2019
b30de5a
handle 0 packages being passed to dev_setup from setup_execute_tests.…
scbedd Sep 11, 2019
fc0d440
adding line item entry (#7221)
scbedd Sep 11, 2019
483a334
KeyVault: Removing JsonWeb prefix from enums (#7212)
iscai-msft Sep 11, 2019
c3fece1
Eventhubs blobstorage docs update (#7216)
YijunXieMS Sep 12, 2019
fdf78d5
fixed certificates 4.0.0b3 changelog (#7214)
iscai-msft Sep 12, 2019
58e3bf1
[cognitive-services] cog services devtools test framework (#7087)
kristapratico Sep 12, 2019
1caeded
Key Vault: reworked certificates samples, all passing (#7225)
iscai-msft Sep 12, 2019
3a97e09
adding azure-eventhubs to the exception list. should result in what w…
scbedd Sep 12, 2019
977cbda
add ability to specify job timeout (#7237)
danieljurek Sep 12, 2019
56c39bb
Cosmos Pipeline Refactor (#7227)
danieljurek Sep 12, 2019
54c452f
Fix spelling mistakes in cosmos_db.py (#6980)
James-DBA-Anderson Sep 12, 2019
71c31c4
Fix doc link (#6458)
jongio Sep 12, 2019
d1cf7e2
class links with extra text need :class: (#7215)
bryevdv Sep 12, 2019
16fca20
Key Vault: added certificate rst files to sphinx doc (#7248)
iscai-msft Sep 12, 2019
d73d926
Address nspkg Failures (#7243)
scbedd Sep 12, 2019
a1c2a91
Update Dependency Script to Key of Package Name for SDIST, update ove…
scbedd Sep 13, 2019
71e62fa
Un-use deprecated method in devtools (#7222)
Sep 13, 2019
2a0c6c3
[AutoPR compute/resource-manager] added missing packages to compute r…
AutorestCI Sep 16, 2019
fa91e4e
Fix error creating EnvironmentCredential with username/password (#7260)
chlowell Sep 16, 2019
5038f0b
update sphinx sources for certificates (#7290)
scbedd Sep 16, 2019
e461f03
Resolve faulty package filter when building for release (#7297)
scbedd Sep 16, 2019
ededddf
Read env variables and not settings if available (#7101)
lmazuel Sep 16, 2019
225f0e3
update requirements versions and fix breaks
danieljurek Sep 13, 2019
d2c001e
update to September 2019 release
danieljurek Sep 13, 2019
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
Prev Previous commit
Next Next commit
Cosmos Pipeline Refactor (#7227)
* 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
danieljurek authored Sep 12, 2019
commit 56c39bbf2cbac41e892db1bac6d604b84d3b9675
5 changes: 4 additions & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ parameters:
MaxParallel: 0
BeforeTestSteps: []
BuildTargetingString: 'azure-*'
TestMarkArgument: ''
Matrix:
Linux_Python35:
OSName: 'Linux'
Expand All @@ -22,6 +23,7 @@ jobs:
- job: 'Test'
variables:
skipComponentGovernanceDetection: true
CoverageArg: --disablecov

timeoutInMinutes: 120
strategy:
Expand All @@ -37,9 +39,10 @@ jobs:
parameters:
BuildTargetingString: ${{ parameters.BuildTargetingString }}
ServiceDirectory: ${{ parameters.ServiceDirectory }}
CoverageArg: '--disablecov'
CoverageArg: $(CoverageArg)
EnvVars: ${{ parameters.EnvVars }}
BeforeTestSteps: ${{ parameters.BeforeTestSteps }}
PythonVersion: $(PythonVersion)
OSName: $(OSName)
ToxTestEnv: "whl"
TestMarkArgument: ${{ parameters.TestMarkArgument }}
44 changes: 44 additions & 0 deletions eng/pipelines/templates/stages/cosmos-sdk-client.yml
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'
105 changes: 0 additions & 105 deletions sdk/cosmos/.azure-pipelines/cosmos.live.yml

This file was deleted.

103 changes: 0 additions & 103 deletions sdk/cosmos/.azure-pipelines/cosmos.test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos/test/globaldb_mock_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from azure.cosmos import _retry_utility
import test_config

pytestmark = pytest.mark.cosmosEmulator
pytestmark = [pytest.mark.cosmosEmulator, pytest.mark.globaldb]

location_changed = False

Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos/test/globaldb_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from azure.cosmos.http_constants import HttpHeaders, StatusCodes, SubStatusCodes
import test_config

pytestmark = pytest.mark.cosmosEmulator
pytestmark = [pytest.mark.cosmosEmulator, pytest.mark.globaldb]

#IMPORTANT NOTES:

Expand Down
12 changes: 9 additions & 3 deletions sdk/cosmos/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
include:
Expand All @@ -21,8 +28,7 @@ pr:
include:
- sdk/cosmos/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
stages:
- template: ../../eng/pipelines/templates/stages/cosmos-sdk-client.yml
parameters:
ServiceDirectory: cosmos
TestMarkArgument: not cosmosEmulator
28 changes: 28 additions & 0 deletions sdk/cosmos/tests.yml
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)