Azure / azure-cli

Azure Command-Line Interface
MIT License
3.92k stars 2.89k forks source link

Implement a command to list Deployment Groups and Targets for each one #21606

Open adamency opened 2 years ago

adamency commented 2 years ago

AFAIK there's currently no way to retrieve the deployment groups within a Project (accessible from the project page >> Pipelines >> Deployment Groups) nor the list of targets for a given deployment group.

az pipelines dg list --org https://dev.azure.com/<organization> -p <project>
az pipelines dg list-targets --org https://dev.azure.com/<organization> -p <project> --dg-name <deployment group name>

Even better would be to be able to manage deployment groups from az, like create/delete a deployment group, add/remove a target to a deployment group, etc... but I guess this takes much more work.

SaurabhSharma-MSFT commented 2 years ago

@adamency Thanks for your feedback. Redirecting it to respective team.

ghost commented 2 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @v-anvashist, @V-hmusukula.

Issue Details
AFAIK there's currently no way to retrieve the deployment groups within a Project (accessible from the *project page >> Pipelines >> Deployment Groups*) nor the list of targets for a given deployment group. - Implement a command to list all deployment groups from a project, e.g.: ``` az pipelines dg list --org https://dev.azure.com/ -p ``` - Implement a comand to show targets for a deployment group, e.g.: ``` az pipelines dg list-targets --org https://dev.azure.com/ -p --dg-name ``` Even better would be to be able to manage deployment groups from `az`, like create/delete a deployment group, add/remove a target to a deployment group, etc... but I guess this takes much more work.
Author: adamency
Assignees: -
Labels: `Service Attention`, `customer-reported`, `DevOps`, `Pipelines`, `feature-request`, `Auto-Assign`
Milestone: -
yonzhan commented 2 years ago

route to service team

devops-hacks commented 2 years ago

thumbs-up - need that one too

adamency commented 2 years ago

@devops-hacks Consider thumbing up the OP, it's what is actually used to prioritize feature requests :)