deployster icon indicating copy to clipboard operation
deployster copied to clipboard

Add synchronous mode for starting a deploy and monitoring the status of the deploy

Open bmorton opened this issue 10 years ago • 1 comments

The asynchronous mode of deploys is good for many use-cases and makes things quite a bit simpler, but it leaves the person deploying a little unsure about what is going on. We should support both modes:

  • Trigger deploy and return immediately
  • Trigger deploy and stream as much information about the deploy back to the client

I'm not too sure which should be the default yet.

bmorton avatar Mar 14 '15 05:03 bmorton

Thinking about this more, I think keeping this as two different endpoints would be ideal. You could kick off the deploy and make a second request to follow the progress of that deploy. This would allow deployctl to support a "synchronous" mode by making both requests.

bmorton avatar Mar 21 '15 18:03 bmorton