Skip to content
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
4 changes: 4 additions & 0 deletions src/acrtransfer/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Release History
===============
1.1.1b1
+++++++
* Add: Breaking change announcement for new required parameter --storage-access-mode for acr export-pipeline create and acr import-pipeline create commands.

1.1.0
++++++
* Add: New command acr pipeline-run clean - Bulk deletes failed pipeline-runs.
Expand Down
1 change: 1 addition & 0 deletions src/acrtransfer/azext_acrtransfer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from azure.cli.core import AzCommandsLoader
from azext_acrtransfer._help import helps # pylint: disable=unused-import
import azext_acrtransfer._breaking_change # pylint: disable=unused-import


class AcrtransferCommandsLoader(AzCommandsLoader):
Expand Down
17 changes: 17 additions & 0 deletions src/acrtransfer/azext_acrtransfer/_breaking_change.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from azure.cli.core.breaking_change import register_logic_breaking_change

register_logic_breaking_change('acr export-pipeline create', 'Add required parameter --storage-access-mode',
detail='A new required parameter `--storage-access-mode` will be added. '
'Allowed values: `entra-mi-auth`, `storage-sas-token`.',
doc_link="https://aka.ms/acr/transfer")


register_logic_breaking_change('acr import-pipeline create', 'Add required parameter --storage-access-mode',
detail='A new required parameter `--storage-access-mode` will be added. '
'Allowed values: `entra-mi-auth`, `storage-sas-token`.',
doc_link="https://aka.ms/acr/transfer")

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer


class AcrTransferScenarioTest(ScenarioTest):
@ResourceGroupPreparer()
def test_acrtransfer_import_pipeline_list(self, resource_group):
"""Test listing import pipelines"""
self.kwargs.update({
'registry_name': self.create_random_name('acr', 20),
'rg': resource_group,
'location': 'eastus',
'sku': 'Premium'
})

self.cmd('acr create -n {registry_name} -g {rg} -l {location} --sku {sku}', checks=[
self.check('name', '{registry_name}'),
self.check('location', '{location}'),
self.check('sku.name', '{sku}')
])

self.cmd('acr import-pipeline list -r {registry_name} -g {rg}', checks=[
self.check('length(@)', 0)
])
self.cmd('acr delete -n {registry_name} -g {rg} -y')

2 changes: 1 addition & 1 deletion src/acrtransfer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
logger.warn("Wheel is not available, disabling bdist_wheel hook")

# HISTORY.rst entry.
VERSION = '1.1.0'
VERSION = '1.1.1b1'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down
Loading