{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/aptible/docker-mongodb/pulls/20","id":64246741,"html_url":"https://github.com/aptible/docker-mongodb/pull/20","diff_url":"https://github.com/aptible/docker-mongodb/pull/20.diff","patch_url":"https://github.com/aptible/docker-mongodb/pull/20.patch","issue_url":"https://api.github.com/repos/aptible/docker-mongodb/issues/20","number":20,"state":"closed","locked":false,"title":"Fix 0bb2c52 by putting test data directory removal into a reachable line","user":{"login":"fancyremarker","id":156030,"avatar_url":"https://avatars.githubusercontent.com/u/156030?v=3","gravatar_id":"","url":"https://api.github.com/users/fancyremarker","html_url":"https://github.com/fancyremarker","followers_url":"https://api.github.com/users/fancyremarker/followers","following_url":"https://api.github.com/users/fancyremarker/following{/other_user}","gists_url":"https://api.github.com/users/fancyremarker/gists{/gist_id}","starred_url":"https://api.github.com/users/fancyremarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fancyremarker/subscriptions","organizations_url":"https://api.github.com/users/fancyremarker/orgs","repos_url":"https://api.github.com/users/fancyremarker/repos","events_url":"https://api.github.com/users/fancyremarker/events{/privacy}","received_events_url":"https://api.github.com/users/fancyremarker/received_events","type":"User","site_admin":false},"body":"Sorry for the double pull request — I've tested this change on a larger sandbox instance that was able to build the image (my Macbook could not... :confused: ), and have confirmed it fixes two problems with the placement of the lines in the original PR #19.\r\n\r\n1. I was running `rm -rf $DATA_DIRECTORY` after the ENV value was reset.\r\n2. I was running the command from a potentially unreachable location (after `PID=$(pgrep mongod) || return 0`).","created_at":"2016-03-26T19:30:45Z","updated_at":"2016-03-26T20:32:31Z","closed_at":"2016-03-26T20:32:31Z","merged_at":"2016-03-26T20:32:31Z","merge_commit_sha":"0d9fc124155b29e4dea2af4c62d028e80926dc5c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aptible/docker-mongodb/pulls/20/commits","review_comments_url":"https://api.github.com/repos/aptible/docker-mongodb/pulls/20/comments","review_comment_url":"https://api.github.com/repos/aptible/docker-mongodb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aptible/docker-mongodb/issues/20/comments","statuses_url":"https://api.github.com/repos/aptible/docker-mongodb/statuses/2c5e5784756422f5124e52ceb9a0672c73967d17","head":{"label":"fancyremarker:master","ref":"master","sha":"2c5e5784756422f5124e52ceb9a0672c73967d17","user":{"login":"fancyremarker","id":156030,"avatar_url":"https://avatars.githubusercontent.com/u/156030?v=3","gravatar_id":"","url":"https://api.github.com/users/fancyremarker","html_url":"https://github.com/fancyremarker","followers_url":"https://api.github.com/users/fancyremarker/followers","following_url":"https://api.github.com/users/fancyremarker/following{/other_user}","gists_url":"https://api.github.com/users/fancyremarker/gists{/gist_id}","starred_url":"https://api.github.com/users/fancyremarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fancyremarker/subscriptions","organizations_url":"https://api.github.com/users/fancyremarker/orgs","repos_url":"https://api.github.com/users/fancyremarker/repos","events_url":"https://api.github.com/users/fancyremarker/events{/privacy}","received_events_url":"https://api.github.com/users/fancyremarker/received_events","type":"User","site_admin":false},"repo":{"id":37344193,"name":"docker-mongodb","full_name":"fancyremarker/docker-mongodb","owner":{"login":"fancyremarker","id":156030,"avatar_url":"https://avatars.githubusercontent.com/u/156030?v=3","gravatar_id":"","url":"https://api.github.com/users/fancyremarker","html_url":"https://github.com/fancyremarker","followers_url":"https://api.github.com/users/fancyremarker/followers","following_url":"https://api.github.com/users/fancyremarker/following{/other_user}","gists_url":"https://api.github.com/users/fancyremarker/gists{/gist_id}","starred_url":"https://api.github.com/users/fancyremarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fancyremarker/subscriptions","organizations_url":"https://api.github.com/users/fancyremarker/orgs","repos_url":"https://api.github.com/users/fancyremarker/repos","events_url":"https://api.github.com/users/fancyremarker/events{/privacy}","received_events_url":"https://api.github.com/users/fancyremarker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fancyremarker/docker-mongodb","description":"MongoDB on Docker","fork":true,"url":"https://api.github.com/repos/fancyremarker/docker-mongodb","forks_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/forks","keys_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/teams","hooks_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/hooks","issue_events_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/events","assignees_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/tags","blobs_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/languages","stargazers_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/stargazers","contributors_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/contributors","subscribers_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/subscribers","subscription_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/subscription","commits_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/merges","archive_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/downloads","issues_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/releases{/id}","deployments_url":"https://api.github.com/repos/fancyremarker/docker-mongodb/deployments","created_at":"2015-06-12T20:55:47Z","updated_at":"2016-03-22T22:42:08Z","pushed_at":"2016-03-26T19:26:38Z","git_url":"git://github.com/fancyremarker/docker-mongodb.git","ssh_url":"git@github.com:fancyremarker/docker-mongodb.git","clone_url":"https://github.com/fancyremarker/docker-mongodb.git","svn_url":"https://github.com/fancyremarker/docker-mongodb","homepage":null,"size":56,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aptible:master","ref":"master","sha":"9f12bcb0d0afd3cdcf176adc6962741d887c4dcd","user":{"login":"aptible","id":4594193,"avatar_url":"https://avatars.githubusercontent.com/u/4594193?v=3","gravatar_id":"","url":"https://api.github.com/users/aptible","html_url":"https://github.com/aptible","followers_url":"https://api.github.com/users/aptible/followers","following_url":"https://api.github.com/users/aptible/following{/other_user}","gists_url":"https://api.github.com/users/aptible/gists{/gist_id}","starred_url":"https://api.github.com/users/aptible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aptible/subscriptions","organizations_url":"https://api.github.com/users/aptible/orgs","repos_url":"https://api.github.com/users/aptible/repos","events_url":"https://api.github.com/users/aptible/events{/privacy}","received_events_url":"https://api.github.com/users/aptible/received_events","type":"Organization","site_admin":false},"repo":{"id":19095056,"name":"docker-mongodb","full_name":"aptible/docker-mongodb","owner":{"login":"aptible","id":4594193,"avatar_url":"https://avatars.githubusercontent.com/u/4594193?v=3","gravatar_id":"","url":"https://api.github.com/users/aptible","html_url":"https://github.com/aptible","followers_url":"https://api.github.com/users/aptible/followers","following_url":"https://api.github.com/users/aptible/following{/other_user}","gists_url":"https://api.github.com/users/aptible/gists{/gist_id}","starred_url":"https://api.github.com/users/aptible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aptible/subscriptions","organizations_url":"https://api.github.com/users/aptible/orgs","repos_url":"https://api.github.com/users/aptible/repos","events_url":"https://api.github.com/users/aptible/events{/privacy}","received_events_url":"https://api.github.com/users/aptible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aptible/docker-mongodb","description":"MongoDB on Docker","fork":false,"url":"https://api.github.com/repos/aptible/docker-mongodb","forks_url":"https://api.github.com/repos/aptible/docker-mongodb/forks","keys_url":"https://api.github.com/repos/aptible/docker-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aptible/docker-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aptible/docker-mongodb/teams","hooks_url":"https://api.github.com/repos/aptible/docker-mongodb/hooks","issue_events_url":"https://api.github.com/repos/aptible/docker-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/aptible/docker-mongodb/events","assignees_url":"https://api.github.com/repos/aptible/docker-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/aptible/docker-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/aptible/docker-mongodb/tags","blobs_url":"https://api.github.com/repos/aptible/docker-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aptible/docker-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aptible/docker-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/aptible/docker-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aptible/docker-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/aptible/docker-mongodb/languages","stargazers_url":"https://api.github.com/repos/aptible/docker-mongodb/stargazers","contributors_url":"https://api.github.com/repos/aptible/docker-mongodb/contributors","subscribers_url":"https://api.github.com/repos/aptible/docker-mongodb/subscribers","subscription_url":"https://api.github.com/repos/aptible/docker-mongodb/subscription","commits_url":"https://api.github.com/repos/aptible/docker-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/aptible/docker-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/aptible/docker-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/aptible/docker-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/aptible/docker-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/aptible/docker-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aptible/docker-mongodb/merges","archive_url":"https://api.github.com/repos/aptible/docker-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aptible/docker-mongodb/downloads","issues_url":"https://api.github.com/repos/aptible/docker-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/aptible/docker-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/aptible/docker-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/aptible/docker-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aptible/docker-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/aptible/docker-mongodb/releases{/id}","deployments_url":"https://api.github.com/repos/aptible/docker-mongodb/deployments","created_at":"2014-04-24T03:56:25Z","updated_at":"2016-01-25T21:02:46Z","pushed_at":"2016-03-26T20:32:31Z","git_url":"git://github.com/aptible/docker-mongodb.git","ssh_url":"git@github.com:aptible/docker-mongodb.git","clone_url":"https://github.com/aptible/docker-mongodb.git","svn_url":"https://github.com/aptible/docker-mongodb","homepage":null,"size":56,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aptible/docker-mongodb/pulls/20"},"html":{"href":"https://github.com/aptible/docker-mongodb/pull/20"},"issue":{"href":"https://api.github.com/repos/aptible/docker-mongodb/issues/20"},"comments":{"href":"https://api.github.com/repos/aptible/docker-mongodb/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/aptible/docker-mongodb/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/aptible/docker-mongodb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aptible/docker-mongodb/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/aptible/docker-mongodb/statuses/2c5e5784756422f5124e52ceb9a0672c73967d17"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fancyremarker","id":156030,"avatar_url":"https://avatars.githubusercontent.com/u/156030?v=3","gravatar_id":"","url":"https://api.github.com/users/fancyremarker","html_url":"https://github.com/fancyremarker","followers_url":"https://api.github.com/users/fancyremarker/followers","following_url":"https://api.github.com/users/fancyremarker/following{/other_user}","gists_url":"https://api.github.com/users/fancyremarker/gists{/gist_id}","starred_url":"https://api.github.com/users/fancyremarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fancyremarker/subscriptions","organizations_url":"https://api.github.com/users/fancyremarker/orgs","repos_url":"https://api.github.com/users/fancyremarker/repos","events_url":"https://api.github.com/users/fancyremarker/events{/privacy}","received_events_url":"https://api.github.com/users/fancyremarker/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}