[
https://issues.apache.org/jira/browse/AURORA-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14491075#comment-14491075
]
Bill Farner commented on AURORA-1239:
-------------------------------------
That may be useful as well. I do like the idea of a separate watch command
since it can play nicely with the list. This would make it possible to watch
an update that you didn't start.
> Add a way to watch a scheduler-driven update until it's complete
> ----------------------------------------------------------------
>
> Key: AURORA-1239
> URL: https://issues.apache.org/jira/browse/AURORA-1239
> Project: Aurora
> Issue Type: Task
> Components: Client
> Reporter: Joshua Cohen
>
> It would be nice for scripts that coordinate updates to have the ability to
> watch a scheduler-driven update until it has completed. This is currently
> possible by scripting the client, e.g.
> https://github.com/apache/aurora/blob/master/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh#L149-L166,
> however given this is likely a common requirement, we should encapsulate
> this functionality within the client itself.
> Two suggestions are adding {{aurora update watch ...}} or {{aurora update
> status --watch ...}}.
> The command should periodically poll the scheduler for the status of the
> update and exit 0 for successful updates and 1 for failed updates.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)