Question

How to get deployment status via doctl

Hi, according to the documentation, the get-deployment command doesn’t contain any status field. https://docs.digitalocean.com/reference/doctl/reference/apps/get-deployment/

I can see a progress field, but, for example, when I cancelled the deployment, this got stuck and didn’t move past 2/10. I am using CI to display the deployment status using this command, but how do I know when is it finished and I can stop fetching the results?

I’d expect something like a STATUS field which reads something like “in progress”, “finished”, “cancelled”, “error”


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
November 9, 2023

Hey @fantiago,

I believe that this is not possible with doctl as of the time being, but indeed, this sounds like a great idea, it’d be super useful!

The best thing to do to get your voice heard regarding this would be to head over to the doctl GitHub repository and post a new feature request, including as much information as possible for what you’d like to see implemented:

https://github.com/digitalocean/doctl

Feel free to share a link here to your GitHub feature request once created.

Hope that helps!

- Bobby.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel