Azure / acr

Azure Container Registry samples, troubleshooting tips and references
https://aka.ms/acr
Other
164 stars 112 forks source link

az acr task run to minimize output #279

Open SteveLasker opened 4 years ago

SteveLasker commented 4 years ago

Describe the bug running az acr task run generates a lot of debugging information. Should move this to --debug execution, or otherwise minimize the noise

To Reproduce Steps to reproduce the behavior:

az acr run -r contosobaseimages --cmd "mcr.microsoft.com/azure-cli az --version" /dev/null

generates:

Queued a run with ID: ca5
Waiting for an agent...
2019/10/08 21:56:20 Creating Docker network: acb_default_network, driver: 'bridge'
2019/10/08 21:56:20 Successfully set up Docker network: acb_default_network
2019/10/08 21:56:20 Setting up Docker configuration...
2019/10/08 21:56:21 Successfully set up Docker configuration
2019/10/08 21:56:21 Logging in to registry: contosobaseimages.azurecr.io
2019/10/08 21:56:23 Successfully logged into contosobaseimages.azurecr.io
2019/10/08 21:56:23 Executing step ID: acb_step_0. Timeout(sec): 600, Working directory: '', Network: 'acb_default_network'
2019/10/08 21:56:23 Launching container with name: acb_step_0
Unable to find image 'mcr.microsoft.com/azure-cli:latest' locally
latest: Pulling from azure-cli
Digest: sha256:1c366c415bd5b085e0e94c61bdc7abc136f5667c32c4e4c9ddab8b8b996e4a4a
Status: Downloaded newer image for mcr.microsoft.com/azure-cli:latest

Expected behavior Minimized output

2019/10/08 21:56:20 Queued a run with ID: ca5
2019/10/08 21:56:20 Waiting for an agent...
2019/10/08 21:56:23 Executing step ID: acb_step_0. Timeout(sec): 600, Working directory: '', Network: 'acb_default_network'
Unable to find image 'mcr.microsoft.com/azure-cli:latest' locally
latest: Pulling from azure-cli
Digest: sha256:1c366c415bd5b085e0e94c61bdc7abc136f5667c32c4e4c9ddab8b8b996e4a4a
Status: Downloaded newer image for mcr.microsoft.com/azure-cli:latest
github-actions[bot] commented 8 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.