-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 add_sample_check * 'master' of https://github.com/Azure/azure-sdk-for-python: (388 commits) [text analytics] add normalized_text (#17074) Renaming with_token identity function (#17066) Adapt to azure core's cloud event (#17063) align perf tests with js (#17069) [Perfstress][Storage] Added FileShare perf tests (#15834) [formrecognizer] Adding custom forms perf test (#16969) Fix LanguageShort typo (#17068) sas creds updates (#17065) [eventgrid] Fix Sample eh (#17064) [Perfstress][Storage] Added Datalake perf tests (#15861) [text analytics] Healthcare n-ary relations (#16997) ServiceBus dict-representation acceptance and kwarg-update functionality (#14807) [text analytics] add perf tests (#17060) Add cloud event to core (#16800) [Perf] Small fixes to storage-blob (#17055) [EG] Regenerate Code (#17053) Scrub batch shared keys (#17030) [Tables] Add SAS to tables (#16717) T2 containerservice 2021 03 03 (#17050) Addressing issues with CredScan (#16944) ...
- Loading branch information
Showing
5,447 changed files
with
1,171,510 additions
and
343,190 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,35 @@ | ||
# DO NOT EDIT THIS FILE | ||
# This file is generated automatically and any changes will be lost. | ||
|
||
trigger: | ||
branches: | ||
include: | ||
- master | ||
- main | ||
- hotfix/* | ||
- release/* | ||
- restapi* | ||
paths: | ||
include: | ||
- sdk/MyService/ | ||
|
||
pr: | ||
branches: | ||
include: | ||
- master | ||
- main | ||
- 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
Oops, something went wrong.