-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[cli] graceful stop should work with any system state #4063
Conversation
- RUNNING -> call stop and wait for system to be in READY_TO_SHUTDOWN state - READY_TO_SHUTDOWN -> do nothing(maybe print something useful) - ANY_OTHER_STATE -> wait for system to be in READY_TO_SHUTDOWN state Change-Id: I55a8b5ecb2b016d31dbbd95b8793af4952d8116b Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approval of changelog and release notes.
@JamesDrummond - on anything related to CLI, you can skip over. I'll be responsible for changelog and release notes. @benoitf - do you have some various sample outputs that you can share? I think we need to update the release notes to be more explanatory. They need full paragraphs and maybe an example or two. |
Build # 1912 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/1912/ to view the results. |
@TylerJewell well the output is the same in all cases. It's just that now we handle cases where remote system is not in running state. But for 99% of ppl there is also no change as it's the default case. Other cases only happen if rest API is called by something else than cli |
eclipse-che#4063) - RUNNING -> call stop and wait for system to be in READY_TO_SHUTDOWN state - READY_TO_SHUTDOWN -> do nothing(maybe print something useful) - ANY_OTHER_STATE -> wait for system to be in READY_TO_SHUTDOWN state Change-Id: I55a8b5ecb2b016d31dbbd95b8793af4952d8116b Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
What does this PR do?
cli graceful stop should work with any system state
until now it was expecting remote state was RUNNING.
Now if state is:
What issues does this PR fix or reference?
#3988
Changelog
[cli] graceful stop work with any remote system state
Release Notes
N/A
Docs PR
N/A
Change-Id: I55a8b5ecb2b016d31dbbd95b8793af4952d8116b
Signed-off-by: Florent BENOIT fbenoit@codenvy.com