az acr pipeline-run
Note
This reference is part of the acrtransfer extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az acr pipeline-run command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage ACR import and export pipeline-runs.
Commands
Name | Description | Type | Status |
---|---|---|---|
az acr pipeline-run clean |
Delete all failed pipeline-runs on the registry. |
Extension | Preview |
az acr pipeline-run create |
Create a pipeline-run. |
Extension | Preview |
az acr pipeline-run delete |
Delete a pipeline-run. |
Extension | Preview |
az acr pipeline-run list |
List pipeline-runs of all pipelines on a container registry. |
Extension | Preview |
az acr pipeline-run show |
Show a pipeline-run in detail. |
Extension | Preview |
az acr pipeline-run clean
Command group 'acr pipeline-run' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete all failed pipeline-runs on the registry.
az acr pipeline-run clean --registry
--resource-group
[--dry-run]
Examples
Delete all failed pipeline-runs on the registry.
az acr pipeline-run clean --resource-group $MyRG --registry $MyReg
List the failed pipeline-runs that would have been deleted, but do not delete any.
az acr pipeline-run clean --resource-group $MyRG --registry $MyReg --dry-run -o table
Required Parameters
Name of registry.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
List the failed pipeline-runs that would have been deleted, but do not delete any.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr pipeline-run create
Command group 'acr pipeline-run' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a pipeline-run.
az acr pipeline-run create --name
--pipeline
--pipeline-type
--registry
--resource-group
--storage-blob
[--artifacts]
[--force-redeploy]
Examples
Create an import pipeline-run.
az acr pipeline-run create --resource-group $MyRG --registry $MyReg --pipeline $MyPipeline --name $MyPipelineRunName --pipeline-type import --storage-blob $MyBlob
Create an export pipeline-run and force redeploy.
az acr pipeline-run create --resource-group $MyRG --registry $MyReg --pipeline $MyPipeline --name $MyPipelineRunName --pipeline-type export --storage-blob $MyBlob --artifacts hello-world:latest hello-world@sha256:90659bf80b44ce6be8234e6ff90a1ac34acbeb826903b02cfa0da11c82cbc042 --force-redeploy
Required Parameters
Name of the pipeline run.
Name of the pipeline to run.
Type of pipeline. Must be either import or export.
Name of registry.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the storage blob to be imported or exported.
Optional Parameters
Space-separated list of container artifacts. Artifacts must be either of the form repository:tag
or repository@digest
such as hello-world:latest or hello-world@sha256:90659bf80b44ce6be8234e6ff90a1ac34acbeb826903b02cfa0da11c82cbc042.
Flag that forces ARM to redeploy resource even if no parameters have changed.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr pipeline-run delete
Command group 'acr pipeline-run' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete a pipeline-run.
az acr pipeline-run delete --name
--registry
--resource-group
Examples
Delete a pipeline-run.
az acr pipeline-run delete --resource-group $MyRG --registry $MyReg --name $MyPipelineRun
Required Parameters
Name of the pipeline run.
Name of registry.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr pipeline-run list
Command group 'acr pipeline-run' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List pipeline-runs of all pipelines on a container registry.
az acr pipeline-run list --registry
--resource-group
[--top]
Examples
List all pipeline-runs on a container registry
az acr pipeline-run list --resource-group $MyRG --registry $MyReg
Required Parameters
Name of registry.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
List only the last n pipeline-runs. Must be an integer.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr pipeline-run show
Command group 'acr pipeline-run' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show a pipeline-run in detail.
az acr pipeline-run show --name
--registry
--resource-group
Examples
Show a specific pipeline-run in detail.
az acr pipeline-run show --resource-group $MyRG --registry $MyReg --name $MyPipelineRun
Required Parameters
Name of the pipeline run.
Name of registry.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.