{"action":"created","issue":{"url":"https://api.github.com/repos/EvidentSolutions/gradle-beanstalk-plugin/issues/4","labels_url":"https://api.github.com/repos/EvidentSolutions/gradle-beanstalk-plugin/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/EvidentSolutions/gradle-beanstalk-plugin/issues/4/comments","events_url":"https://api.github.com/repos/EvidentSolutions/gradle-beanstalk-plugin/issues/4/events","html_url":"https://github.com/EvidentSolutions/gradle-beanstalk-plugin/pull/4","id":104019269,"number":4,"title":"Automatically create app environment if it does not exists","user":{"login":"benorama","id":394356,"avatar_url":"https://avatars.githubusercontent.com/u/394356?v=3","gravatar_id":"","url":"https://api.github.com/users/benorama","html_url":"https://github.com/benorama","followers_url":"https://api.github.com/users/benorama/followers","following_url":"https://api.github.com/users/benorama/following{/other_user}","gists_url":"https://api.github.com/users/benorama/gists{/gist_id}","starred_url":"https://api.github.com/users/benorama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benorama/subscriptions","organizations_url":"https://api.github.com/users/benorama/orgs","repos_url":"https://api.github.com/users/benorama/repos","events_url":"https://api.github.com/users/benorama/events{/privacy}","received_events_url":"https://api.github.com/users/benorama/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-31T09:35:51Z","updated_at":"2015-09-09T11:13:04Z","closed_at":"2015-09-09T10:53:56Z","pull_request":{"url":"https://api.github.com/repos/EvidentSolutions/gradle-beanstalk-plugin/pulls/4","html_url":"https://github.com/EvidentSolutions/gradle-beanstalk-plugin/pull/4","diff_url":"https://github.com/EvidentSolutions/gradle-beanstalk-plugin/pull/4.diff","patch_url":"https://github.com/EvidentSolutions/gradle-beanstalk-plugin/pull/4.patch"},"body":"Our build pipeline:\r\n- **beta/staging** -> upload to the same env (with downtime)\r\n- **prod** -> create a new env for each version and use URL swapping for blue/green deployment (no downtime).\r\n\r\nThe plugin has been updated to enable this behaviour.\r\nFirst, the plugin will check if the env exists, if it doesn't, it will create it.\r\nAn additional config param `template` has been added to define which saved configuration to use when creating new env.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/EvidentSolutions/gradle-beanstalk-plugin/issues/comments/138878176","html_url":"https://github.com/EvidentSolutions/gradle-beanstalk-plugin/pull/4#issuecomment-138878176","issue_url":"https://api.github.com/repos/EvidentSolutions/gradle-beanstalk-plugin/issues/4","id":138878176,"user":{"login":"komu","id":3473,"avatar_url":"https://avatars.githubusercontent.com/u/3473?v=3","gravatar_id":"","url":"https://api.github.com/users/komu","html_url":"https://github.com/komu","followers_url":"https://api.github.com/users/komu/followers","following_url":"https://api.github.com/users/komu/following{/other_user}","gists_url":"https://api.github.com/users/komu/gists{/gist_id}","starred_url":"https://api.github.com/users/komu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/komu/subscriptions","organizations_url":"https://api.github.com/users/komu/orgs","repos_url":"https://api.github.com/users/komu/repos","events_url":"https://api.github.com/users/komu/events{/privacy}","received_events_url":"https://api.github.com/users/komu/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T11:13:04Z","updated_at":"2015-09-09T11:13:04Z","body":"Thanks!\r\n\r\nOk, [0.0.6](https://plugins.gradle.org/plugin/fi.evident.beanstalk/0.0.6) is now out and includes the other PRs. I'll try to merge #5 soon as well."}}