{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/2706","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/2706/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/2706/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/2706/events","html_url":"https://github.com/mitchellh/packer/pull/2706","id":104451066,"number":2706,"title":"Create a shell-local post processor","user":{"login":"imduffy15","id":1243435,"avatar_url":"https://avatars.githubusercontent.com/u/1243435?v=3","gravatar_id":"","url":"https://api.github.com/users/imduffy15","html_url":"https://github.com/imduffy15","followers_url":"https://api.github.com/users/imduffy15/followers","following_url":"https://api.github.com/users/imduffy15/following{/other_user}","gists_url":"https://api.github.com/users/imduffy15/gists{/gist_id}","starred_url":"https://api.github.com/users/imduffy15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imduffy15/subscriptions","organizations_url":"https://api.github.com/users/imduffy15/orgs","repos_url":"https://api.github.com/users/imduffy15/repos","events_url":"https://api.github.com/users/imduffy15/events{/privacy}","received_events_url":"https://api.github.com/users/imduffy15/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T10:39:14Z","updated_at":"2015-09-02T12:04:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mitchellh/packer/pulls/2706","html_url":"https://github.com/mitchellh/packer/pull/2706","diff_url":"https://github.com/mitchellh/packer/pull/2706.diff","patch_url":"https://github.com/mitchellh/packer/pull/2706.patch"},"body":"The following commits builds on work from @vtolstov to create a\r\npost processor shell-local plugin. Please see his original work\r\nover at https://github.com/vtolstov/packer-post-processor-shell\r\n\r\nI have modified it slightly to output information onto the packer\r\nui as shown in the below screenshot which executes a script that\r\nruns env.\r\n\r\nThis plugin enables users to submit environmental variables to\r\nexternal external shell script(s) to do some post processing\r\ne.g. (Upload to somewhere, convert to different format, and so\r\non)\r\n\r\nMost of the work is a merge from the provisioner shell and\r\nshell-local scripts.\r\n\r\n![Example run of post processor shell-local](http://i.imgur.com/kJv6j9l.png)\r\n\r\nSigned-off-by: Ian Duffy <ian@ianduffy.ie>"},"comment":{"url":"https://api.github.com/repos/mitchellh/packer/issues/comments/137048490","html_url":"https://github.com/mitchellh/packer/pull/2706#issuecomment-137048490","issue_url":"https://api.github.com/repos/mitchellh/packer/issues/2706","id":137048490,"user":{"login":"imduffy15","id":1243435,"avatar_url":"https://avatars.githubusercontent.com/u/1243435?v=3","gravatar_id":"","url":"https://api.github.com/users/imduffy15","html_url":"https://github.com/imduffy15","followers_url":"https://api.github.com/users/imduffy15/followers","following_url":"https://api.github.com/users/imduffy15/following{/other_user}","gists_url":"https://api.github.com/users/imduffy15/gists{/gist_id}","starred_url":"https://api.github.com/users/imduffy15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imduffy15/subscriptions","organizations_url":"https://api.github.com/users/imduffy15/orgs","repos_url":"https://api.github.com/users/imduffy15/repos","events_url":"https://api.github.com/users/imduffy15/events{/privacy}","received_events_url":"https://api.github.com/users/imduffy15/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T12:04:22Z","updated_at":"2015-09-02T12:04:22Z","body":"Build failing due to some google compute stuff:\r\n\r\n# github.com/mitchellh/packer/builder/googlecompute\r\nbuilder/googlecompute/driver_gce.go:222: cannot use v (type string) as type *string in field value\r\nFAIL\tgithub.com/mitchellh/packer/builder/googlecompute [build failed]\r\n\r\n# github.com/mitchellh/packer/builder/googlecompute\r\nbuilder/googlecompute/driver_gce.go:222: cannot use v (type string) as type *string in field value\r\n\r\n\r\n\r\n"}}