{"action":"created","issue":{"url":"https://api.github.com/repos/ClusterHQ/flocker/issues/1196","labels_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/1196/labels{/name}","comments_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/1196/comments","events_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/1196/events","html_url":"https://github.com/ClusterHQ/flocker/pull/1196","id":59779509,"number":1196,"title":"[FLOC-1521] Test homebrew script","user":{"login":"dwgebler","id":646585,"avatar_url":"https://avatars.githubusercontent.com/u/646585?v=3","gravatar_id":"","url":"https://api.github.com/users/dwgebler","html_url":"https://github.com/dwgebler","followers_url":"https://api.github.com/users/dwgebler/followers","following_url":"https://api.github.com/users/dwgebler/following{/other_user}","gists_url":"https://api.github.com/users/dwgebler/gists{/gist_id}","starred_url":"https://api.github.com/users/dwgebler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwgebler/subscriptions","organizations_url":"https://api.github.com/users/dwgebler/orgs","repos_url":"https://api.github.com/users/dwgebler/repos","events_url":"https://api.github.com/users/dwgebler/events{/privacy}","received_events_url":"https://api.github.com/users/dwgebler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-04T10:40:30Z","updated_at":"2015-03-06T14:48:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ClusterHQ/flocker/pulls/1196","html_url":"https://github.com/ClusterHQ/flocker/pull/1196","diff_url":"https://github.com/ClusterHQ/flocker/pull/1196.diff","patch_url":"https://github.com/ClusterHQ/flocker/pull/1196.patch"},"body":"This is part of FLOC-1464, subtask 1521. This is the script that will be triggered by Buildbot inside a virtual environment containing a flocker installation on a OS X host machine. The script expects the host (the office Mac mini) to contain an OS X virtual machine image in a particular location and for that VM to have a snapshot called homebrew-clean.\r\n\r\nThe script reverts the VM to this snapshot, starts it up, attempts to run a sequence of brew commands via SSH (terminating with non-zero exit code should any of those commands exit with an error), then stops the VM and terminates with a success code when this entire process is completed.\r\n\r\nThe script expects to receive a fully qualified URL to a homebrew recipe file as its only argument - this should be supplied by Buildbot when triggering the script's execution."},"comment":{"url":"https://api.github.com/repos/ClusterHQ/flocker/issues/comments/77570009","html_url":"https://github.com/ClusterHQ/flocker/pull/1196#issuecomment-77570009","issue_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/1196","id":77570009,"user":{"login":"exarkun","id":254565,"avatar_url":"https://avatars.githubusercontent.com/u/254565?v=3","gravatar_id":"","url":"https://api.github.com/users/exarkun","html_url":"https://github.com/exarkun","followers_url":"https://api.github.com/users/exarkun/followers","following_url":"https://api.github.com/users/exarkun/following{/other_user}","gists_url":"https://api.github.com/users/exarkun/gists{/gist_id}","starred_url":"https://api.github.com/users/exarkun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exarkun/subscriptions","organizations_url":"https://api.github.com/users/exarkun/orgs","repos_url":"https://api.github.com/users/exarkun/repos","events_url":"https://api.github.com/users/exarkun/events{/privacy}","received_events_url":"https://api.github.com/users/exarkun/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T14:48:53Z","updated_at":"2015-03-06T14:48:53Z","body":"Thanks.  This looks pretty good.  I haven't actually tried it myself, I'll assume you've done the necessary manual testing to demonstrate it actually accomplishes what we want.  Please address the inline comments and then merge."}}