Description
Add a way to wait for service update result
I think this is useful for Continous Deployment tools
Today we have to query service api to get the "UpdateStatus" info waiting for result
Steps to reproduce the issue:
- docker service update --image myimage:version my_service
Describe the results you received:
my_service (code 0) in a second
Describe the results you expected:
With a new flag, wait for end of update and return status of update or RC like
0 : completed
1 : paused
2: rolledback
Description
Add a way to wait for service update result
I think this is useful for Continous Deployment tools
Today we have to query service api to get the "UpdateStatus" info waiting for result
Steps to reproduce the issue:
Describe the results you received:
my_service (code 0) in a second
Describe the results you expected:
With a new flag, wait for end of update and return status of update or RC like
0 : completed
1 : paused
2: rolledback