{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/pulls/6","id":37614775,"html_url":"https://github.com/drakerlabs/opsworks_sidekiq/pull/6","diff_url":"https://github.com/drakerlabs/opsworks_sidekiq/pull/6.diff","patch_url":"https://github.com/drakerlabs/opsworks_sidekiq/pull/6.patch","issue_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/issues/6","number":6,"state":"open","locked":false,"title":"Sidekiq does not start with environment variables","user":{"login":"johncblandii","id":134952,"avatar_url":"https://avatars.githubusercontent.com/u/134952?v=3","gravatar_id":"","url":"https://api.github.com/users/johncblandii","html_url":"https://github.com/johncblandii","followers_url":"https://api.github.com/users/johncblandii/followers","following_url":"https://api.github.com/users/johncblandii/following{/other_user}","gists_url":"https://api.github.com/users/johncblandii/gists{/gist_id}","starred_url":"https://api.github.com/users/johncblandii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johncblandii/subscriptions","organizations_url":"https://api.github.com/users/johncblandii/orgs","repos_url":"https://api.github.com/users/johncblandii/repos","events_url":"https://api.github.com/users/johncblandii/events{/privacy}","received_events_url":"https://api.github.com/users/johncblandii/received_events","type":"User","site_admin":false},"body":"Two different apps need env vars but they aren't passed with the start command. There may be a better way but this one is tested in two stacks and it works.\r\n\r\nCode originally done by @codeodor.","created_at":"2015-06-13T00:11:05Z","updated_at":"2015-06-13T00:11:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/pulls/6/commits","review_comments_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/pulls/6/comments","review_comment_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/issues/6/comments","statuses_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/statuses/4439300e23d7c6b817174240f626e641b1fb3eb5","head":{"label":"johncblandii:master","ref":"master","sha":"4439300e23d7c6b817174240f626e641b1fb3eb5","user":{"login":"johncblandii","id":134952,"avatar_url":"https://avatars.githubusercontent.com/u/134952?v=3","gravatar_id":"","url":"https://api.github.com/users/johncblandii","html_url":"https://github.com/johncblandii","followers_url":"https://api.github.com/users/johncblandii/followers","following_url":"https://api.github.com/users/johncblandii/following{/other_user}","gists_url":"https://api.github.com/users/johncblandii/gists{/gist_id}","starred_url":"https://api.github.com/users/johncblandii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johncblandii/subscriptions","organizations_url":"https://api.github.com/users/johncblandii/orgs","repos_url":"https://api.github.com/users/johncblandii/repos","events_url":"https://api.github.com/users/johncblandii/events{/privacy}","received_events_url":"https://api.github.com/users/johncblandii/received_events","type":"User","site_admin":false},"repo":{"id":37339941,"name":"opsworks_sidekiq","full_name":"johncblandii/opsworks_sidekiq","owner":{"login":"johncblandii","id":134952,"avatar_url":"https://avatars.githubusercontent.com/u/134952?v=3","gravatar_id":"","url":"https://api.github.com/users/johncblandii","html_url":"https://github.com/johncblandii","followers_url":"https://api.github.com/users/johncblandii/followers","following_url":"https://api.github.com/users/johncblandii/following{/other_user}","gists_url":"https://api.github.com/users/johncblandii/gists{/gist_id}","starred_url":"https://api.github.com/users/johncblandii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johncblandii/subscriptions","organizations_url":"https://api.github.com/users/johncblandii/orgs","repos_url":"https://api.github.com/users/johncblandii/repos","events_url":"https://api.github.com/users/johncblandii/events{/privacy}","received_events_url":"https://api.github.com/users/johncblandii/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johncblandii/opsworks_sidekiq","description":"Chef cookbook for configuring an AWS OpsWorks layer of delayed_job workers.","fork":true,"url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq","forks_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/forks","keys_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/teams","hooks_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/hooks","issue_events_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/issues/events{/number}","events_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/events","assignees_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/assignees{/user}","branches_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/branches{/branch}","tags_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/tags","blobs_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/statuses/{sha}","languages_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/languages","stargazers_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/stargazers","contributors_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/contributors","subscribers_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/subscribers","subscription_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/subscription","commits_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/contents/{+path}","compare_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/merges","archive_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/downloads","issues_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/issues{/number}","pulls_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/pulls{/number}","milestones_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/milestones{/number}","notifications_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/labels{/name}","releases_url":"https://api.github.com/repos/johncblandii/opsworks_sidekiq/releases{/id}","created_at":"2015-06-12T19:14:37Z","updated_at":"2015-06-12T19:14:37Z","pushed_at":"2015-06-12T19:26:03Z","git_url":"git://github.com/johncblandii/opsworks_sidekiq.git","ssh_url":"git@github.com:johncblandii/opsworks_sidekiq.git","clone_url":"https://github.com/johncblandii/opsworks_sidekiq.git","svn_url":"https://github.com/johncblandii/opsworks_sidekiq","homepage":null,"size":256,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"drakerlabs:master","ref":"master","sha":"17eb727d206b1a43244e6fdd55512df41ae03905","user":{"login":"drakerlabs","id":296697,"avatar_url":"https://avatars.githubusercontent.com/u/296697?v=3","gravatar_id":"","url":"https://api.github.com/users/drakerlabs","html_url":"https://github.com/drakerlabs","followers_url":"https://api.github.com/users/drakerlabs/followers","following_url":"https://api.github.com/users/drakerlabs/following{/other_user}","gists_url":"https://api.github.com/users/drakerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/drakerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drakerlabs/subscriptions","organizations_url":"https://api.github.com/users/drakerlabs/orgs","repos_url":"https://api.github.com/users/drakerlabs/repos","events_url":"https://api.github.com/users/drakerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/drakerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":14722183,"name":"opsworks_sidekiq","full_name":"drakerlabs/opsworks_sidekiq","owner":{"login":"drakerlabs","id":296697,"avatar_url":"https://avatars.githubusercontent.com/u/296697?v=3","gravatar_id":"","url":"https://api.github.com/users/drakerlabs","html_url":"https://github.com/drakerlabs","followers_url":"https://api.github.com/users/drakerlabs/followers","following_url":"https://api.github.com/users/drakerlabs/following{/other_user}","gists_url":"https://api.github.com/users/drakerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/drakerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drakerlabs/subscriptions","organizations_url":"https://api.github.com/users/drakerlabs/orgs","repos_url":"https://api.github.com/users/drakerlabs/repos","events_url":"https://api.github.com/users/drakerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/drakerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/drakerlabs/opsworks_sidekiq","description":"Chef cookbook for configuring an AWS OpsWorks layer of delayed_job workers.","fork":true,"url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq","forks_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/forks","keys_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/teams","hooks_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/hooks","issue_events_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/issues/events{/number}","events_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/events","assignees_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/assignees{/user}","branches_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/branches{/branch}","tags_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/tags","blobs_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/statuses/{sha}","languages_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/languages","stargazers_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/stargazers","contributors_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/contributors","subscribers_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/subscribers","subscription_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/subscription","commits_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/contents/{+path}","compare_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/merges","archive_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/downloads","issues_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/issues{/number}","pulls_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/pulls{/number}","milestones_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/milestones{/number}","notifications_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/labels{/name}","releases_url":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/releases{/id}","created_at":"2013-11-26T16:24:05Z","updated_at":"2015-06-12T09:34:54Z","pushed_at":"2015-05-14T15:16:53Z","git_url":"git://github.com/drakerlabs/opsworks_sidekiq.git","ssh_url":"git@github.com:drakerlabs/opsworks_sidekiq.git","clone_url":"https://github.com/drakerlabs/opsworks_sidekiq.git","svn_url":"https://github.com/drakerlabs/opsworks_sidekiq","homepage":null,"size":256,"stargazers_count":17,"watchers_count":17,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":2,"forks":31,"open_issues":2,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/pulls/6"},"html":{"href":"https://github.com/drakerlabs/opsworks_sidekiq/pull/6"},"issue":{"href":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/issues/6"},"comments":{"href":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/drakerlabs/opsworks_sidekiq/statuses/4439300e23d7c6b817174240f626e641b1fb3eb5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":16,"deletions":19,"changed_files":2}}