{"action":"closed","number":845,"pull_request":{"url":"https://api.github.com/repos/OriginProtocol/origin/pulls/845","id":226755598,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NzU1NTk4","html_url":"https://github.com/OriginProtocol/origin/pull/845","diff_url":"https://github.com/OriginProtocol/origin/pull/845.diff","patch_url":"https://github.com/OriginProtocol/origin/pull/845.patch","issue_url":"https://api.github.com/repos/OriginProtocol/origin/issues/845","number":845,"state":"closed","locked":false,"title":"Automated deployment configuration","user":{"login":"tomlinton","id":489202,"node_id":"MDQ6VXNlcjQ4OTIwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/489202?v=4","gravatar_id":"","url":"https://api.github.com/users/tomlinton","html_url":"https://github.com/tomlinton","followers_url":"https://api.github.com/users/tomlinton/followers","following_url":"https://api.github.com/users/tomlinton/following{/other_user}","gists_url":"https://api.github.com/users/tomlinton/gists{/gist_id}","starred_url":"https://api.github.com/users/tomlinton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomlinton/subscriptions","organizations_url":"https://api.github.com/users/tomlinton/orgs","repos_url":"https://api.github.com/users/tomlinton/repos","events_url":"https://api.github.com/users/tomlinton/events{/privacy}","received_events_url":"https://api.github.com/users/tomlinton/received_events","type":"User","site_admin":false},"body":"First pull request? Read our [guide to contributing](http://docs.originprotocol.com/#contributing)\r\n\r\n### Checklist:\r\n\r\n- [x] Test your work and double-check to confirm that you didn't break anything\r\n- [x] Ensure all new and existing tests pass\r\n- [x] Format code to be consistent with the project\r\n- [x] Wrap any new text/strings for translation\r\n- [x] Map any new environment variables with a default value in the Webpack config\r\n- [x] Update any relevant READMEs and [docs](https://github.com/OriginProtocol/origin/tree/master/origin-docs)\r\n\r\n### Description:\r\n\r\n- Adds Google Cloud Build config for build -> deploy -> commit tags\r\n- Adds code for generating Discord webhooks in response to Cloud Build events (started, success, fail, timeout)\r\n- Cleanup production vs dev dependencies for the DApp (anything that is required to build or run the DApp is a production dependency, everything else is dev)\r\n- Optimised the containers for production builds and faster build times\r\n- Created new secrets files that use the gcloud encrypt/decrypt tool rather than sops\r\n- Added encrypted SSH key for GitHub so that the CI setup can push deployed tags\r\n- Added missing Origin testnet to supported networks in DApp\r\n- Couple of other minor cleanups\r\n\r\nAfter this gets merged I just need to configure the triggers in GCC and we should be all go.\r\n\r\nFuture TODOs:\r\n\r\n- Use `lerna bootstrap` to further speed up builds where common dependencies exist\r\n- Use Docker's `--cache-from` flag to speed up container builds\r\n","created_at":"2018-10-30T00:27:00Z","updated_at":"2018-11-03T22:43:20Z","closed_at":"2018-11-03T22:43:19Z","merged_at":"2018-11-03T22:43:19Z","merge_commit_sha":"d2525d26b2861e2b4be06b39006d098b48124282","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OriginProtocol/origin/pulls/845/commits","review_comments_url":"https://api.github.com/repos/OriginProtocol/origin/pulls/845/comments","review_comment_url":"https://api.github.com/repos/OriginProtocol/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OriginProtocol/origin/issues/845/comments","statuses_url":"https://api.github.com/repos/OriginProtocol/origin/statuses/c5bb457d3f16dbee04d308181811520454b09cbd","head":{"label":"OriginProtocol:tomlinton/cloudbuild","ref":"tomlinton/cloudbuild","sha":"c5bb457d3f16dbee04d308181811520454b09cbd","user":{"login":"OriginProtocol","id":30638653,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNjM4NjUz","avatar_url":"https://avatars2.githubusercontent.com/u/30638653?v=4","gravatar_id":"","url":"https://api.github.com/users/OriginProtocol","html_url":"https://github.com/OriginProtocol","followers_url":"https://api.github.com/users/OriginProtocol/followers","following_url":"https://api.github.com/users/OriginProtocol/following{/other_user}","gists_url":"https://api.github.com/users/OriginProtocol/gists{/gist_id}","starred_url":"https://api.github.com/users/OriginProtocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OriginProtocol/subscriptions","organizations_url":"https://api.github.com/users/OriginProtocol/orgs","repos_url":"https://api.github.com/users/OriginProtocol/repos","events_url":"https://api.github.com/users/OriginProtocol/events{/privacy}","received_events_url":"https://api.github.com/users/OriginProtocol/received_events","type":"Organization","site_admin":false},"repo":{"id":99047066,"node_id":"MDEwOlJlcG9zaXRvcnk5OTA0NzA2Ng==","name":"origin","full_name":"OriginProtocol/origin","private":false,"owner":{"login":"OriginProtocol","id":30638653,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNjM4NjUz","avatar_url":"https://avatars2.githubusercontent.com/u/30638653?v=4","gravatar_id":"","url":"https://api.github.com/users/OriginProtocol","html_url":"https://github.com/OriginProtocol","followers_url":"https://api.github.com/users/OriginProtocol/followers","following_url":"https://api.github.com/users/OriginProtocol/following{/other_user}","gists_url":"https://api.github.com/users/OriginProtocol/gists{/gist_id}","starred_url":"https://api.github.com/users/OriginProtocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OriginProtocol/subscriptions","organizations_url":"https://api.github.com/users/OriginProtocol/orgs","repos_url":"https://api.github.com/users/OriginProtocol/repos","events_url":"https://api.github.com/users/OriginProtocol/events{/privacy}","received_events_url":"https://api.github.com/users/OriginProtocol/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/OriginProtocol/origin","description":"Monorepo for our developer tools and decentralized application","fork":false,"url":"https://api.github.com/repos/OriginProtocol/origin","forks_url":"https://api.github.com/repos/OriginProtocol/origin/forks","keys_url":"https://api.github.com/repos/OriginProtocol/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OriginProtocol/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OriginProtocol/origin/teams","hooks_url":"https://api.github.com/repos/OriginProtocol/origin/hooks","issue_events_url":"https://api.github.com/repos/OriginProtocol/origin/issues/events{/number}","events_url":"https://api.github.com/repos/OriginProtocol/origin/events","assignees_url":"https://api.github.com/repos/OriginProtocol/origin/assignees{/user}","branches_url":"https://api.github.com/repos/OriginProtocol/origin/branches{/branch}","tags_url":"https://api.github.com/repos/OriginProtocol/origin/tags","blobs_url":"https://api.github.com/repos/OriginProtocol/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OriginProtocol/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OriginProtocol/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/OriginProtocol/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OriginProtocol/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/OriginProtocol/origin/languages","stargazers_url":"https://api.github.com/repos/OriginProtocol/origin/stargazers","contributors_url":"https://api.github.com/repos/OriginProtocol/origin/contributors","subscribers_url":"https://api.github.com/repos/OriginProtocol/origin/subscribers","subscription_url":"https://api.github.com/repos/OriginProtocol/origin/subscription","commits_url":"https://api.github.com/repos/OriginProtocol/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/OriginProtocol/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/OriginProtocol/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/OriginProtocol/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/OriginProtocol/origin/contents/{+path}","compare_url":"https://api.github.com/repos/OriginProtocol/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OriginProtocol/origin/merges","archive_url":"https://api.github.com/repos/OriginProtocol/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OriginProtocol/origin/downloads","issues_url":"https://api.github.com/repos/OriginProtocol/origin/issues{/number}","pulls_url":"https://api.github.com/repos/OriginProtocol/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/OriginProtocol/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/OriginProtocol/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OriginProtocol/origin/labels{/name}","releases_url":"https://api.github.com/repos/OriginProtocol/origin/releases{/id}","deployments_url":"https://api.github.com/repos/OriginProtocol/origin/deployments","created_at":"2017-08-01T22:06:57Z","updated_at":"2018-11-03T22:23:10Z","pushed_at":"2018-11-03T22:43:19Z","git_url":"git://github.com/OriginProtocol/origin.git","ssh_url":"git@github.com:OriginProtocol/origin.git","clone_url":"https://github.com/OriginProtocol/origin.git","svn_url":"https://github.com/OriginProtocol/origin","homepage":"https://www.originprotocol.com/developers","size":85319,"stargazers_count":339,"watchers_count":339,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":113,"mirror_url":null,"archived":false,"open_issues_count":169,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":113,"open_issues":169,"watchers":339,"default_branch":"master"}},"base":{"label":"OriginProtocol:master","ref":"master","sha":"cfce48691e52b6ea581a09792fe03678d540ad13","user":{"login":"OriginProtocol","id":30638653,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNjM4NjUz","avatar_url":"https://avatars2.githubusercontent.com/u/30638653?v=4","gravatar_id":"","url":"https://api.github.com/users/OriginProtocol","html_url":"https://github.com/OriginProtocol","followers_url":"https://api.github.com/users/OriginProtocol/followers","following_url":"https://api.github.com/users/OriginProtocol/following{/other_user}","gists_url":"https://api.github.com/users/OriginProtocol/gists{/gist_id}","starred_url":"https://api.github.com/users/OriginProtocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OriginProtocol/subscriptions","organizations_url":"https://api.github.com/users/OriginProtocol/orgs","repos_url":"https://api.github.com/users/OriginProtocol/repos","events_url":"https://api.github.com/users/OriginProtocol/events{/privacy}","received_events_url":"https://api.github.com/users/OriginProtocol/received_events","type":"Organization","site_admin":false},"repo":{"id":99047066,"node_id":"MDEwOlJlcG9zaXRvcnk5OTA0NzA2Ng==","name":"origin","full_name":"OriginProtocol/origin","private":false,"owner":{"login":"OriginProtocol","id":30638653,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNjM4NjUz","avatar_url":"https://avatars2.githubusercontent.com/u/30638653?v=4","gravatar_id":"","url":"https://api.github.com/users/OriginProtocol","html_url":"https://github.com/OriginProtocol","followers_url":"https://api.github.com/users/OriginProtocol/followers","following_url":"https://api.github.com/users/OriginProtocol/following{/other_user}","gists_url":"https://api.github.com/users/OriginProtocol/gists{/gist_id}","starred_url":"https://api.github.com/users/OriginProtocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OriginProtocol/subscriptions","organizations_url":"https://api.github.com/users/OriginProtocol/orgs","repos_url":"https://api.github.com/users/OriginProtocol/repos","events_url":"https://api.github.com/users/OriginProtocol/events{/privacy}","received_events_url":"https://api.github.com/users/OriginProtocol/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/OriginProtocol/origin","description":"Monorepo for our developer tools and decentralized application","fork":false,"url":"https://api.github.com/repos/OriginProtocol/origin","forks_url":"https://api.github.com/repos/OriginProtocol/origin/forks","keys_url":"https://api.github.com/repos/OriginProtocol/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OriginProtocol/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OriginProtocol/origin/teams","hooks_url":"https://api.github.com/repos/OriginProtocol/origin/hooks","issue_events_url":"https://api.github.com/repos/OriginProtocol/origin/issues/events{/number}","events_url":"https://api.github.com/repos/OriginProtocol/origin/events","assignees_url":"https://api.github.com/repos/OriginProtocol/origin/assignees{/user}","branches_url":"https://api.github.com/repos/OriginProtocol/origin/branches{/branch}","tags_url":"https://api.github.com/repos/OriginProtocol/origin/tags","blobs_url":"https://api.github.com/repos/OriginProtocol/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OriginProtocol/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OriginProtocol/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/OriginProtocol/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OriginProtocol/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/OriginProtocol/origin/languages","stargazers_url":"https://api.github.com/repos/OriginProtocol/origin/stargazers","contributors_url":"https://api.github.com/repos/OriginProtocol/origin/contributors","subscribers_url":"https://api.github.com/repos/OriginProtocol/origin/subscribers","subscription_url":"https://api.github.com/repos/OriginProtocol/origin/subscription","commits_url":"https://api.github.com/repos/OriginProtocol/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/OriginProtocol/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/OriginProtocol/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/OriginProtocol/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/OriginProtocol/origin/contents/{+path}","compare_url":"https://api.github.com/repos/OriginProtocol/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OriginProtocol/origin/merges","archive_url":"https://api.github.com/repos/OriginProtocol/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OriginProtocol/origin/downloads","issues_url":"https://api.github.com/repos/OriginProtocol/origin/issues{/number}","pulls_url":"https://api.github.com/repos/OriginProtocol/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/OriginProtocol/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/OriginProtocol/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OriginProtocol/origin/labels{/name}","releases_url":"https://api.github.com/repos/OriginProtocol/origin/releases{/id}","deployments_url":"https://api.github.com/repos/OriginProtocol/origin/deployments","created_at":"2017-08-01T22:06:57Z","updated_at":"2018-11-03T22:23:10Z","pushed_at":"2018-11-03T22:43:19Z","git_url":"git://github.com/OriginProtocol/origin.git","ssh_url":"git@github.com:OriginProtocol/origin.git","clone_url":"https://github.com/OriginProtocol/origin.git","svn_url":"https://github.com/OriginProtocol/origin","homepage":"https://www.originprotocol.com/developers","size":85319,"stargazers_count":339,"watchers_count":339,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":113,"mirror_url":null,"archived":false,"open_issues_count":169,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":113,"open_issues":169,"watchers":339,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OriginProtocol/origin/pulls/845"},"html":{"href":"https://github.com/OriginProtocol/origin/pull/845"},"issue":{"href":"https://api.github.com/repos/OriginProtocol/origin/issues/845"},"comments":{"href":"https://api.github.com/repos/OriginProtocol/origin/issues/845/comments"},"review_comments":{"href":"https://api.github.com/repos/OriginProtocol/origin/pulls/845/comments"},"review_comment":{"href":"https://api.github.com/repos/OriginProtocol/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OriginProtocol/origin/pulls/845/commits"},"statuses":{"href":"https://api.github.com/repos/OriginProtocol/origin/statuses/c5bb457d3f16dbee04d308181811520454b09cbd"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tomlinton","id":489202,"node_id":"MDQ6VXNlcjQ4OTIwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/489202?v=4","gravatar_id":"","url":"https://api.github.com/users/tomlinton","html_url":"https://github.com/tomlinton","followers_url":"https://api.github.com/users/tomlinton/followers","following_url":"https://api.github.com/users/tomlinton/following{/other_user}","gists_url":"https://api.github.com/users/tomlinton/gists{/gist_id}","starred_url":"https://api.github.com/users/tomlinton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomlinton/subscriptions","organizations_url":"https://api.github.com/users/tomlinton/orgs","repos_url":"https://api.github.com/users/tomlinton/repos","events_url":"https://api.github.com/users/tomlinton/events{/privacy}","received_events_url":"https://api.github.com/users/tomlinton/received_events","type":"User","site_admin":false},"comments":3,"review_comments":20,"maintainer_can_modify":false,"commits":58,"additions":10964,"deletions":12240,"changed_files":69}}
{"actor":{"display_login":"tomlinton"}}