Azure / Azure/azure-cli

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

Open
#21,606 5 comments 5 reactions 0 assignees View on GitHub
act-platform-engineering-squad Auto-Assign customer-reported DevOps feature-request Pipelines Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

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 command 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.