-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get deployment status via doctl #1460
Comments
Hi there, Thank you for the suggestion and write up. Just to make sure I understand your use case correctly; currently
You're saying that the progress field with "6/7" could mean a lot of things (i.e. is the deployment still in progress? is it cancelled and stoped at 6th step? etc.) And it'd be more clear if there was also a
Did I understand you correctly? |
Yes, spot on! I could utilise x/x as finished deployment, but I still won't be sure - was it successful, has it failed? |
Awesome, this will be straight forward to implemment since the API does support a I've added a ticket in our backlog to prioritize as soon as we can. If you'd like to take a crack it, we're more than happy to review your PR ✅ |
What is the problem this feature would solve? Please describe.
According to the documentation, the
get-deployment
command doesn’t contain any status field.I can see a progress field, but, for example, when I cancelled the deployment, this got stuck and didn’t move past 2/10.
Describe the solution you'd like
To provide a
status
field alongside the existing fields, so I know my deployment is still in progress, or is finished and I won't receive other updates. Consider the scenario above, when it got stuck at progress 2/10.Additional context
I am using CI to trigger a deploy and display the deployment status using this
get-deployment
command, but how do I know when is it finished and I can stop fetching the deployment info?The text was updated successfully, but these errors were encountered: