{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarmkit/issues/1204","repository_url":"https://api.github.com/repos/docker/swarmkit","labels_url":"https://api.github.com/repos/docker/swarmkit/issues/1204/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarmkit/issues/1204/comments","events_url":"https://api.github.com/repos/docker/swarmkit/issues/1204/events","html_url":"https://github.com/docker/swarmkit/pull/1204","id":166897963,"number":1204,"title":"Option for rolling updates not to proceed on failure","user":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarmkit/labels/status/0-triage","name":"status/0-triage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-21T19:24:42Z","updated_at":"2016-07-22T18:00:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/swarmkit/pulls/1204","html_url":"https://github.com/docker/swarmkit/pull/1204","diff_url":"https://github.com/docker/swarmkit/pull/1204.diff","patch_url":"https://github.com/docker/swarmkit/pull/1204.patch"},"body":"Add an enum to UpdateConfig that controls whether the update proceeds or pauses on a failure. This will be extended to support additional settings and modes in the future, such as failure thresholds and automatic rollback.\r\n\r\nAdd UpdateStatus to the Service object. This contains the state that keeps track of whether the update is running, finished, or paused. It also contains a human-readable message about the update status.\r\n\r\nChange the updater to pause the update if FailureAction is set to pause, and a task started by the updater stops running or fails to start while the update is happening.\r\n\r\nUpdate swarmctl to support a new option to control the action on update failure, and to print out the update state in \"service inspect\".\r\n\r\nAdd an updater test covering both modes."},"comment":{"url":"https://api.github.com/repos/docker/swarmkit/issues/comments/234613201","html_url":"https://github.com/docker/swarmkit/pull/1204#issuecomment-234613201","issue_url":"https://api.github.com/repos/docker/swarmkit/issues/1204","id":234613201,"user":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T18:00:56Z","updated_at":"2016-07-22T18:00:56Z","body":"Addressed comments. PTAL."}}
{"actor":{"display_login":"aaronlehmann"}}