{"action":"created","comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments/51771328","id":51771328,"diff_hunk":"@@ -112,19 +132,10 @@ ls -lah \"${builder_dir}\"\n # \"build/builder.sh push\" and the new tag value placed here.\n tag=\"20151210-134003\"\n \n-if ! docker images | grep -q \"${tag}\"; then\n-  # If there's a base image cached, load it. A click on CircleCI's \"Clear\n-  # Cache\" will make sure we start with a clean slate.\n-  builder=\"${builder_dir}/builder.${tag}.tar\"\n-  find \"${builder_dir}\" -not -path \"${builder}\" -type f -delete  \n-  if [[ ! -e \"${builder}\" ]]; then\n-    time docker pull \"cockroachdb/builder:${tag}\"\n-    docker tag -f \"cockroachdb/builder:${tag}\" \"cockroachdb/builder:latest\"\n-    time docker save \"cockroachdb/builder:${tag}\" > \"${builder}\"\n-  else\n-    time docker load -i \"${builder}\"\n-    docker tag -f \"cockroachdb/builder:${tag}\" \"cockroachdb/builder:latest\"\n-  fi\n+fetch_docker \"builder\" ${tag}\n+\n+if is_shard 0; then\n+  fetch_docker \"postgres-test\" \"20160203-140220\"","path":"build/circle-deps.sh","position":47,"original_position":47,"commit_id":"fc5019cbc952caba3834c48709df08312c72ac40","original_commit_id":"fc5019cbc952caba3834c48709df08312c72ac40","user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"body":"can you add a comment here that points to the dockerfile?","created_at":"2016-02-03T19:14:50Z","updated_at":"2016-02-03T19:14:50Z","html_url":"https://github.com/cockroachdb/cockroach/pull/4113#discussion_r51771328","pull_request_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/4113","_links":{"self":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments/51771328"},"html":{"href":"https://github.com/cockroachdb/cockroach/pull/4113#discussion_r51771328"},"pull_request":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/4113"}}},"pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/4113","id":58182284,"html_url":"https://github.com/cockroachdb/cockroach/pull/4113","diff_url":"https://github.com/cockroachdb/cockroach/pull/4113.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/4113.patch","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/4113","number":4113,"state":"open","locked":false,"title":"acceptance: allow docker tests to run","user":{"login":"mjibson","id":41181,"avatar_url":"https://avatars.githubusercontent.com/u/41181?v=3","gravatar_id":"","url":"https://api.github.com/users/mjibson","html_url":"https://github.com/mjibson","followers_url":"https://api.github.com/users/mjibson/followers","following_url":"https://api.github.com/users/mjibson/following{/other_user}","gists_url":"https://api.github.com/users/mjibson/gists{/gist_id}","starred_url":"https://api.github.com/users/mjibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjibson/subscriptions","organizations_url":"https://api.github.com/users/mjibson/orgs","repos_url":"https://api.github.com/users/mjibson/repos","events_url":"https://api.github.com/users/mjibson/events{/privacy}","received_events_url":"https://api.github.com/users/mjibson/received_events","type":"User","site_admin":false},"body":"Cache the builder image, which is now just one image with all langs.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/cockroachdb/cockroach/4113)\n<!-- Reviewable:end -->\n","created_at":"2016-02-03T18:48:48Z","updated_at":"2016-02-03T19:14:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e938e15799a6e7a3acd46e18ebd1f6be26061c2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/4113/commits","review_comments_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/4113/comments","review_comment_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/4113/comments","statuses_url":"https://api.github.com/repos/cockroachdb/cockroach/statuses/fc5019cbc952caba3834c48709df08312c72ac40","head":{"label":"mjibson:sql-acceptance-fix","ref":"sql-acceptance-fix","sha":"fc5019cbc952caba3834c48709df08312c72ac40","user":{"login":"mjibson","id":41181,"avatar_url":"https://avatars.githubusercontent.com/u/41181?v=3","gravatar_id":"","url":"https://api.github.com/users/mjibson","html_url":"https://github.com/mjibson","followers_url":"https://api.github.com/users/mjibson/followers","following_url":"https://api.github.com/users/mjibson/following{/other_user}","gists_url":"https://api.github.com/users/mjibson/gists{/gist_id}","starred_url":"https://api.github.com/users/mjibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjibson/subscriptions","organizations_url":"https://api.github.com/users/mjibson/orgs","repos_url":"https://api.github.com/users/mjibson/repos","events_url":"https://api.github.com/users/mjibson/events{/privacy}","received_events_url":"https://api.github.com/users/mjibson/received_events","type":"User","site_admin":false},"repo":{"id":47222384,"name":"cockroach","full_name":"mjibson/cockroach","owner":{"login":"mjibson","id":41181,"avatar_url":"https://avatars.githubusercontent.com/u/41181?v=3","gravatar_id":"","url":"https://api.github.com/users/mjibson","html_url":"https://github.com/mjibson","followers_url":"https://api.github.com/users/mjibson/followers","following_url":"https://api.github.com/users/mjibson/following{/other_user}","gists_url":"https://api.github.com/users/mjibson/gists{/gist_id}","starred_url":"https://api.github.com/users/mjibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjibson/subscriptions","organizations_url":"https://api.github.com/users/mjibson/orgs","repos_url":"https://api.github.com/users/mjibson/repos","events_url":"https://api.github.com/users/mjibson/events{/privacy}","received_events_url":"https://api.github.com/users/mjibson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mjibson/cockroach","description":"A Scalable, Geo-Replicated, Transactional Datastore","fork":true,"url":"https://api.github.com/repos/mjibson/cockroach","forks_url":"https://api.github.com/repos/mjibson/cockroach/forks","keys_url":"https://api.github.com/repos/mjibson/cockroach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjibson/cockroach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjibson/cockroach/teams","hooks_url":"https://api.github.com/repos/mjibson/cockroach/hooks","issue_events_url":"https://api.github.com/repos/mjibson/cockroach/issues/events{/number}","events_url":"https://api.github.com/repos/mjibson/cockroach/events","assignees_url":"https://api.github.com/repos/mjibson/cockroach/assignees{/user}","branches_url":"https://api.github.com/repos/mjibson/cockroach/branches{/branch}","tags_url":"https://api.github.com/repos/mjibson/cockroach/tags","blobs_url":"https://api.github.com/repos/mjibson/cockroach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjibson/cockroach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjibson/cockroach/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjibson/cockroach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjibson/cockroach/statuses/{sha}","languages_url":"https://api.github.com/repos/mjibson/cockroach/languages","stargazers_url":"https://api.github.com/repos/mjibson/cockroach/stargazers","contributors_url":"https://api.github.com/repos/mjibson/cockroach/contributors","subscribers_url":"https://api.github.com/repos/mjibson/cockroach/subscribers","subscription_url":"https://api.github.com/repos/mjibson/cockroach/subscription","commits_url":"https://api.github.com/repos/mjibson/cockroach/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjibson/cockroach/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjibson/cockroach/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjibson/cockroach/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjibson/cockroach/contents/{+path}","compare_url":"https://api.github.com/repos/mjibson/cockroach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjibson/cockroach/merges","archive_url":"https://api.github.com/repos/mjibson/cockroach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjibson/cockroach/downloads","issues_url":"https://api.github.com/repos/mjibson/cockroach/issues{/number}","pulls_url":"https://api.github.com/repos/mjibson/cockroach/pulls{/number}","milestones_url":"https://api.github.com/repos/mjibson/cockroach/milestones{/number}","notifications_url":"https://api.github.com/repos/mjibson/cockroach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjibson/cockroach/labels{/name}","releases_url":"https://api.github.com/repos/mjibson/cockroach/releases{/id}","deployments_url":"https://api.github.com/repos/mjibson/cockroach/deployments","created_at":"2015-12-01T22:50:28Z","updated_at":"2016-02-03T18:57:27Z","pushed_at":"2016-02-03T19:07:18Z","git_url":"git://github.com/mjibson/cockroach.git","ssh_url":"git@github.com:mjibson/cockroach.git","clone_url":"https://github.com/mjibson/cockroach.git","svn_url":"https://github.com/mjibson/cockroach","homepage":null,"size":55030,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"cockroachdb:master","ref":"master","sha":"d8f90aa69ce6dae70e268be177bab1bd8163dfe1","user":{"login":"cockroachdb","id":6748139,"avatar_url":"https://avatars.githubusercontent.com/u/6748139?v=3","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"repo":{"id":16563587,"name":"cockroach","full_name":"cockroachdb/cockroach","owner":{"login":"cockroachdb","id":6748139,"avatar_url":"https://avatars.githubusercontent.com/u/6748139?v=3","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cockroachdb/cockroach","description":"A Scalable, Survivable, Strongly-Consistent SQL Database","fork":false,"url":"https://api.github.com/repos/cockroachdb/cockroach","forks_url":"https://api.github.com/repos/cockroachdb/cockroach/forks","keys_url":"https://api.github.com/repos/cockroachdb/cockroach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cockroachdb/cockroach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cockroachdb/cockroach/teams","hooks_url":"https://api.github.com/repos/cockroachdb/cockroach/hooks","issue_events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/events{/number}","events_url":"https://api.github.com/repos/cockroachdb/cockroach/events","assignees_url":"https://api.github.com/repos/cockroachdb/cockroach/assignees{/user}","branches_url":"https://api.github.com/repos/cockroachdb/cockroach/branches{/branch}","tags_url":"https://api.github.com/repos/cockroachdb/cockroach/tags","blobs_url":"https://api.github.com/repos/cockroachdb/cockroach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cockroachdb/cockroach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cockroachdb/cockroach/git/refs{/sha}","trees_url":"https://api.github.com/repos/cockroachdb/cockroach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cockroachdb/cockroach/statuses/{sha}","languages_url":"https://api.github.com/repos/cockroachdb/cockroach/languages","stargazers_url":"https://api.github.com/repos/cockroachdb/cockroach/stargazers","contributors_url":"https://api.github.com/repos/cockroachdb/cockroach/contributors","subscribers_url":"https://api.github.com/repos/cockroachdb/cockroach/subscribers","subscription_url":"https://api.github.com/repos/cockroachdb/cockroach/subscription","commits_url":"https://api.github.com/repos/cockroachdb/cockroach/commits{/sha}","git_commits_url":"https://api.github.com/repos/cockroachdb/cockroach/git/commits{/sha}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/comments{/number}","issue_comment_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments{/number}","contents_url":"https://api.github.com/repos/cockroachdb/cockroach/contents/{+path}","compare_url":"https://api.github.com/repos/cockroachdb/cockroach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cockroachdb/cockroach/merges","archive_url":"https://api.github.com/repos/cockroachdb/cockroach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cockroachdb/cockroach/downloads","issues_url":"https://api.github.com/repos/cockroachdb/cockroach/issues{/number}","pulls_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls{/number}","milestones_url":"https://api.github.com/repos/cockroachdb/cockroach/milestones{/number}","notifications_url":"https://api.github.com/repos/cockroachdb/cockroach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/labels{/name}","releases_url":"https://api.github.com/repos/cockroachdb/cockroach/releases{/id}","deployments_url":"https://api.github.com/repos/cockroachdb/cockroach/deployments","created_at":"2014-02-06T00:18:47Z","updated_at":"2016-02-03T17:35:52Z","pushed_at":"2016-02-03T19:14:50Z","git_url":"git://github.com/cockroachdb/cockroach.git","ssh_url":"git@github.com:cockroachdb/cockroach.git","clone_url":"https://github.com/cockroachdb/cockroach.git","svn_url":"https://github.com/cockroachdb/cockroach","homepage":"http://www.cockroachlabs.com","size":63829,"stargazers_count":6134,"watchers_count":6134,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":553,"mirror_url":null,"open_issues_count":268,"forks":553,"open_issues":268,"watchers":6134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/4113"},"html":{"href":"https://github.com/cockroachdb/cockroach/pull/4113"},"issue":{"href":"https://api.github.com/repos/cockroachdb/cockroach/issues/4113"},"comments":{"href":"https://api.github.com/repos/cockroachdb/cockroach/issues/4113/comments"},"review_comments":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/4113/comments"},"review_comment":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/4113/commits"},"statuses":{"href":"https://api.github.com/repos/cockroachdb/cockroach/statuses/fc5019cbc952caba3834c48709df08312c72ac40"}}}}