{"action":"opened","number":29,"pull_request":{"url":"https://api.github.com/repos/firebase/firebase-admin-node/pulls/29","id":121182721,"html_url":"https://github.com/firebase/firebase-admin-node/pull/29","diff_url":"https://github.com/firebase/firebase-admin-node/pull/29.diff","patch_url":"https://github.com/firebase/firebase-admin-node/pull/29.patch","issue_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/29","number":29,"state":"open","locked":false,"title":"Running Unit Tests without gcloud SDK in Automated Environments","user":{"login":"hiranya911","id":2375201,"avatar_url":"https://avatars2.githubusercontent.com/u/2375201?v=3","gravatar_id":"","url":"https://api.github.com/users/hiranya911","html_url":"https://github.com/hiranya911","followers_url":"https://api.github.com/users/hiranya911/followers","following_url":"https://api.github.com/users/hiranya911/following{/other_user}","gists_url":"https://api.github.com/users/hiranya911/gists{/gist_id}","starred_url":"https://api.github.com/users/hiranya911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiranya911/subscriptions","organizations_url":"https://api.github.com/users/hiranya911/orgs","repos_url":"https://api.github.com/users/hiranya911/repos","events_url":"https://api.github.com/users/hiranya911/events{/privacy}","received_events_url":"https://api.github.com/users/hiranya911/received_events","type":"User","site_admin":false},"body":"The unit test framework requires a local installation of the gcloud SDK, and also to authorize it by running `gcloud auth application-default login`. This is an interactive process which cannot be fully automated. As a result we cannot run it in an automated environment like TravisCI. \r\n\r\nThis patch updates application default credential tests to run by setting the `GOOGLE_APPLICATION_CREDENTIALS` environment variable. For a number of other auth tests, we introduce a new `MockCredential` (these tests simply require some non-cert credential).","created_at":"2017-05-18T01:10:06Z","updated_at":"2017-05-18T01:10:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/firebase/firebase-admin-node/pulls/29/commits","review_comments_url":"https://api.github.com/repos/firebase/firebase-admin-node/pulls/29/comments","review_comment_url":"https://api.github.com/repos/firebase/firebase-admin-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/29/comments","statuses_url":"https://api.github.com/repos/firebase/firebase-admin-node/statuses/b3258d9302c59fbee2ffc62b36ad55b875ef456c","head":{"label":"firebase:hkj-fix-tests","ref":"hkj-fix-tests","sha":"b3258d9302c59fbee2ffc62b36ad55b875ef456c","user":{"login":"firebase","id":1335026,"avatar_url":"https://avatars1.githubusercontent.com/u/1335026?v=3","gravatar_id":"","url":"https://api.github.com/users/firebase","html_url":"https://github.com/firebase","followers_url":"https://api.github.com/users/firebase/followers","following_url":"https://api.github.com/users/firebase/following{/other_user}","gists_url":"https://api.github.com/users/firebase/gists{/gist_id}","starred_url":"https://api.github.com/users/firebase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firebase/subscriptions","organizations_url":"https://api.github.com/users/firebase/orgs","repos_url":"https://api.github.com/users/firebase/repos","events_url":"https://api.github.com/users/firebase/events{/privacy}","received_events_url":"https://api.github.com/users/firebase/received_events","type":"Organization","site_admin":false},"repo":{"id":84979087,"name":"firebase-admin-node","full_name":"firebase/firebase-admin-node","owner":{"login":"firebase","id":1335026,"avatar_url":"https://avatars1.githubusercontent.com/u/1335026?v=3","gravatar_id":"","url":"https://api.github.com/users/firebase","html_url":"https://github.com/firebase","followers_url":"https://api.github.com/users/firebase/followers","following_url":"https://api.github.com/users/firebase/following{/other_user}","gists_url":"https://api.github.com/users/firebase/gists{/gist_id}","starred_url":"https://api.github.com/users/firebase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firebase/subscriptions","organizations_url":"https://api.github.com/users/firebase/orgs","repos_url":"https://api.github.com/users/firebase/repos","events_url":"https://api.github.com/users/firebase/events{/privacy}","received_events_url":"https://api.github.com/users/firebase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/firebase/firebase-admin-node","description":"Firebase Admin Node.js SDK","fork":false,"url":"https://api.github.com/repos/firebase/firebase-admin-node","forks_url":"https://api.github.com/repos/firebase/firebase-admin-node/forks","keys_url":"https://api.github.com/repos/firebase/firebase-admin-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/firebase/firebase-admin-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/firebase/firebase-admin-node/teams","hooks_url":"https://api.github.com/repos/firebase/firebase-admin-node/hooks","issue_events_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/events{/number}","events_url":"https://api.github.com/repos/firebase/firebase-admin-node/events","assignees_url":"https://api.github.com/repos/firebase/firebase-admin-node/assignees{/user}","branches_url":"https://api.github.com/repos/firebase/firebase-admin-node/branches{/branch}","tags_url":"https://api.github.com/repos/firebase/firebase-admin-node/tags","blobs_url":"https://api.github.com/repos/firebase/firebase-admin-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/firebase/firebase-admin-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/firebase/firebase-admin-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/firebase/firebase-admin-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/firebase/firebase-admin-node/statuses/{sha}","languages_url":"https://api.github.com/repos/firebase/firebase-admin-node/languages","stargazers_url":"https://api.github.com/repos/firebase/firebase-admin-node/stargazers","contributors_url":"https://api.github.com/repos/firebase/firebase-admin-node/contributors","subscribers_url":"https://api.github.com/repos/firebase/firebase-admin-node/subscribers","subscription_url":"https://api.github.com/repos/firebase/firebase-admin-node/subscription","commits_url":"https://api.github.com/repos/firebase/firebase-admin-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/firebase/firebase-admin-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/firebase/firebase-admin-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/firebase/firebase-admin-node/contents/{+path}","compare_url":"https://api.github.com/repos/firebase/firebase-admin-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/firebase/firebase-admin-node/merges","archive_url":"https://api.github.com/repos/firebase/firebase-admin-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/firebase/firebase-admin-node/downloads","issues_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues{/number}","pulls_url":"https://api.github.com/repos/firebase/firebase-admin-node/pulls{/number}","milestones_url":"https://api.github.com/repos/firebase/firebase-admin-node/milestones{/number}","notifications_url":"https://api.github.com/repos/firebase/firebase-admin-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/firebase/firebase-admin-node/labels{/name}","releases_url":"https://api.github.com/repos/firebase/firebase-admin-node/releases{/id}","deployments_url":"https://api.github.com/repos/firebase/firebase-admin-node/deployments","created_at":"2017-03-14T17:39:33Z","updated_at":"2017-05-18T01:09:53Z","pushed_at":"2017-05-18T01:08:01Z","git_url":"git://github.com/firebase/firebase-admin-node.git","ssh_url":"git@github.com:firebase/firebase-admin-node.git","clone_url":"https://github.com/firebase/firebase-admin-node.git","svn_url":"https://github.com/firebase/firebase-admin-node","homepage":"https://firebase.google.com/docs/admin/setup","size":498,"stargazers_count":11,"watchers_count":11,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":11,"default_branch":"master"}},"base":{"label":"firebase:master","ref":"master","sha":"33d3216feda3e468bec7b044dee6ce6d4eed67c6","user":{"login":"firebase","id":1335026,"avatar_url":"https://avatars1.githubusercontent.com/u/1335026?v=3","gravatar_id":"","url":"https://api.github.com/users/firebase","html_url":"https://github.com/firebase","followers_url":"https://api.github.com/users/firebase/followers","following_url":"https://api.github.com/users/firebase/following{/other_user}","gists_url":"https://api.github.com/users/firebase/gists{/gist_id}","starred_url":"https://api.github.com/users/firebase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firebase/subscriptions","organizations_url":"https://api.github.com/users/firebase/orgs","repos_url":"https://api.github.com/users/firebase/repos","events_url":"https://api.github.com/users/firebase/events{/privacy}","received_events_url":"https://api.github.com/users/firebase/received_events","type":"Organization","site_admin":false},"repo":{"id":84979087,"name":"firebase-admin-node","full_name":"firebase/firebase-admin-node","owner":{"login":"firebase","id":1335026,"avatar_url":"https://avatars1.githubusercontent.com/u/1335026?v=3","gravatar_id":"","url":"https://api.github.com/users/firebase","html_url":"https://github.com/firebase","followers_url":"https://api.github.com/users/firebase/followers","following_url":"https://api.github.com/users/firebase/following{/other_user}","gists_url":"https://api.github.com/users/firebase/gists{/gist_id}","starred_url":"https://api.github.com/users/firebase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firebase/subscriptions","organizations_url":"https://api.github.com/users/firebase/orgs","repos_url":"https://api.github.com/users/firebase/repos","events_url":"https://api.github.com/users/firebase/events{/privacy}","received_events_url":"https://api.github.com/users/firebase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/firebase/firebase-admin-node","description":"Firebase Admin Node.js SDK","fork":false,"url":"https://api.github.com/repos/firebase/firebase-admin-node","forks_url":"https://api.github.com/repos/firebase/firebase-admin-node/forks","keys_url":"https://api.github.com/repos/firebase/firebase-admin-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/firebase/firebase-admin-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/firebase/firebase-admin-node/teams","hooks_url":"https://api.github.com/repos/firebase/firebase-admin-node/hooks","issue_events_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/events{/number}","events_url":"https://api.github.com/repos/firebase/firebase-admin-node/events","assignees_url":"https://api.github.com/repos/firebase/firebase-admin-node/assignees{/user}","branches_url":"https://api.github.com/repos/firebase/firebase-admin-node/branches{/branch}","tags_url":"https://api.github.com/repos/firebase/firebase-admin-node/tags","blobs_url":"https://api.github.com/repos/firebase/firebase-admin-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/firebase/firebase-admin-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/firebase/firebase-admin-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/firebase/firebase-admin-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/firebase/firebase-admin-node/statuses/{sha}","languages_url":"https://api.github.com/repos/firebase/firebase-admin-node/languages","stargazers_url":"https://api.github.com/repos/firebase/firebase-admin-node/stargazers","contributors_url":"https://api.github.com/repos/firebase/firebase-admin-node/contributors","subscribers_url":"https://api.github.com/repos/firebase/firebase-admin-node/subscribers","subscription_url":"https://api.github.com/repos/firebase/firebase-admin-node/subscription","commits_url":"https://api.github.com/repos/firebase/firebase-admin-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/firebase/firebase-admin-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/firebase/firebase-admin-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/firebase/firebase-admin-node/contents/{+path}","compare_url":"https://api.github.com/repos/firebase/firebase-admin-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/firebase/firebase-admin-node/merges","archive_url":"https://api.github.com/repos/firebase/firebase-admin-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/firebase/firebase-admin-node/downloads","issues_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues{/number}","pulls_url":"https://api.github.com/repos/firebase/firebase-admin-node/pulls{/number}","milestones_url":"https://api.github.com/repos/firebase/firebase-admin-node/milestones{/number}","notifications_url":"https://api.github.com/repos/firebase/firebase-admin-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/firebase/firebase-admin-node/labels{/name}","releases_url":"https://api.github.com/repos/firebase/firebase-admin-node/releases{/id}","deployments_url":"https://api.github.com/repos/firebase/firebase-admin-node/deployments","created_at":"2017-03-14T17:39:33Z","updated_at":"2017-05-18T01:09:53Z","pushed_at":"2017-05-18T01:08:01Z","git_url":"git://github.com/firebase/firebase-admin-node.git","ssh_url":"git@github.com:firebase/firebase-admin-node.git","clone_url":"https://github.com/firebase/firebase-admin-node.git","svn_url":"https://github.com/firebase/firebase-admin-node","homepage":"https://firebase.google.com/docs/admin/setup","size":498,"stargazers_count":11,"watchers_count":11,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/firebase/firebase-admin-node/pulls/29"},"html":{"href":"https://github.com/firebase/firebase-admin-node/pull/29"},"issue":{"href":"https://api.github.com/repos/firebase/firebase-admin-node/issues/29"},"comments":{"href":"https://api.github.com/repos/firebase/firebase-admin-node/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/firebase/firebase-admin-node/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/firebase/firebase-admin-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/firebase/firebase-admin-node/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/firebase/firebase-admin-node/statuses/b3258d9302c59fbee2ffc62b36ad55b875ef456c"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":33,"deletions":11,"changed_files":3}}
{"actor":{"display_login":"hiranya911"}}