Skip to content

Commit

Permalink
Update CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
bgklein committed Jun 15, 2020
1 parent 1a5dcad commit 6855900
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 15,528 deletions.
2 changes: 1 addition & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SDK Release History
===================

8.0.0 (2020-04-??)
8.0.0 (2020-06-15)
------------------

* Update to match latest Python SDK taking associated breaking changes.
Expand Down
6 changes: 1 addition & 5 deletions azext/batch/_file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,7 @@ def resolve_resource_file(self, resource_file):
blobs = self.list_container_contents(resource_file.source, container, storage_client)
return convert_blobs_to_resource_files(blobs, resource_file)
if resource_file.source.container_url:
# Input data storage in arbitrary container
uri = urlsplit(resource_file.source.container_url)
container = uri.pathname.split('/')[1]
blobs = self.list_container_contents(resource_file.source, container, storage_client)
return convert_blobs_to_resource_files(blobs, resource_file)
return resource_file.source.container_url
if resource_file.source.url:
# TODO: Input data from an arbitrary HTTP GET source
raise ValueError('Not implemented')
Expand Down
2 changes: 1 addition & 1 deletion azext/batch/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

VERSION = "8.0.0"
VERSION = "9.0.0"
2 changes: 1 addition & 1 deletion batch-cli-extensions/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Release History
===============

6.0.0 (2020-04-??)
5.0.2 (2020-06-15)
------------------

* Update SDK dependency to get latest models and defaults
Expand Down
2 changes: 1 addition & 1 deletion batch-cli-extensions/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
]

DEPENDENCIES = [
'azure-batch-extensions>=8.0.0,<8.1',
'azure-batch-extensions>=9.0.0,<9.1',
'pycparser==2.18'
]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
DEPENDENCIES = [
'msrestazure>=0.4.14,<1',
'azure-batch>=9.0,<10',
'azure-mgmt-batch>=7.0,<8',
'azure-mgmt-batch>=9.0,<10',
'azure-storage-blob>=1.1.0,<2',
'azure-mgmt-storage>=2.0,<3'
]
Expand Down
14,951 changes: 0 additions & 14,951 deletions tests/recordings/test_batch_extensions_live.yaml

This file was deleted.

567 changes: 0 additions & 567 deletions tests/recordings/test_batch_upload_live.yaml

This file was deleted.

0 comments on commit 6855900

Please sign in to comment.