{"action":"created","comment":{"url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/comments/219817716","pull_request_review_id":158080217,"id":219817716,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTgxNzcxNg==","diff_hunk":"@@ -1,6 +1,10 @@\n COMPOSE_PROJECT_NAME=xpub\n XPUB_VERSION=487fe36514623e9171767a637c1f91e505c692d5\n+SCIENCEBEAM_TAG=f05c51adbc49b47a65df1c3b7f69d25e401f5560","path":".env","position":3,"original_position":3,"commit_id":"80baccd1d2f0641ebd74117189c2f3560fedef62","original_commit_id":"80baccd1d2f0641ebd74117189c2f3560fedef62","user":{"login":"giorgiosironi","id":160299,"node_id":"MDQ6VXNlcjE2MDI5OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/160299?v=4","gravatar_id":"","url":"https://api.github.com/users/giorgiosironi","html_url":"https://github.com/giorgiosironi","followers_url":"https://api.github.com/users/giorgiosironi/followers","following_url":"https://api.github.com/users/giorgiosironi/following{/other_user}","gists_url":"https://api.github.com/users/giorgiosironi/gists{/gist_id}","starred_url":"https://api.github.com/users/giorgiosironi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giorgiosironi/subscriptions","organizations_url":"https://api.github.com/users/giorgiosironi/orgs","repos_url":"https://api.github.com/users/giorgiosironi/repos","events_url":"https://api.github.com/users/giorgiosironi/events{/privacy}","received_events_url":"https://api.github.com/users/giorgiosironi/received_events","type":"User","site_admin":false},"body":"The update process for `sciencebeam` will look like:\r\n- open a manual PR to this repo\r\n- review&merge\r\n- propagate this across environments\r\nall while the version of `elife-xpub` remains the same as before (as it is automatically committed at the moment, so it cannot be stopped from propagating). With enough backward compatibility this should not be a problem.","created_at":"2018-09-24T12:30:58Z","updated_at":"2018-09-24T12:30:58Z","html_url":"https://github.com/elifesciences/elife-xpub-deployment/pull/10#discussion_r219817716","pull_request_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/10","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/comments/219817716"},"html":{"href":"https://github.com/elifesciences/elife-xpub-deployment/pull/10#discussion_r219817716"},"pull_request":{"href":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/10","id":217634890,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NjM0ODkw","html_url":"https://github.com/elifesciences/elife-xpub-deployment/pull/10","diff_url":"https://github.com/elifesciences/elife-xpub-deployment/pull/10.diff","patch_url":"https://github.com/elifesciences/elife-xpub-deployment/pull/10.patch","issue_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/issues/10","number":10,"state":"open","locked":false,"title":"Switch xPub to production mode and add sciencebeam containers","user":{"login":"tamlyn","id":115310,"node_id":"MDQ6VXNlcjExNTMxMA==","avatar_url":"https://avatars2.githubusercontent.com/u/115310?v=4","gravatar_id":"","url":"https://api.github.com/users/tamlyn","html_url":"https://github.com/tamlyn","followers_url":"https://api.github.com/users/tamlyn/followers","following_url":"https://api.github.com/users/tamlyn/following{/other_user}","gists_url":"https://api.github.com/users/tamlyn/gists{/gist_id}","starred_url":"https://api.github.com/users/tamlyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamlyn/subscriptions","organizations_url":"https://api.github.com/users/tamlyn/orgs","repos_url":"https://api.github.com/users/tamlyn/repos","events_url":"https://api.github.com/users/tamlyn/events{/privacy}","received_events_url":"https://api.github.com/users/tamlyn/received_events","type":"User","site_admin":false},"body":"- copy [science beam docker compose config](https://github.com/elifesciences/sciencebeam-texture/blob/develop/docker-compose.yml)\r\n- start xPub with `NODE_ENV=production`\r\n- remove old and redundant config\r\n\r\nTo get this working locally I just had to set `ORCID_CLIENT_ID` and `ORCID_CLIENT_SECRET`.\r\n\r\nI'm not sure how the `.env` file is used in deployment. e.g. how are the real values inserted? \r\n\r\nCloses https://github.com/elifesciences/elife-xpub/issues/658","created_at":"2018-09-24T12:09:56Z","updated_at":"2018-09-24T12:30:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e7adfee3042c455dba7f62882d574d5c8831a7f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/10/commits","review_comments_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/10/comments","review_comment_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/issues/10/comments","statuses_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/statuses/80baccd1d2f0641ebd74117189c2f3560fedef62","head":{"label":"elifesciences:science-beam","ref":"science-beam","sha":"80baccd1d2f0641ebd74117189c2f3560fedef62","user":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"repo":{"id":133533254,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1MzMyNTQ=","name":"elife-xpub-deployment","full_name":"elifesciences/elife-xpub-deployment","private":false,"owner":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elifesciences/elife-xpub-deployment","description":null,"fork":false,"url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment","forks_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/forks","keys_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/teams","hooks_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/hooks","issue_events_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/issues/events{/number}","events_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/events","assignees_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/assignees{/user}","branches_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/branches{/branch}","tags_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/tags","blobs_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/git/refs{/sha}","trees_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/statuses/{sha}","languages_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/languages","stargazers_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/stargazers","contributors_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/contributors","subscribers_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/subscribers","subscription_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/subscription","commits_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/commits{/sha}","git_commits_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/git/commits{/sha}","comments_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/comments{/number}","issue_comment_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/issues/comments{/number}","contents_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/contents/{+path}","compare_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/merges","archive_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/downloads","issues_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/issues{/number}","pulls_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls{/number}","milestones_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/milestones{/number}","notifications_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/labels{/name}","releases_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/releases{/id}","deployments_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/deployments","created_at":"2018-05-15T15:04:58Z","updated_at":"2018-09-24T10:43:20Z","pushed_at":"2018-09-24T12:09:57Z","git_url":"git://github.com/elifesciences/elife-xpub-deployment.git","ssh_url":"git@github.com:elifesciences/elife-xpub-deployment.git","clone_url":"https://github.com/elifesciences/elife-xpub-deployment.git","svn_url":"https://github.com/elifesciences/elife-xpub-deployment","homepage":null,"size":81,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"elifesciences:develop","ref":"develop","sha":"93c70f5625f15f076d6d05c8cec6bc08a24b5bcc","user":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"repo":{"id":133533254,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1MzMyNTQ=","name":"elife-xpub-deployment","full_name":"elifesciences/elife-xpub-deployment","private":false,"owner":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elifesciences/elife-xpub-deployment","description":null,"fork":false,"url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment","forks_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/forks","keys_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/teams","hooks_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/hooks","issue_events_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/issues/events{/number}","events_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/events","assignees_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/assignees{/user}","branches_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/branches{/branch}","tags_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/tags","blobs_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/git/refs{/sha}","trees_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/statuses/{sha}","languages_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/languages","stargazers_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/stargazers","contributors_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/contributors","subscribers_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/subscribers","subscription_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/subscription","commits_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/commits{/sha}","git_commits_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/git/commits{/sha}","comments_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/comments{/number}","issue_comment_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/issues/comments{/number}","contents_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/contents/{+path}","compare_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/merges","archive_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/downloads","issues_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/issues{/number}","pulls_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls{/number}","milestones_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/milestones{/number}","notifications_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/labels{/name}","releases_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/releases{/id}","deployments_url":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/deployments","created_at":"2018-05-15T15:04:58Z","updated_at":"2018-09-24T10:43:20Z","pushed_at":"2018-09-24T12:09:57Z","git_url":"git://github.com/elifesciences/elife-xpub-deployment.git","ssh_url":"git@github.com:elifesciences/elife-xpub-deployment.git","clone_url":"https://github.com/elifesciences/elife-xpub-deployment.git","svn_url":"https://github.com/elifesciences/elife-xpub-deployment","homepage":null,"size":81,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/10"},"html":{"href":"https://github.com/elifesciences/elife-xpub-deployment/pull/10"},"issue":{"href":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/issues/10"},"comments":{"href":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/elifesciences/elife-xpub-deployment/statuses/80baccd1d2f0641ebd74117189c2f3560fedef62"}},"author_association":"NONE"}}
{"actor":{"display_login":"giorgiosironi"}}