Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update azure-template #18056

Merged
merged 3 commits into from
Apr 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 4 additions & 3 deletions sdk/template/azure-template/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@
packages=find_packages(exclude=[
'tests',
# Exclude packages that will be covered by PEP420 or nspkg
# This means any folder structure that only consists of a __init__.py.
# For example, for storage, this would mean adding 'azure.storage'
# in addition to the default 'azure' that is seen here.
'azure'
]),
install_requires=[
#'msrest>=0.5.0',
#'msrestazure>=0.4.32,<2.0.0',
#'azure-common~=1.1',
'azure-core<2.0.0,>=1.10.0',
],
extras_require={
":python_version<'3.0'": ['azure-nspkg'],
Expand Down
3 changes: 2 additions & 1 deletion sdk/template/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
AllocateResourceGroup: false
BuildTargetingString: $(BuildTargetingString)
BuildTargetingString: 'azure-*'
ServiceDirectory: template
TestSamples: true
EnvVars:
TEMPLATE_CONFIG_CONNECTION: $(python-template-connection-string) # Add variables/mappings as appropriate for your service.
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)
AZURE_SUBSCRIPTION_ID: $(azure-subscription-id)
AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
TEST_MODE: 'RunLiveNoRecord' # use when allowing preparers to create the rgs for you
AZURE_TEST_RUN_LIVE: 'true' # use when utilizing the New-TestResources Script