{"action":"created","comment":{"url":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/comments/26904502","id":26904502,"diff_hunk":"@@ -137,10 +137,15 @@ func Execute(c *Context, job *SubmittedJob) {\n \tjob.StartedAt = StoreTime(time.Now())\n \tjob.QueueDelay = job.StartedAt.AsTime().Sub(job.CreatedAt.AsTime()).Nanoseconds()\n \n+\timage := c.DefaultImage\n+\tif len(job.Layers) != 0 {\n+\t\timage = job.Layers[0].Name","path":"runner.go","position":6,"original_position":6,"commit_id":"5ede70942f99446889640aadb9100a367d3704d9","original_commit_id":"5ede70942f99446889640aadb9100a367d3704d9","user":{"login":"rgbkrk","id":836375,"avatar_url":"https://avatars.githubusercontent.com/u/836375?v=3","gravatar_id":"","url":"https://api.github.com/users/rgbkrk","html_url":"https://github.com/rgbkrk","followers_url":"https://api.github.com/users/rgbkrk/followers","following_url":"https://api.github.com/users/rgbkrk/following{/other_user}","gists_url":"https://api.github.com/users/rgbkrk/gists{/gist_id}","starred_url":"https://api.github.com/users/rgbkrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgbkrk/subscriptions","organizations_url":"https://api.github.com/users/rgbkrk/orgs","repos_url":"https://api.github.com/users/rgbkrk/repos","events_url":"https://api.github.com/users/rgbkrk/events{/privacy}","received_events_url":"https://api.github.com/users/rgbkrk/received_events","type":"User","site_admin":false},"body":"If no one is opposed to this, I'm assuming this is still ok.","created_at":"2015-03-22T16:21:24Z","updated_at":"2015-03-22T16:21:24Z","html_url":"https://github.com/cloudpipe/cloudpipe/pull/60#discussion_r26904502","pull_request_url":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/comments/26904502"},"html":{"href":"https://github.com/cloudpipe/cloudpipe/pull/60#discussion_r26904502"},"pull_request":{"href":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/60","id":29403314,"html_url":"https://github.com/cloudpipe/cloudpipe/pull/60","diff_url":"https://github.com/cloudpipe/cloudpipe/pull/60.diff","patch_url":"https://github.com/cloudpipe/cloudpipe/pull/60.patch","issue_url":"https://api.github.com/repos/cloudpipe/cloudpipe/issues/60","number":60,"state":"open","locked":false,"title":"[WIP] Multi image","user":{"login":"rgbkrk","id":836375,"avatar_url":"https://avatars.githubusercontent.com/u/836375?v=3","gravatar_id":"","url":"https://api.github.com/users/rgbkrk","html_url":"https://github.com/rgbkrk","followers_url":"https://api.github.com/users/rgbkrk/followers","following_url":"https://api.github.com/users/rgbkrk/following{/other_user}","gists_url":"https://api.github.com/users/rgbkrk/gists{/gist_id}","starred_url":"https://api.github.com/users/rgbkrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgbkrk/subscriptions","organizations_url":"https://api.github.com/users/rgbkrk/orgs","repos_url":"https://api.github.com/users/rgbkrk/repos","events_url":"https://api.github.com/users/rgbkrk/events{/privacy}","received_events_url":"https://api.github.com/users/rgbkrk/received_events","type":"User","site_admin":false},"body":"Thus begins multi image support.","created_at":"2015-02-16T21:56:48Z","updated_at":"2015-03-22T16:21:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20cf202dad2a206bea3e0b3c8ec538472471bd85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/60/commits","review_comments_url":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/60/comments","review_comment_url":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudpipe/cloudpipe/issues/60/comments","statuses_url":"https://api.github.com/repos/cloudpipe/cloudpipe/statuses/5ede70942f99446889640aadb9100a367d3704d9","head":{"label":"cloudpipe:multi-image","ref":"multi-image","sha":"5ede70942f99446889640aadb9100a367d3704d9","user":{"login":"cloudpipe","id":10352495,"avatar_url":"https://avatars.githubusercontent.com/u/10352495?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudpipe","html_url":"https://github.com/cloudpipe","followers_url":"https://api.github.com/users/cloudpipe/followers","following_url":"https://api.github.com/users/cloudpipe/following{/other_user}","gists_url":"https://api.github.com/users/cloudpipe/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudpipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudpipe/subscriptions","organizations_url":"https://api.github.com/users/cloudpipe/orgs","repos_url":"https://api.github.com/users/cloudpipe/repos","events_url":"https://api.github.com/users/cloudpipe/events{/privacy}","received_events_url":"https://api.github.com/users/cloudpipe/received_events","type":"Organization","site_admin":false},"repo":{"id":27835647,"name":"cloudpipe","full_name":"cloudpipe/cloudpipe","owner":{"login":"cloudpipe","id":10352495,"avatar_url":"https://avatars.githubusercontent.com/u/10352495?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudpipe","html_url":"https://github.com/cloudpipe","followers_url":"https://api.github.com/users/cloudpipe/followers","following_url":"https://api.github.com/users/cloudpipe/following{/other_user}","gists_url":"https://api.github.com/users/cloudpipe/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudpipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudpipe/subscriptions","organizations_url":"https://api.github.com/users/cloudpipe/orgs","repos_url":"https://api.github.com/users/cloudpipe/repos","events_url":"https://api.github.com/users/cloudpipe/events{/privacy}","received_events_url":"https://api.github.com/users/cloudpipe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudpipe/cloudpipe","description":":wrench: Compute on demand in Docker containers","fork":false,"url":"https://api.github.com/repos/cloudpipe/cloudpipe","forks_url":"https://api.github.com/repos/cloudpipe/cloudpipe/forks","keys_url":"https://api.github.com/repos/cloudpipe/cloudpipe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudpipe/cloudpipe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudpipe/cloudpipe/teams","hooks_url":"https://api.github.com/repos/cloudpipe/cloudpipe/hooks","issue_events_url":"https://api.github.com/repos/cloudpipe/cloudpipe/issues/events{/number}","events_url":"https://api.github.com/repos/cloudpipe/cloudpipe/events","assignees_url":"https://api.github.com/repos/cloudpipe/cloudpipe/assignees{/user}","branches_url":"https://api.github.com/repos/cloudpipe/cloudpipe/branches{/branch}","tags_url":"https://api.github.com/repos/cloudpipe/cloudpipe/tags","blobs_url":"https://api.github.com/repos/cloudpipe/cloudpipe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudpipe/cloudpipe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudpipe/cloudpipe/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudpipe/cloudpipe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudpipe/cloudpipe/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudpipe/cloudpipe/languages","stargazers_url":"https://api.github.com/repos/cloudpipe/cloudpipe/stargazers","contributors_url":"https://api.github.com/repos/cloudpipe/cloudpipe/contributors","subscribers_url":"https://api.github.com/repos/cloudpipe/cloudpipe/subscribers","subscription_url":"https://api.github.com/repos/cloudpipe/cloudpipe/subscription","commits_url":"https://api.github.com/repos/cloudpipe/cloudpipe/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudpipe/cloudpipe/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudpipe/cloudpipe/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudpipe/cloudpipe/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudpipe/cloudpipe/contents/{+path}","compare_url":"https://api.github.com/repos/cloudpipe/cloudpipe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudpipe/cloudpipe/merges","archive_url":"https://api.github.com/repos/cloudpipe/cloudpipe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudpipe/cloudpipe/downloads","issues_url":"https://api.github.com/repos/cloudpipe/cloudpipe/issues{/number}","pulls_url":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudpipe/cloudpipe/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudpipe/cloudpipe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudpipe/cloudpipe/labels{/name}","releases_url":"https://api.github.com/repos/cloudpipe/cloudpipe/releases{/id}","created_at":"2014-12-10T19:22:42Z","updated_at":"2015-03-18T22:36:30Z","pushed_at":"2015-02-17T01:17:33Z","git_url":"git://github.com/cloudpipe/cloudpipe.git","ssh_url":"git@github.com:cloudpipe/cloudpipe.git","clone_url":"https://github.com/cloudpipe/cloudpipe.git","svn_url":"https://github.com/cloudpipe/cloudpipe","homepage":"","size":1302,"stargazers_count":34,"watchers_count":34,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":25,"forks":5,"open_issues":25,"watchers":34,"default_branch":"master"}},"base":{"label":"cloudpipe:master","ref":"master","sha":"c466f659f9a79ab011537ce89a432d8049f3d1b9","user":{"login":"cloudpipe","id":10352495,"avatar_url":"https://avatars.githubusercontent.com/u/10352495?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudpipe","html_url":"https://github.com/cloudpipe","followers_url":"https://api.github.com/users/cloudpipe/followers","following_url":"https://api.github.com/users/cloudpipe/following{/other_user}","gists_url":"https://api.github.com/users/cloudpipe/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudpipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudpipe/subscriptions","organizations_url":"https://api.github.com/users/cloudpipe/orgs","repos_url":"https://api.github.com/users/cloudpipe/repos","events_url":"https://api.github.com/users/cloudpipe/events{/privacy}","received_events_url":"https://api.github.com/users/cloudpipe/received_events","type":"Organization","site_admin":false},"repo":{"id":27835647,"name":"cloudpipe","full_name":"cloudpipe/cloudpipe","owner":{"login":"cloudpipe","id":10352495,"avatar_url":"https://avatars.githubusercontent.com/u/10352495?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudpipe","html_url":"https://github.com/cloudpipe","followers_url":"https://api.github.com/users/cloudpipe/followers","following_url":"https://api.github.com/users/cloudpipe/following{/other_user}","gists_url":"https://api.github.com/users/cloudpipe/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudpipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudpipe/subscriptions","organizations_url":"https://api.github.com/users/cloudpipe/orgs","repos_url":"https://api.github.com/users/cloudpipe/repos","events_url":"https://api.github.com/users/cloudpipe/events{/privacy}","received_events_url":"https://api.github.com/users/cloudpipe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudpipe/cloudpipe","description":":wrench: Compute on demand in Docker containers","fork":false,"url":"https://api.github.com/repos/cloudpipe/cloudpipe","forks_url":"https://api.github.com/repos/cloudpipe/cloudpipe/forks","keys_url":"https://api.github.com/repos/cloudpipe/cloudpipe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudpipe/cloudpipe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudpipe/cloudpipe/teams","hooks_url":"https://api.github.com/repos/cloudpipe/cloudpipe/hooks","issue_events_url":"https://api.github.com/repos/cloudpipe/cloudpipe/issues/events{/number}","events_url":"https://api.github.com/repos/cloudpipe/cloudpipe/events","assignees_url":"https://api.github.com/repos/cloudpipe/cloudpipe/assignees{/user}","branches_url":"https://api.github.com/repos/cloudpipe/cloudpipe/branches{/branch}","tags_url":"https://api.github.com/repos/cloudpipe/cloudpipe/tags","blobs_url":"https://api.github.com/repos/cloudpipe/cloudpipe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudpipe/cloudpipe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudpipe/cloudpipe/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudpipe/cloudpipe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudpipe/cloudpipe/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudpipe/cloudpipe/languages","stargazers_url":"https://api.github.com/repos/cloudpipe/cloudpipe/stargazers","contributors_url":"https://api.github.com/repos/cloudpipe/cloudpipe/contributors","subscribers_url":"https://api.github.com/repos/cloudpipe/cloudpipe/subscribers","subscription_url":"https://api.github.com/repos/cloudpipe/cloudpipe/subscription","commits_url":"https://api.github.com/repos/cloudpipe/cloudpipe/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudpipe/cloudpipe/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudpipe/cloudpipe/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudpipe/cloudpipe/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudpipe/cloudpipe/contents/{+path}","compare_url":"https://api.github.com/repos/cloudpipe/cloudpipe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudpipe/cloudpipe/merges","archive_url":"https://api.github.com/repos/cloudpipe/cloudpipe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudpipe/cloudpipe/downloads","issues_url":"https://api.github.com/repos/cloudpipe/cloudpipe/issues{/number}","pulls_url":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudpipe/cloudpipe/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudpipe/cloudpipe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudpipe/cloudpipe/labels{/name}","releases_url":"https://api.github.com/repos/cloudpipe/cloudpipe/releases{/id}","created_at":"2014-12-10T19:22:42Z","updated_at":"2015-03-18T22:36:30Z","pushed_at":"2015-02-17T01:17:33Z","git_url":"git://github.com/cloudpipe/cloudpipe.git","ssh_url":"git@github.com:cloudpipe/cloudpipe.git","clone_url":"https://github.com/cloudpipe/cloudpipe.git","svn_url":"https://github.com/cloudpipe/cloudpipe","homepage":"","size":1302,"stargazers_count":34,"watchers_count":34,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":25,"forks":5,"open_issues":25,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/60"},"html":{"href":"https://github.com/cloudpipe/cloudpipe/pull/60"},"issue":{"href":"https://api.github.com/repos/cloudpipe/cloudpipe/issues/60"},"comments":{"href":"https://api.github.com/repos/cloudpipe/cloudpipe/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudpipe/cloudpipe/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/cloudpipe/cloudpipe/statuses/5ede70942f99446889640aadb9100a367d3704d9"}}}}