{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/che/pulls/comments/140440304","pull_request_review_id":64515239,"id":140440304,"diff_hunk":"@@ -3,5 +3,5 @@ IMAGE_CHE=${BUILD_ORGANIZATION}/${BUILD_PREFIX}-server:${BUILD_TAG}\n IMAGE_CHE_MULTIUSER=${BUILD_ORGANIZATION}/${BUILD_PREFIX}-server-multiuser:${BUILD_TAG}\n IMAGE_COMPOSE=docker/compose:1.10.1\n IMAGE_TRAEFIK=traefik:v1.3.0-rc3\n-IMAGE_POSTGRES=postgres:9.6\n-IMAGE_KEYCLOACK=jboss/keycloak-postgres:3.2.1.Final\n+IMAGE_POSTGRES=centos/postgresql-95-centos7\n+IMAGE_KEYCLOACK=dfestal/keycloak-postgres-openshift:3.2.1.Final","path":"dockerfiles/cli/images.template","position":7,"original_position":7,"commit_id":"d59dbf4464ba20febf6d8a0636c393161b14df3a","original_commit_id":"ba8f04366351f864de779194be87fd7387a3360f","user":{"login":"benoitf","id":436777,"avatar_url":"https://avatars1.githubusercontent.com/u/436777?v=4","gravatar_id":"","url":"https://api.github.com/users/benoitf","html_url":"https://github.com/benoitf","followers_url":"https://api.github.com/users/benoitf/followers","following_url":"https://api.github.com/users/benoitf/following{/other_user}","gists_url":"https://api.github.com/users/benoitf/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitf/subscriptions","organizations_url":"https://api.github.com/users/benoitf/orgs","repos_url":"https://api.github.com/users/benoitf/repos","events_url":"https://api.github.com/users/benoitf/events{/privacy}","received_events_url":"https://api.github.com/users/benoitf/received_events","type":"User","site_admin":false},"body":"@riuvshin  ?","created_at":"2017-09-22T08:42:44Z","updated_at":"2017-09-22T08:42:45Z","html_url":"https://github.com/eclipse/che/pull/6195#discussion_r140440304","pull_request_url":"https://api.github.com/repos/eclipse/che/pulls/6195","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments/140440304"},"html":{"href":"https://github.com/eclipse/che/pull/6195#discussion_r140440304"},"pull_request":{"href":"https://api.github.com/repos/eclipse/che/pulls/6195"}},"in_reply_to_id":137772343},"pull_request":{"url":"https://api.github.com/repos/eclipse/che/pulls/6195","id":139992886,"html_url":"https://github.com/eclipse/che/pull/6195","diff_url":"https://github.com/eclipse/che/pull/6195.diff","patch_url":"https://github.com/eclipse/che/pull/6195.patch","issue_url":"https://api.github.com/repos/eclipse/che/issues/6195","number":6195,"state":"open","locked":false,"title":"Che multi user deploy to openshift","user":{"login":"davidfestal","id":686586,"avatar_url":"https://avatars1.githubusercontent.com/u/686586?v=4","gravatar_id":"","url":"https://api.github.com/users/davidfestal","html_url":"https://github.com/davidfestal","followers_url":"https://api.github.com/users/davidfestal/followers","following_url":"https://api.github.com/users/davidfestal/following{/other_user}","gists_url":"https://api.github.com/users/davidfestal/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfestal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfestal/subscriptions","organizations_url":"https://api.github.com/users/davidfestal/orgs","repos_url":"https://api.github.com/users/davidfestal/repos","events_url":"https://api.github.com/users/davidfestal/events{/privacy}","received_events_url":"https://api.github.com/users/davidfestal/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\n\r\nThis PR proposes some changes required to enable the `che-server-multiuser` docker image to run on Minishift, as well as the required Postgres database server and optionally the customized Keycloak server. \r\n\r\n### How to test multi-user CHE on Minishift without building anything:\r\n\r\nYou can test it through already build docker images with the following steps:\r\n\r\n```\r\n# You can set  CHE_IMAGE_REPO to your locally-built Che multi-server docker image.\r\nexport CHE_IMAGE_REPO=\"dfestal/che-server-multiuser\"\r\n\r\nexport CHE_IMAGE_TAG=nightly\r\nexport CHE_MULTI_USER=true\r\nexport CHE_DEDICATED_KEYCLOAK=true\r\n\r\ndocker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/conf:/data -e CHE_MULTIUSER=true dfestal/che-cli:nightly config\r\n\r\n./conf/instance/config/openshift/scripts/deploy_che.sh\r\n``` \r\n\r\n### To build everything locally and start multi-user Che on Minishift:\r\n\r\n- Rebuild upstream che from the `davidfestal:che-multi-user-deploy-to-openshift`\r\n- Check that Minishift is running\r\n- Connect the current terminal to the Minishift docker daemon\r\n- Rebuild `init`, `cli` and `che` images (in the given sequence). To do that, proceed to folder `dockerfiles/<image_name>` and run `build.sh`\r\n- Change directory to `dockerfiles/init/modules/openshift/files/scripts`\r\n- Set the following environment variables:\r\n```\r\n  export CHE_IMAGE_TAG=nightly\r\n  export CHE_MULTI_USER=true\r\n  export CHE_DEDICATED_KEYCLOAK=true\r\n```\r\n- run the following commands:\r\n```\r\nbash ./deploy_che.sh\r\n```\r\n","created_at":"2017-09-08T09:29:30Z","updated_at":"2017-09-22T08:42:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"559e5a082a77549e4b83468f7e140e881273ddd1","assignee":{"login":"davidfestal","id":686586,"avatar_url":"https://avatars1.githubusercontent.com/u/686586?v=4","gravatar_id":"","url":"https://api.github.com/users/davidfestal","html_url":"https://github.com/davidfestal","followers_url":"https://api.github.com/users/davidfestal/followers","following_url":"https://api.github.com/users/davidfestal/following{/other_user}","gists_url":"https://api.github.com/users/davidfestal/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfestal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfestal/subscriptions","organizations_url":"https://api.github.com/users/davidfestal/orgs","repos_url":"https://api.github.com/users/davidfestal/repos","events_url":"https://api.github.com/users/davidfestal/events{/privacy}","received_events_url":"https://api.github.com/users/davidfestal/received_events","type":"User","site_admin":false},"assignees":[{"login":"davidfestal","id":686586,"avatar_url":"https://avatars1.githubusercontent.com/u/686586?v=4","gravatar_id":"","url":"https://api.github.com/users/davidfestal","html_url":"https://github.com/davidfestal","followers_url":"https://api.github.com/users/davidfestal/followers","following_url":"https://api.github.com/users/davidfestal/following{/other_user}","gists_url":"https://api.github.com/users/davidfestal/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfestal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfestal/subscriptions","organizations_url":"https://api.github.com/users/davidfestal/orgs","repos_url":"https://api.github.com/users/davidfestal/repos","events_url":"https://api.github.com/users/davidfestal/events{/privacy}","received_events_url":"https://api.github.com/users/davidfestal/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"mshaposhnik","id":1651062,"avatar_url":"https://avatars0.githubusercontent.com/u/1651062?v=4","gravatar_id":"","url":"https://api.github.com/users/mshaposhnik","html_url":"https://github.com/mshaposhnik","followers_url":"https://api.github.com/users/mshaposhnik/followers","following_url":"https://api.github.com/users/mshaposhnik/following{/other_user}","gists_url":"https://api.github.com/users/mshaposhnik/gists{/gist_id}","starred_url":"https://api.github.com/users/mshaposhnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshaposhnik/subscriptions","organizations_url":"https://api.github.com/users/mshaposhnik/orgs","repos_url":"https://api.github.com/users/mshaposhnik/repos","events_url":"https://api.github.com/users/mshaposhnik/events{/privacy}","received_events_url":"https://api.github.com/users/mshaposhnik/received_events","type":"User","site_admin":false},{"login":"eivantsov","id":5337267,"avatar_url":"https://avatars2.githubusercontent.com/u/5337267?v=4","gravatar_id":"","url":"https://api.github.com/users/eivantsov","html_url":"https://github.com/eivantsov","followers_url":"https://api.github.com/users/eivantsov/followers","following_url":"https://api.github.com/users/eivantsov/following{/other_user}","gists_url":"https://api.github.com/users/eivantsov/gists{/gist_id}","starred_url":"https://api.github.com/users/eivantsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eivantsov/subscriptions","organizations_url":"https://api.github.com/users/eivantsov/orgs","repos_url":"https://api.github.com/users/eivantsov/repos","events_url":"https://api.github.com/users/eivantsov/events{/privacy}","received_events_url":"https://api.github.com/users/eivantsov/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/che/pulls/6195/commits","review_comments_url":"https://api.github.com/repos/eclipse/che/pulls/6195/comments","review_comment_url":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/che/issues/6195/comments","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/d59dbf4464ba20febf6d8a0636c393161b14df3a","head":{"label":"davidfestal:che-multi-user-deploy-to-openshift","ref":"che-multi-user-deploy-to-openshift","sha":"d59dbf4464ba20febf6d8a0636c393161b14df3a","user":{"login":"davidfestal","id":686586,"avatar_url":"https://avatars1.githubusercontent.com/u/686586?v=4","gravatar_id":"","url":"https://api.github.com/users/davidfestal","html_url":"https://github.com/davidfestal","followers_url":"https://api.github.com/users/davidfestal/followers","following_url":"https://api.github.com/users/davidfestal/following{/other_user}","gists_url":"https://api.github.com/users/davidfestal/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfestal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfestal/subscriptions","organizations_url":"https://api.github.com/users/davidfestal/orgs","repos_url":"https://api.github.com/users/davidfestal/repos","events_url":"https://api.github.com/users/davidfestal/events{/privacy}","received_events_url":"https://api.github.com/users/davidfestal/received_events","type":"User","site_admin":false},"repo":{"id":81804592,"name":"che","full_name":"davidfestal/che","owner":{"login":"davidfestal","id":686586,"avatar_url":"https://avatars1.githubusercontent.com/u/686586?v=4","gravatar_id":"","url":"https://api.github.com/users/davidfestal","html_url":"https://github.com/davidfestal","followers_url":"https://api.github.com/users/davidfestal/followers","following_url":"https://api.github.com/users/davidfestal/following{/other_user}","gists_url":"https://api.github.com/users/davidfestal/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfestal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfestal/subscriptions","organizations_url":"https://api.github.com/users/davidfestal/orgs","repos_url":"https://api.github.com/users/davidfestal/repos","events_url":"https://api.github.com/users/davidfestal/events{/privacy}","received_events_url":"https://api.github.com/users/davidfestal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidfestal/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":true,"url":"https://api.github.com/repos/davidfestal/che","forks_url":"https://api.github.com/repos/davidfestal/che/forks","keys_url":"https://api.github.com/repos/davidfestal/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidfestal/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidfestal/che/teams","hooks_url":"https://api.github.com/repos/davidfestal/che/hooks","issue_events_url":"https://api.github.com/repos/davidfestal/che/issues/events{/number}","events_url":"https://api.github.com/repos/davidfestal/che/events","assignees_url":"https://api.github.com/repos/davidfestal/che/assignees{/user}","branches_url":"https://api.github.com/repos/davidfestal/che/branches{/branch}","tags_url":"https://api.github.com/repos/davidfestal/che/tags","blobs_url":"https://api.github.com/repos/davidfestal/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidfestal/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidfestal/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidfestal/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidfestal/che/statuses/{sha}","languages_url":"https://api.github.com/repos/davidfestal/che/languages","stargazers_url":"https://api.github.com/repos/davidfestal/che/stargazers","contributors_url":"https://api.github.com/repos/davidfestal/che/contributors","subscribers_url":"https://api.github.com/repos/davidfestal/che/subscribers","subscription_url":"https://api.github.com/repos/davidfestal/che/subscription","commits_url":"https://api.github.com/repos/davidfestal/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidfestal/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidfestal/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidfestal/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidfestal/che/contents/{+path}","compare_url":"https://api.github.com/repos/davidfestal/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidfestal/che/merges","archive_url":"https://api.github.com/repos/davidfestal/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidfestal/che/downloads","issues_url":"https://api.github.com/repos/davidfestal/che/issues{/number}","pulls_url":"https://api.github.com/repos/davidfestal/che/pulls{/number}","milestones_url":"https://api.github.com/repos/davidfestal/che/milestones{/number}","notifications_url":"https://api.github.com/repos/davidfestal/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidfestal/che/labels{/name}","releases_url":"https://api.github.com/repos/davidfestal/che/releases{/id}","deployments_url":"https://api.github.com/repos/davidfestal/che/deployments","created_at":"2017-02-13T08:58:05Z","updated_at":"2017-02-13T08:58:27Z","pushed_at":"2017-09-22T08:32:51Z","git_url":"git://github.com/davidfestal/che.git","ssh_url":"git@github.com:davidfestal/che.git","clone_url":"https://github.com/davidfestal/che.git","svn_url":"https://github.com/davidfestal/che","homepage":"http://eclipse.org/che","size":123570,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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":"eclipse:che-multiuser","ref":"che-multiuser","sha":"831fc636a4b8773420da72ae3a9463d3c9dcdf78","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":32935745,"name":"che","full_name":"eclipse/che","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":false,"url":"https://api.github.com/repos/eclipse/che","forks_url":"https://api.github.com/repos/eclipse/che/forks","keys_url":"https://api.github.com/repos/eclipse/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/che/teams","hooks_url":"https://api.github.com/repos/eclipse/che/hooks","issue_events_url":"https://api.github.com/repos/eclipse/che/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/che/events","assignees_url":"https://api.github.com/repos/eclipse/che/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/che/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/che/tags","blobs_url":"https://api.github.com/repos/eclipse/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/che/languages","stargazers_url":"https://api.github.com/repos/eclipse/che/stargazers","contributors_url":"https://api.github.com/repos/eclipse/che/contributors","subscribers_url":"https://api.github.com/repos/eclipse/che/subscribers","subscription_url":"https://api.github.com/repos/eclipse/che/subscription","commits_url":"https://api.github.com/repos/eclipse/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/che/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/che/merges","archive_url":"https://api.github.com/repos/eclipse/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/che/downloads","issues_url":"https://api.github.com/repos/eclipse/che/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/che/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/che/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/che/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/che/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/che/deployments","created_at":"2015-03-26T15:31:01Z","updated_at":"2017-09-22T05:52:16Z","pushed_at":"2017-09-22T08:32:53Z","git_url":"git://github.com/eclipse/che.git","ssh_url":"git@github.com:eclipse/che.git","clone_url":"https://github.com/eclipse/che.git","svn_url":"https://github.com/eclipse/che","homepage":"http://eclipse.org/che","size":66192,"stargazers_count":4313,"watchers_count":4313,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":733,"mirror_url":null,"open_issues_count":509,"forks":733,"open_issues":509,"watchers":4313,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/6195"},"html":{"href":"https://github.com/eclipse/che/pull/6195"},"issue":{"href":"https://api.github.com/repos/eclipse/che/issues/6195"},"comments":{"href":"https://api.github.com/repos/eclipse/che/issues/6195/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/che/pulls/6195/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/che/pulls/6195/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/che/statuses/d59dbf4464ba20febf6d8a0636c393161b14df3a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"benoitf"}}