{"action":"created","comment":{"url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/comments/62583079","id":62583079,"diff_hunk":"@@ -36,6 +36,7 @@ def create_child_process\n       ChildProcess.build(tunnel_command, *tunnel_args).tap do |process|\n         process.leader = true\n         process.io.inherit! if debug?\n+        process.environment.merge! tunnel_env","path":"lib/blade/sauce_labs_plugin/tunnel.rb","position":4,"original_position":4,"commit_id":"450b7f73d0f5888e04c662052102e8013c2bca0f","original_commit_id":"450b7f73d0f5888e04c662052102e8013c2bca0f","user":{"login":"jeremy","id":199,"avatar_url":"https://avatars.githubusercontent.com/u/199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremy","html_url":"https://github.com/jeremy","followers_url":"https://api.github.com/users/jeremy/followers","following_url":"https://api.github.com/users/jeremy/following{/other_user}","gists_url":"https://api.github.com/users/jeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremy/subscriptions","organizations_url":"https://api.github.com/users/jeremy/orgs","repos_url":"https://api.github.com/users/jeremy/repos","events_url":"https://api.github.com/users/jeremy/events{/privacy}","received_events_url":"https://api.github.com/users/jeremy/received_events","type":"User","site_admin":false},"body":"Inject auth credentials into child process' environment. It inherits existing env vars, but this ensures that username/access_key in .blade.yml will be passed as env vars also.","created_at":"2016-05-09T22:19:11Z","updated_at":"2016-05-09T22:19:11Z","html_url":"https://github.com/javan/blade-sauce_labs_plugin/pull/1#discussion_r62583079","pull_request_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/comments/62583079"},"html":{"href":"https://github.com/javan/blade-sauce_labs_plugin/pull/1#discussion_r62583079"},"pull_request":{"href":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/1","id":69420279,"html_url":"https://github.com/javan/blade-sauce_labs_plugin/pull/1","diff_url":"https://github.com/javan/blade-sauce_labs_plugin/pull/1.diff","patch_url":"https://github.com/javan/blade-sauce_labs_plugin/pull/1.patch","issue_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/issues/1","number":1,"state":"open","locked":false,"title":"Pass auth credentials using env vars","user":{"login":"jeremy","id":199,"avatar_url":"https://avatars.githubusercontent.com/u/199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremy","html_url":"https://github.com/jeremy","followers_url":"https://api.github.com/users/jeremy/followers","following_url":"https://api.github.com/users/jeremy/following{/other_user}","gists_url":"https://api.github.com/users/jeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremy/subscriptions","organizations_url":"https://api.github.com/users/jeremy/orgs","repos_url":"https://api.github.com/users/jeremy/repos","events_url":"https://api.github.com/users/jeremy/events{/privacy}","received_events_url":"https://api.github.com/users/jeremy/received_events","type":"User","site_admin":false},"body":"Pass Sauce credentials to child process using env vars so they don't show up on the command line.\r\n\r\nAdds some docs on how to authenticate and configure.","created_at":"2016-05-09T22:17:14Z","updated_at":"2016-05-09T22:19:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"945a2a8b71b927b09d4a19e09c9bf7727fe4de83","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/issues/1/comments","statuses_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/statuses/450b7f73d0f5888e04c662052102e8013c2bca0f","head":{"label":"jeremy:auth-with-env-vars","ref":"auth-with-env-vars","sha":"450b7f73d0f5888e04c662052102e8013c2bca0f","user":{"login":"jeremy","id":199,"avatar_url":"https://avatars.githubusercontent.com/u/199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremy","html_url":"https://github.com/jeremy","followers_url":"https://api.github.com/users/jeremy/followers","following_url":"https://api.github.com/users/jeremy/following{/other_user}","gists_url":"https://api.github.com/users/jeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremy/subscriptions","organizations_url":"https://api.github.com/users/jeremy/orgs","repos_url":"https://api.github.com/users/jeremy/repos","events_url":"https://api.github.com/users/jeremy/events{/privacy}","received_events_url":"https://api.github.com/users/jeremy/received_events","type":"User","site_admin":false},"repo":{"id":58411685,"name":"blade-sauce_labs_plugin","full_name":"jeremy/blade-sauce_labs_plugin","owner":{"login":"jeremy","id":199,"avatar_url":"https://avatars.githubusercontent.com/u/199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremy","html_url":"https://github.com/jeremy","followers_url":"https://api.github.com/users/jeremy/followers","following_url":"https://api.github.com/users/jeremy/following{/other_user}","gists_url":"https://api.github.com/users/jeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremy/subscriptions","organizations_url":"https://api.github.com/users/jeremy/orgs","repos_url":"https://api.github.com/users/jeremy/repos","events_url":"https://api.github.com/users/jeremy/events{/privacy}","received_events_url":"https://api.github.com/users/jeremy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeremy/blade-sauce_labs_plugin","description":"","fork":true,"url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin","forks_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/forks","keys_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/teams","hooks_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/hooks","issue_events_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/events","assignees_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/tags","blobs_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/languages","stargazers_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/stargazers","contributors_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/contributors","subscribers_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/subscribers","subscription_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/subscription","commits_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/merges","archive_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/downloads","issues_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/labels{/name}","releases_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jeremy/blade-sauce_labs_plugin/deployments","created_at":"2016-05-09T22:16:01Z","updated_at":"2016-05-09T22:16:03Z","pushed_at":"2016-05-09T22:16:32Z","git_url":"git://github.com/jeremy/blade-sauce_labs_plugin.git","ssh_url":"git@github.com:jeremy/blade-sauce_labs_plugin.git","clone_url":"https://github.com/jeremy/blade-sauce_labs_plugin.git","svn_url":"https://github.com/jeremy/blade-sauce_labs_plugin","homepage":null,"size":20008,"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":"javan:master","ref":"master","sha":"034907a3084c60666364dc714cf58410b093be14","user":{"login":"javan","id":5355,"avatar_url":"https://avatars.githubusercontent.com/u/5355?v=3","gravatar_id":"","url":"https://api.github.com/users/javan","html_url":"https://github.com/javan","followers_url":"https://api.github.com/users/javan/followers","following_url":"https://api.github.com/users/javan/following{/other_user}","gists_url":"https://api.github.com/users/javan/gists{/gist_id}","starred_url":"https://api.github.com/users/javan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javan/subscriptions","organizations_url":"https://api.github.com/users/javan/orgs","repos_url":"https://api.github.com/users/javan/repos","events_url":"https://api.github.com/users/javan/events{/privacy}","received_events_url":"https://api.github.com/users/javan/received_events","type":"User","site_admin":false},"repo":{"id":37886656,"name":"blade-sauce_labs_plugin","full_name":"javan/blade-sauce_labs_plugin","owner":{"login":"javan","id":5355,"avatar_url":"https://avatars.githubusercontent.com/u/5355?v=3","gravatar_id":"","url":"https://api.github.com/users/javan","html_url":"https://github.com/javan","followers_url":"https://api.github.com/users/javan/followers","following_url":"https://api.github.com/users/javan/following{/other_user}","gists_url":"https://api.github.com/users/javan/gists{/gist_id}","starred_url":"https://api.github.com/users/javan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javan/subscriptions","organizations_url":"https://api.github.com/users/javan/orgs","repos_url":"https://api.github.com/users/javan/repos","events_url":"https://api.github.com/users/javan/events{/privacy}","received_events_url":"https://api.github.com/users/javan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/javan/blade-sauce_labs_plugin","description":"","fork":false,"url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin","forks_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/forks","keys_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/teams","hooks_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/hooks","issue_events_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/issues/events{/number}","events_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/events","assignees_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/assignees{/user}","branches_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/branches{/branch}","tags_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/tags","blobs_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/languages","stargazers_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/stargazers","contributors_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/contributors","subscribers_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/subscribers","subscription_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/subscription","commits_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/contents/{+path}","compare_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/merges","archive_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/downloads","issues_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/issues{/number}","pulls_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/labels{/name}","releases_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/releases{/id}","deployments_url":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/deployments","created_at":"2015-06-22T23:49:02Z","updated_at":"2016-04-30T13:52:20Z","pushed_at":"2016-05-09T22:17:16Z","git_url":"git://github.com/javan/blade-sauce_labs_plugin.git","ssh_url":"git@github.com:javan/blade-sauce_labs_plugin.git","clone_url":"https://github.com/javan/blade-sauce_labs_plugin.git","svn_url":"https://github.com/javan/blade-sauce_labs_plugin","homepage":null,"size":20076,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/1"},"html":{"href":"https://github.com/javan/blade-sauce_labs_plugin/pull/1"},"issue":{"href":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/issues/1"},"comments":{"href":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/javan/blade-sauce_labs_plugin/statuses/450b7f73d0f5888e04c662052102e8013c2bca0f"}}}}