{"action":"closed","number":250,"pull_request":{"url":"https://api.github.com/repos/EFForg/action-center-platform/pulls/250","id":92249297,"html_url":"https://github.com/EFForg/action-center-platform/pull/250","diff_url":"https://github.com/EFForg/action-center-platform/pull/250.diff","patch_url":"https://github.com/EFForg/action-center-platform/pull/250.patch","issue_url":"https://api.github.com/repos/EFForg/action-center-platform/issues/250","number":250,"state":"closed","locked":false,"title":"Fix cron/delayed_job worker containers","user":{"login":"wioux","id":6469642,"avatar_url":"https://avatars.githubusercontent.com/u/6469642?v=3","gravatar_id":"","url":"https://api.github.com/users/wioux","html_url":"https://github.com/wioux","followers_url":"https://api.github.com/users/wioux/followers","following_url":"https://api.github.com/users/wioux/following{/other_user}","gists_url":"https://api.github.com/users/wioux/gists{/gist_id}","starred_url":"https://api.github.com/users/wioux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wioux/subscriptions","organizations_url":"https://api.github.com/users/wioux/orgs","repos_url":"https://api.github.com/users/wioux/repos","events_url":"https://api.github.com/users/wioux/events{/privacy}","received_events_url":"https://api.github.com/users/wioux/received_events","type":"User","site_admin":false},"body":"* We shouldn't precompile assets in cron/delayed_job containers\r\n* cron runs jobs in a blank environment, so we need to somehow re-source all our variables before calling `bundle exec rake`. I did this by exporting the environment to /root/.profile in entrypoint, but I'm open to feedback on better approaches...","created_at":"2016-11-03T22:02:09Z","updated_at":"2016-11-03T23:39:54Z","closed_at":"2016-11-03T23:39:54Z","merged_at":"2016-11-03T23:39:54Z","merge_commit_sha":"08e86dce2efa304f5af70833da496a19a6d139a8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/EFForg/action-center-platform/pulls/250/commits","review_comments_url":"https://api.github.com/repos/EFForg/action-center-platform/pulls/250/comments","review_comment_url":"https://api.github.com/repos/EFForg/action-center-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EFForg/action-center-platform/issues/250/comments","statuses_url":"https://api.github.com/repos/EFForg/action-center-platform/statuses/32c5702eb22918954c6bd0e648c526956322a5e9","head":{"label":"EFForg:fix_worker_containers","ref":"fix_worker_containers","sha":"32c5702eb22918954c6bd0e648c526956322a5e9","user":{"login":"EFForg","id":2120271,"avatar_url":"https://avatars.githubusercontent.com/u/2120271?v=3","gravatar_id":"","url":"https://api.github.com/users/EFForg","html_url":"https://github.com/EFForg","followers_url":"https://api.github.com/users/EFForg/followers","following_url":"https://api.github.com/users/EFForg/following{/other_user}","gists_url":"https://api.github.com/users/EFForg/gists{/gist_id}","starred_url":"https://api.github.com/users/EFForg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EFForg/subscriptions","organizations_url":"https://api.github.com/users/EFForg/orgs","repos_url":"https://api.github.com/users/EFForg/repos","events_url":"https://api.github.com/users/EFForg/events{/privacy}","received_events_url":"https://api.github.com/users/EFForg/received_events","type":"Organization","site_admin":false},"repo":{"id":36534353,"name":"action-center-platform","full_name":"EFForg/action-center-platform","owner":{"login":"EFForg","id":2120271,"avatar_url":"https://avatars.githubusercontent.com/u/2120271?v=3","gravatar_id":"","url":"https://api.github.com/users/EFForg","html_url":"https://github.com/EFForg","followers_url":"https://api.github.com/users/EFForg/followers","following_url":"https://api.github.com/users/EFForg/following{/other_user}","gists_url":"https://api.github.com/users/EFForg/gists{/gist_id}","starred_url":"https://api.github.com/users/EFForg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EFForg/subscriptions","organizations_url":"https://api.github.com/users/EFForg/orgs","repos_url":"https://api.github.com/users/EFForg/repos","events_url":"https://api.github.com/users/EFForg/events{/privacy}","received_events_url":"https://api.github.com/users/EFForg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EFForg/action-center-platform","description":"The EFF Action Center Platform","fork":false,"url":"https://api.github.com/repos/EFForg/action-center-platform","forks_url":"https://api.github.com/repos/EFForg/action-center-platform/forks","keys_url":"https://api.github.com/repos/EFForg/action-center-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EFForg/action-center-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EFForg/action-center-platform/teams","hooks_url":"https://api.github.com/repos/EFForg/action-center-platform/hooks","issue_events_url":"https://api.github.com/repos/EFForg/action-center-platform/issues/events{/number}","events_url":"https://api.github.com/repos/EFForg/action-center-platform/events","assignees_url":"https://api.github.com/repos/EFForg/action-center-platform/assignees{/user}","branches_url":"https://api.github.com/repos/EFForg/action-center-platform/branches{/branch}","tags_url":"https://api.github.com/repos/EFForg/action-center-platform/tags","blobs_url":"https://api.github.com/repos/EFForg/action-center-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EFForg/action-center-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EFForg/action-center-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/EFForg/action-center-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EFForg/action-center-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/EFForg/action-center-platform/languages","stargazers_url":"https://api.github.com/repos/EFForg/action-center-platform/stargazers","contributors_url":"https://api.github.com/repos/EFForg/action-center-platform/contributors","subscribers_url":"https://api.github.com/repos/EFForg/action-center-platform/subscribers","subscription_url":"https://api.github.com/repos/EFForg/action-center-platform/subscription","commits_url":"https://api.github.com/repos/EFForg/action-center-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/EFForg/action-center-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/EFForg/action-center-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/EFForg/action-center-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/EFForg/action-center-platform/contents/{+path}","compare_url":"https://api.github.com/repos/EFForg/action-center-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EFForg/action-center-platform/merges","archive_url":"https://api.github.com/repos/EFForg/action-center-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EFForg/action-center-platform/downloads","issues_url":"https://api.github.com/repos/EFForg/action-center-platform/issues{/number}","pulls_url":"https://api.github.com/repos/EFForg/action-center-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/EFForg/action-center-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/EFForg/action-center-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EFForg/action-center-platform/labels{/name}","releases_url":"https://api.github.com/repos/EFForg/action-center-platform/releases{/id}","deployments_url":"https://api.github.com/repos/EFForg/action-center-platform/deployments","created_at":"2015-05-29T23:27:28Z","updated_at":"2016-10-23T01:03:35Z","pushed_at":"2016-11-03T23:39:54Z","git_url":"git://github.com/EFForg/action-center-platform.git","ssh_url":"git@github.com:EFForg/action-center-platform.git","clone_url":"https://github.com/EFForg/action-center-platform.git","svn_url":"https://github.com/EFForg/action-center-platform","homepage":null,"size":1425,"stargazers_count":11,"watchers_count":11,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":39,"forks":11,"open_issues":39,"watchers":11,"default_branch":"master"}},"base":{"label":"EFForg:master","ref":"master","sha":"c00102238434d9f307e2e197b70232aacc5e13cb","user":{"login":"EFForg","id":2120271,"avatar_url":"https://avatars.githubusercontent.com/u/2120271?v=3","gravatar_id":"","url":"https://api.github.com/users/EFForg","html_url":"https://github.com/EFForg","followers_url":"https://api.github.com/users/EFForg/followers","following_url":"https://api.github.com/users/EFForg/following{/other_user}","gists_url":"https://api.github.com/users/EFForg/gists{/gist_id}","starred_url":"https://api.github.com/users/EFForg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EFForg/subscriptions","organizations_url":"https://api.github.com/users/EFForg/orgs","repos_url":"https://api.github.com/users/EFForg/repos","events_url":"https://api.github.com/users/EFForg/events{/privacy}","received_events_url":"https://api.github.com/users/EFForg/received_events","type":"Organization","site_admin":false},"repo":{"id":36534353,"name":"action-center-platform","full_name":"EFForg/action-center-platform","owner":{"login":"EFForg","id":2120271,"avatar_url":"https://avatars.githubusercontent.com/u/2120271?v=3","gravatar_id":"","url":"https://api.github.com/users/EFForg","html_url":"https://github.com/EFForg","followers_url":"https://api.github.com/users/EFForg/followers","following_url":"https://api.github.com/users/EFForg/following{/other_user}","gists_url":"https://api.github.com/users/EFForg/gists{/gist_id}","starred_url":"https://api.github.com/users/EFForg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EFForg/subscriptions","organizations_url":"https://api.github.com/users/EFForg/orgs","repos_url":"https://api.github.com/users/EFForg/repos","events_url":"https://api.github.com/users/EFForg/events{/privacy}","received_events_url":"https://api.github.com/users/EFForg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EFForg/action-center-platform","description":"The EFF Action Center Platform","fork":false,"url":"https://api.github.com/repos/EFForg/action-center-platform","forks_url":"https://api.github.com/repos/EFForg/action-center-platform/forks","keys_url":"https://api.github.com/repos/EFForg/action-center-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EFForg/action-center-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EFForg/action-center-platform/teams","hooks_url":"https://api.github.com/repos/EFForg/action-center-platform/hooks","issue_events_url":"https://api.github.com/repos/EFForg/action-center-platform/issues/events{/number}","events_url":"https://api.github.com/repos/EFForg/action-center-platform/events","assignees_url":"https://api.github.com/repos/EFForg/action-center-platform/assignees{/user}","branches_url":"https://api.github.com/repos/EFForg/action-center-platform/branches{/branch}","tags_url":"https://api.github.com/repos/EFForg/action-center-platform/tags","blobs_url":"https://api.github.com/repos/EFForg/action-center-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EFForg/action-center-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EFForg/action-center-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/EFForg/action-center-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EFForg/action-center-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/EFForg/action-center-platform/languages","stargazers_url":"https://api.github.com/repos/EFForg/action-center-platform/stargazers","contributors_url":"https://api.github.com/repos/EFForg/action-center-platform/contributors","subscribers_url":"https://api.github.com/repos/EFForg/action-center-platform/subscribers","subscription_url":"https://api.github.com/repos/EFForg/action-center-platform/subscription","commits_url":"https://api.github.com/repos/EFForg/action-center-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/EFForg/action-center-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/EFForg/action-center-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/EFForg/action-center-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/EFForg/action-center-platform/contents/{+path}","compare_url":"https://api.github.com/repos/EFForg/action-center-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EFForg/action-center-platform/merges","archive_url":"https://api.github.com/repos/EFForg/action-center-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EFForg/action-center-platform/downloads","issues_url":"https://api.github.com/repos/EFForg/action-center-platform/issues{/number}","pulls_url":"https://api.github.com/repos/EFForg/action-center-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/EFForg/action-center-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/EFForg/action-center-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EFForg/action-center-platform/labels{/name}","releases_url":"https://api.github.com/repos/EFForg/action-center-platform/releases{/id}","deployments_url":"https://api.github.com/repos/EFForg/action-center-platform/deployments","created_at":"2015-05-29T23:27:28Z","updated_at":"2016-10-23T01:03:35Z","pushed_at":"2016-11-03T23:39:54Z","git_url":"git://github.com/EFForg/action-center-platform.git","ssh_url":"git@github.com:EFForg/action-center-platform.git","clone_url":"https://github.com/EFForg/action-center-platform.git","svn_url":"https://github.com/EFForg/action-center-platform","homepage":null,"size":1425,"stargazers_count":11,"watchers_count":11,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":39,"forks":11,"open_issues":39,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EFForg/action-center-platform/pulls/250"},"html":{"href":"https://github.com/EFForg/action-center-platform/pull/250"},"issue":{"href":"https://api.github.com/repos/EFForg/action-center-platform/issues/250"},"comments":{"href":"https://api.github.com/repos/EFForg/action-center-platform/issues/250/comments"},"review_comments":{"href":"https://api.github.com/repos/EFForg/action-center-platform/pulls/250/comments"},"review_comment":{"href":"https://api.github.com/repos/EFForg/action-center-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EFForg/action-center-platform/pulls/250/commits"},"statuses":{"href":"https://api.github.com/repos/EFForg/action-center-platform/statuses/32c5702eb22918954c6bd0e648c526956322a5e9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"vbrown608","id":1887071,"avatar_url":"https://avatars.githubusercontent.com/u/1887071?v=3","gravatar_id":"","url":"https://api.github.com/users/vbrown608","html_url":"https://github.com/vbrown608","followers_url":"https://api.github.com/users/vbrown608/followers","following_url":"https://api.github.com/users/vbrown608/following{/other_user}","gists_url":"https://api.github.com/users/vbrown608/gists{/gist_id}","starred_url":"https://api.github.com/users/vbrown608/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbrown608/subscriptions","organizations_url":"https://api.github.com/users/vbrown608/orgs","repos_url":"https://api.github.com/users/vbrown608/repos","events_url":"https://api.github.com/users/vbrown608/events{/privacy}","received_events_url":"https://api.github.com/users/vbrown608/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"commits":3,"additions":27,"deletions":14,"changed_files":4}}
{"actor":{"display_login":"vbrown608"}}