OctopusDeploy / cli

| Public | Next Generation of the Octopus CLI :octopus:
Other
33 stars 10 forks source link

Feature: Deployment/Environment subcommand similar to legacy "list-latestdeployments" #305

Open conor-naranjo opened 9 months ago

conor-naranjo commented 9 months ago

The bug

There currently appears to be no way to query what release is currently deployed to a given environment via the new CLI.

Command to reproduce

Looking for a way to achieve a similar behavior to: https://octopus.com/docs/octopus-rest-api/octopus-cli/list-latestdeployments

Outcome

N/A

Versions

cli: 1.7.1

Octopus Server: 2023.4

Links

couperyork commented 7 months ago

This would be useful to have this feature back.

justin-newman commented 5 months ago

I would also like to see this in the new CLI. I use this all the time to create changelog links based on the latest production release that was deployed, but right now I can only get the latest release and I wouldn't want to use that to compare code until it has actually gone up to prod.

tscamell commented 1 week ago

We are also being blocked from migrating off of the old CLI by lack of ability to perform this task in the new CLI.

We use it to identify changes between environments that then outputs a list of deployments that need to be promoted.

Alas, for now, octo CLI will have to live on!

Is it possible to get this feature request added to the roadmap, please?

rayterrill commented 2 days ago

We also would like to see this added.