{"action":"created","issue":{"url":"https://api.github.com/repos/concourse/autopilot/issues/27","repository_url":"https://api.github.com/repos/concourse/autopilot","labels_url":"https://api.github.com/repos/concourse/autopilot/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/concourse/autopilot/issues/27/comments","events_url":"https://api.github.com/repos/concourse/autopilot/issues/27/events","html_url":"https://github.com/concourse/autopilot/pull/27","id":159492924,"number":27,"title":"Add flag to stop \"venerable\" version instead of delete","user":{"login":"dan-kirberger","id":16195927,"avatar_url":"https://avatars.githubusercontent.com/u/16195927?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-kirberger","html_url":"https://github.com/dan-kirberger","followers_url":"https://api.github.com/users/dan-kirberger/followers","following_url":"https://api.github.com/users/dan-kirberger/following{/other_user}","gists_url":"https://api.github.com/users/dan-kirberger/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-kirberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-kirberger/subscriptions","organizations_url":"https://api.github.com/users/dan-kirberger/orgs","repos_url":"https://api.github.com/users/dan-kirberger/repos","events_url":"https://api.github.com/users/dan-kirberger/events{/privacy}","received_events_url":"https://api.github.com/users/dan-kirberger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concourse/autopilot/labels/unscheduled","name":"unscheduled","color":"e4eff7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-09T19:50:03Z","updated_at":"2016-06-09T19:57:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/concourse/autopilot/pulls/27","html_url":"https://github.com/concourse/autopilot/pull/27","diff_url":"https://github.com/concourse/autopilot/pull/27.diff","patch_url":"https://github.com/concourse/autopilot/pull/27.patch"},"body":"We're leaning towards using the autopilot plugin as a base for our CF app automation, instead of messing with shell scripts that parse the CLI output directly. Hopefully it is of some value to you as well, if you'll forgive my Go training wheels.\r\n\r\nTwo modifications we require are:\r\n1) Ability to leave old version of app in PCF for revert. That is covered by this change request.\r\n2) Ability to revert to the previous (\"venerable\") version of the app quickly. That is next.\r\n\r\nWith this change you can optionally stop the previous version of the app instead of deleting it. I'm working on a \"zero-downtime-rollback\" command next that will re-instate the venerable as the old version.\r\n\r\nI'm using \"stop\" (and later, \"start\") to keep the existing app config, as it was at the time the app was pushed, since we no longer have access to the version of the manifest file used to push that app - which may have changed since. I imagine the \"zero-downtime-rollback\" command will consist of something like:\r\n1) Rename {appName} to {appName}-reverted\r\n2) Rename {appName}-venerable to {appName}\r\n3) Delete {appName}-reverted"},"comment":{"url":"https://api.github.com/repos/concourse/autopilot/issues/comments/225008197","html_url":"https://github.com/concourse/autopilot/pull/27#issuecomment-225008197","issue_url":"https://api.github.com/repos/concourse/autopilot/issues/27","id":225008197,"user":{"login":"concourse-bot","id":13429001,"avatar_url":"https://avatars.githubusercontent.com/u/13429001?v=3","gravatar_id":"","url":"https://api.github.com/users/concourse-bot","html_url":"https://github.com/concourse-bot","followers_url":"https://api.github.com/users/concourse-bot/followers","following_url":"https://api.github.com/users/concourse-bot/following{/other_user}","gists_url":"https://api.github.com/users/concourse-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/concourse-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concourse-bot/subscriptions","organizations_url":"https://api.github.com/users/concourse-bot/orgs","repos_url":"https://api.github.com/users/concourse-bot/repos","events_url":"https://api.github.com/users/concourse-bot/events{/privacy}","received_events_url":"https://api.github.com/users/concourse-bot/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T19:57:39Z","updated_at":"2016-06-09T19:57:39Z","body":"Hi there!\n\nWe use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.\n\nThe current status is as follows:\n\n* [ ] [#121252099](https://www.pivotaltracker.com/story/show/121252099) Add flag to stop \"venerable\" version instead of delete\n\n\nThis comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes."}}
{"actor":{"display_login":"concourse-bot"}}