Skip to content

Commit

Permalink
[image-copy] update to version 0.2.1 (#669)
Browse files Browse the repository at this point in the history
* [image-copy] update to version 0.2.0

* [image-copy] update index for version 0.2.0

* switch to 2019-04-01 api version and enable windows agent pool (#612)

* fixing az support for agent pools and mc

* vendor in 2019-04-01 SDK

* enableing windows profile

* merge the latest official SDK

* add secure prompt for windows admin password

* fixing warnings

* Policies should be global, remove location parameter and default it (#620)

* bug fixes: missing service principal and network profile parameter validation (#626)

* Pin max CLI version. (#630)

* Update front door index to 0.1.5 (#632)

* Fixes #629. (#631)

* Update index.json. (#640)

* Add new version of aks-preview in index.json (#634)

* Azure Event Grid 0.4.1 (#633)

* Azure Event Grid 0.4.1

* fix white space

* fix style issues

* style fixes

* style comment spaces fixes

* more style fixes

* mossing hesder

* Address CR comment

* move json generated SDK files to vendored_sdks folder and update related imports

* revert index changes until we publish final extension

* Address CR comments by removing unnecessary parameters

* Fix style

* update index.json file

* fix index.json after running azdev extension update-index

* fix index.json after running azdev extension update-index

* add missing __init__.py

* fix init files

* fix new line in init files

* update location of vendored_sdks and update index.json

* fix help errors and update index.json file accordingly

* [aks-preview]: fix python3-only super() syntax (#641)

* [storage-preview] release azcopy 10.0.9 (#639)

* [storage-preview] release azcopy 10.0.9

* Fix indent

* [storage-preview] pulish 0.2.4 (#642)

* App Insights control plane (#600)

* Remove 'preview' from Dev Spaces (#638)

* Update PULL_REQUEST_TEMPLATE.md (#645)

Refer to azdev.

* setting default vm size for windows (#637)

* SQL: make "up" command work end to end (#644)

* Update requirements.txt

Bump for Jinja security vulnerability

* Update to RP standard release 3.5 (#29) (#627)

* NFSAAS-2102 update to R3.5 (#29)

* Nfsaas 2102 update to r3 5 (#30)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* Nfsaas 2102 update to r3 5 (#31)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* NFSAAS-2102 update to R3.5 RP standard

* Nfsaas 2102 update to r3 5 (#32)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* Nfsaas 2102 update to r3 5 (#33)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* Nfsaas 2102 update to r3 5 (#34)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* Nfsaas 2102 update to r3 5 (#35)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* Nfsaas 2102 update to r3 5 (#36)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* Nfsaas 2102 update to r3 5 (#37)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* Nfsaas 2102 update to r3 5 (#38)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* Nfsaas 2102 update to r3 5 (#39)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* Nfsaas 2102 update to r3 5 (#40)

* NFSAAS-2102 update to R3.5

* NFSAAS-2102 update to RP R3.5 standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* NFSAAS-2102 update to R3.5 RP standard

* Merge azure master back to fork. (#41)

* Add new version of aks-preview in index.json (#634)

* Azure Event Grid 0.4.1 (#633)

* Azure Event Grid 0.4.1

* fix white space

* fix style issues

* style fixes

* style comment spaces fixes

* more style fixes

* mossing hesder

* Address CR comment

* move json generated SDK files to vendored_sdks folder and update related imports

* revert index changes until we publish final extension

* Address CR comments by removing unnecessary parameters

* Fix style

* update index.json file

* fix index.json after running azdev extension update-index

* fix index.json after running azdev extension update-index

* add missing __init__.py

* fix init files

* fix new line in init files

* update location of vendored_sdks and update index.json

* fix help errors and update index.json file accordingly

* [aks-preview]: fix python3-only super() syntax (#641)

* [storage-preview] release azcopy 10.0.9 (#639)

* [storage-preview] release azcopy 10.0.9

* Fix indent

* [storage-preview] pulish 0.2.4 (#642)

* App Insights control plane (#600)

* Remove 'preview' from Dev Spaces (#638)

* Update PULL_REQUEST_TEMPLATE.md (#645)

Refer to azdev.

* setting default vm size for windows (#637)

* SQL: make "up" command work end to end (#644)

* Update requirements.txt

Bump for Jinja security vulnerability

* Update readme to reflect the latest SQL DB status

* SQL up: update a typo

* Update index.json for backwards compatability for Dev Spaces (#648)

* update index.json for backwards compatability

* fix maxCliVersion for dev-spaces-preview

* revert dev-spaces minCliCoreVersion

* update metadata for dev-spaces and dev-spaces-preview

* update metadata for dev-spaces and dev-spaces-preview

* sync workspaces

* 0.5.0 release for Azure DevOps (#653)

* [AKS]customizing node resource group (#636)

* customizing node resource group

* make 2.0 and 3.0 python work

* add index

* Onboard Azure Machine Learning Service CLI (#655)

* [storage-preview] pulish 0.2.5 (#657)

* [AKS] Add Azure policy addon (#651)

* Add the Azure Policy Addon Support

* Add azure-policy addon

* Allow azure-policy addon in create

* Update the index

* Add the missing parameter description

* 0.6.0 release for Azure DevOps (#660)

* Upgrade AppConfig extension version from 0.4.0 to 0.5.0 (#661)

* Upgrade AppConfig extension verstion from 0.4.0 to 0.5.0

* format downloadUrl

* update wheel version to 0.30.0

* Update service principal secret for windows nodes (#662)

* Release storage-preview 0.2.5 (#663)

* Remove extra + (#664)

* 0.7.0 release for Azure DevOps (#666)

* 0.7.0 release for Azure DevOps

* update sha

* fix

* remove botservice from index.json (#667)

* [image-copy] fix temp_rg default valuet
  • Loading branch information
tamirkamara authored and tjprescott committed May 7, 2019
1 parent aa0b237 commit 5709e08
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
6 changes: 4 additions & 2 deletions src/image-copy/azext_imagecopy/create_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@

import datetime
import time
from azext_imagecopy.cli_utils import run_cli_command, prepare_cli_command
from knack.util import CLIError

from knack.util import CLIError
from knack.log import get_logger

from azext_imagecopy.cli_utils import run_cli_command, prepare_cli_command

logger = get_logger(__name__)

STORAGE_ACCOUNT_NAME_LENGTH = 24
Expand Down
15 changes: 8 additions & 7 deletions src/image-copy/azext_imagecopy/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@

from multiprocessing import Pool

from knack.util import CLIError
from knack.log import get_logger

from azext_imagecopy.cli_utils import run_cli_command, prepare_cli_command
from azext_imagecopy.create_target import create_target_image

from knack.util import CLIError
from knack.log import get_logger
logger = get_logger(__name__)


# pylint: disable=too-many-statements
# pylint: disable=too-many-locals
def imagecopy(source_resource_group_name, source_object_name, target_location,
target_resource_group_name, temporary_resource_group_name, source_type='image',
cleanup='false', parallel_degree=-1, tags=None, target_name=None,
target_resource_group_name, temporary_resource_group_name='image-copy-rg',
source_type='image', cleanup='false', parallel_degree=-1, tags=None, target_name=None,
target_subscription=None, export_as_snapshot='false', timeout=3600):

# get the os disk id from source vm/image
Expand Down Expand Up @@ -82,10 +83,10 @@ def imagecopy(source_resource_group_name, source_object_name, target_location,

# Get SAS URL for the snapshotName
logger.warn(
"Getting sas url for the source snapshot with timeout seconds: %d", timeout)
"Getting sas url for the source snapshot with timeout: %d seconds", timeout)
if timeout < 3600:
logger.warn("Timeout should be greater than 3600")
raise CLIError('Inavlid Timeout')
logger.error("Timeout should be greater than 3600 seconds")
raise CLIError('Invalid Timeout')

cli_cmd = prepare_cli_command(['snapshot', 'grant-access',
'--name', source_os_disk_snapshot_name,
Expand Down
2 changes: 1 addition & 1 deletion src/image-copy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from codecs import open
from setuptools import setup, find_packages

VERSION = "0.0.9"
VERSION = "0.2.1"

CLASSIFIERS = [
'Development Status :: 4 - Beta',
Expand Down
8 changes: 4 additions & 4 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1240,8 +1240,8 @@
],
"image-copy-extension": [
{
"downloadUrl": "https://files.pythonhosted.org/packages/0b/3a/c8e02e8af6941fe55ed55d6011c15a60ba8ce3ddd52a34ae7c2c5043958f/image_copy_extension-0.0.9-py2.py3-none-any.whl",
"filename": "image_copy_extension-0.0.9-py2.py3-none-any.whl",
"downloadUrl": "https://files.pythonhosted.org/packages/d9/45/3d5b20c461392a84268a7b655ee32c98338daadc060060efeffd7ef3d76f/image_copy_extension-0.2.1-py2.py3-none-any.whl",
"filename": "image_copy_extension-0.2.1-py2.py3-none-any.whl",
"metadata": {
"azext.minCliCoreVersion": "2.0.24",
"classifiers": [
Expand Down Expand Up @@ -1279,9 +1279,9 @@
"metadata_version": "2.0",
"name": "image-copy-extension",
"summary": "Support for copying managed vm images between regions",
"version": "0.0.9"
"version": "0.2.1"
},
"sha256Digest": "7f77f6c2ba940fb64ff157555ee26cc688bd4b5f8b3b5b3fef738158a16ac7b1"
"sha256Digest": "1d9eab829c63e601fa93e616cc4e5d73946fa225aa8e5ffd84a98d11cdc4138b"
}
],
"interactive": [
Expand Down

0 comments on commit 5709e08

Please sign in to comment.