forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-python …
…into new_polling * 'master' of https://github.com/Azure/azure-sdk-for-python: (250 commits) Converting to pure unit tests (Azure#16499) Fix replace keys for nested json (Azure#16557) update release date (Azure#16543) Feature/communication chat preview3 new model (Azure#16561) [text analytics] Exposed the length property in classes impacted by `string_index_type` (Azure#16538) [textanalytics] add :keyword: to docstrings for TextDocumentInput and DetectLanguageInput (Azure#16542) [SB] combine conn str parser logic in base handler and _common (Azure#16464) [text analytics] add analyze readme bullet point (Azure#16552) resolve issues with failing search documents on mindependency checks (Azure#16553) [text analytics] analyze changes (Azure#16418) [Core] Added enum meta class (Azure#16316) Adding missing supported fields to invoice sample (Azure#16547) Update EventHub ci.yml to skip unsupported pypy3 (Azure#16545) patching the publishing of artifacts only on successful run (Azure#16539) need to bump msrest up one (Azure#16544) [EventHub&ServiceBUs] Update readme pointing to uamqp installation guidance (added alpine installation) (Azure#16515) add dotenv as a dep for azure-sdk-tools (Azure#16532) skip prebuilt from_url tests for now (Azure#16534) Latest/Minimum filter retrieved packages by pyVersion compatibility (Azure#16510) CertificateCredential accepts certs as bytes (Azure#16410) ...
- Loading branch information
Showing
3,351 changed files
with
1,040,387 additions
and
207,568 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,11 @@ omit = | |
*/test* | ||
env* | ||
|
||
[paths] | ||
source = | ||
sdk/ | ||
**/sdk | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
|
Validating CODEOWNERS rules …
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 |
---|---|---|
|
@@ -33,6 +33,7 @@ build/ | |
|
||
# Test results | ||
TestResults/ | ||
ENV_DIR/ | ||
|
||
# tox generated artifacts | ||
test-junit-*.xml | ||
|
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,33 @@ | ||
# DO NOT EDIT THIS FILE | ||
# This file is generated automatically and any changes will be lost. | ||
|
||
trigger: | ||
branches: | ||
include: | ||
- master | ||
- hotfix/* | ||
- release/* | ||
- restapi* | ||
paths: | ||
include: | ||
- sdk/MyService/ | ||
|
||
pr: | ||
branches: | ||
include: | ||
- master | ||
- feature/* | ||
- hotfix/* | ||
- release/* | ||
- restapi* | ||
paths: | ||
include: | ||
- sdk/MyService/ | ||
|
||
extends: | ||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml | ||
parameters: | ||
ServiceDirectory: MyService | ||
Artifacts: | ||
- name: azure_mgmt_MyService | ||
safeName: azuremgmtMyService |
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,8 @@ | ||
azure-core>=0.0.0b1 | ||
azure-identity>=0.0.0b1 | ||
azure-cosmos>=4.0.0b5 | ||
azure-eventhub>=0.0.0b1 | ||
azure-keyvault-certificates>=0.0.0b1 | ||
azure-keyvault-keys>=0.0.0b1 | ||
azure-keyvault-secrets>=0.0.0b1 | ||
azure-storage-blob>=0.0.0b1 |
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 |
---|---|---|
@@ -1,123 +1,4 @@ | ||
variables: | ||
InstallAsyncRequirements: true | ||
|
||
jobs: | ||
- job: | ||
strategy: | ||
matrix: | ||
Python_27_Linux (AzureCloud): | ||
PythonVersion: '2.7' | ||
InstallAsyncRequirements: false | ||
OSVmImage: ubuntu-18.04 | ||
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) | ||
ArmTemplateParameters: $(azureCloudArmParameters) | ||
Python_37_Linux (AzureCloud): | ||
PythonVersion: '3.7' | ||
OSVmImage: ubuntu-18.04 | ||
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) | ||
ArmTemplateParameters: $(azureCloudArmParameters) | ||
Python_38_Linux (AzureCloud): | ||
PythonVersion: '3.8' | ||
OSVmImage: ubuntu-18.04 | ||
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) | ||
ArmTemplateParameters: $(azureCloudArmParameters) | ||
Python_38_Linux (AzureCloud Canary): | ||
PythonVersion: '3.8' | ||
OSVmImage: ubuntu-18.04 | ||
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview) | ||
ArmTemplateParameters: $(azureCloudArmParameters) | ||
Location: 'eastus2euap' | ||
Python_37_Windows (AzureCloud): | ||
PythonVersion: '3.7' | ||
OSVmImage: windows-2019 | ||
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) | ||
ArmTemplateParameters: $(azureCloudArmParameters) | ||
Python_38_Windows (AzureCloud): | ||
PythonVersion: '3.8' | ||
OSVmImage: windows-2019 | ||
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) | ||
ArmTemplateParameters: $(azureCloudArmParameters) | ||
Python_37_Mac (AzureCloud): | ||
PythonVersion: '3.7' | ||
OSVmImage: macOS-10.15 | ||
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) | ||
ArmTemplateParameters: $(azureCloudArmParameters) | ||
Python_38_Mac (AzureCloud): | ||
PythonVersion: '3.8' | ||
OSVmImage: macOS-10.15 | ||
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) | ||
ArmTemplateParameters: $(azureCloudArmParameters) | ||
Python_38_Linux (AzureUSGovernment): | ||
PythonVersion: '3.8' | ||
OSVmImage: ubuntu-18.04 | ||
SubscriptionConfiguration: $(sub-config-gov-test-resources) | ||
ArmTemplateParameters: $(azureUSGovernmentArmParameters) | ||
Python_37_Windows (AzureUSGovernment): | ||
PythonVersion: '3.7' | ||
OSVmImage: windows-2019 | ||
SubscriptionConfiguration: $(sub-config-gov-test-resources) | ||
ArmTemplateParameters: $(azureUSGovernmentArmParameters) | ||
Python_38_Linux (AzureChinaCloud): | ||
PythonVersion: '3.8' | ||
OSVmImage: ubuntu-18.04 | ||
SubscriptionConfiguration: $(sub-config-cn-test-resources) | ||
Location: 'chinanorth' | ||
ArmTemplateParameters: $(azureChinaCloudArmParameters) | ||
Python_37_Windows (AzureChinaCloud): | ||
PythonVersion: '3.7' | ||
OSVmImage: windows-2019 | ||
SubscriptionConfiguration: $(sub-config-cn-test-resources) | ||
Location: 'chinanorth' | ||
ArmTemplateParameters: $(azureChinaCloudArmParameters) | ||
|
||
pool: | ||
vmImage: $(OSVmImage) | ||
|
||
variables: | ||
Location: '' | ||
azureCloudArmParameters: "@{ storageEndpointSuffix = 'core.windows.net'; azureCloud = 'AzureCloud'; }" | ||
azureUSGovernmentArmParameters: "@{ storageEndpointSuffix = 'core.usgovcloudapi.net'; azureCloud = 'AzureUSGovernment'; }" | ||
azureChinaCloudArmParameters: "@{ storageEndpointSuffix = 'core.chinacloudapi.cn'; azureCloud = 'AzureChinaCloud'; }" | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
displayName: "Use Python $(PythonVersion)" | ||
inputs: | ||
versionSpec: $(PythonVersion) | ||
|
||
- script: | | ||
python -m pip install pip==20.0.2 | ||
pip --version | ||
displayName: pip --version | ||
- script: pip install -r ./common/smoketest/requirements.txt --pre --no-deps --index-url https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple | ||
displayName: Install requirements from dev feed without dependencies | ||
|
||
- script: pip install -r ./common/smoketest/requirements_async.txt | ||
displayName: "Install requirements_async.txt" | ||
condition: and(succeeded(), eq(variables['InstallAsyncRequirements'], 'true')) | ||
|
||
- script: python ./common/smoketest/dependencies.py -r ./common/smoketest/requirements.txt | tee ./common/smoketest/requirements_dependencies.txt | ||
displayName: Create dependency list from installed dev packages | ||
|
||
- script: pip install -r ./common/smoketest/requirements_dependencies.txt | ||
displayName: Install dev package dependencies from PyPI | ||
|
||
- script: pip freeze | ||
displayName: Show installed packages (pip freeze) | ||
|
||
- template: /eng/common/TestResources/deploy-test-resources.yml | ||
parameters: | ||
ServiceDirectory: '$(Build.SourcesDirectory)/common/smoketest/' | ||
SubscriptionConfiguration: $(SubscriptionConfiguration) | ||
Location: $(Location) | ||
ArmTemplateParameters: $(ArmTemplateParameters) | ||
|
||
- script: python ./common/smoketest/program.py | ||
displayName: Run Smoke Test | ||
|
||
- template: /eng/common/TestResources/remove-test-resources.yml | ||
parameters: | ||
ServiceDirectory: '$(Build.SourcesDirectory)/common/smoketest/' | ||
SubscriptionConfiguration: $(SubscriptionConfiguration) | ||
|
||
- template: /eng/pipelines/templates/jobs/smoke-test.yml | ||
parameters: | ||
Daily: true |
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
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
Oops, something went wrong.