Commit Graph

65 Commits (21c8aaf0cf5b8e4ebe47840e49a692425a13bb82)

Author SHA1 Message Date
Roman Iuvshyn 71704ab3a7
RELEASE: Set next development version (#8135) 2018-01-03 14:13:25 +02:00
Roman Iuvshyn 5a6d3910b2
RELEASE: set next dev version (#7882) 2017-12-14 15:51:34 +02:00
Roman Iuvshyn f7907fca22
merge with master (#7712) 2017-12-04 16:36:17 +02:00
Roman Iuvshyn 3ebb3f5bb1
clean up CLI versions (#7533) 2017-11-23 16:32:43 +02:00
Roman Iuvshyn 506210325a
RELEASE: set next dev version (#7523) 2017-11-23 12:50:56 +02:00
Roman Iuvshyn b4674e376d add bugfix versions 2017-11-20 16:34:12 +02:00
Max Shaposhnik ea7e071b3a
Use same assembly for single- and multiuser Che 2017-11-07 12:27:02 +02:00
Roman Iuvshyn 19f5fd1f5a
RELEASE: Set next development version (#7112) 2017-10-31 16:46:30 +02:00
Roman Iuvshyn abe3271908 RELEASE: Set next development version (#6692)
* RELEASE: Set next development version
2017-10-14 20:17:04 +03:00
Roman Iuvshyn f03ed91b56 update kc image version (#6712)
* update kc image version
2017-10-12 22:09:14 +03:00
Roman Iuvshyn 6d40b2420a use 9.6 tag of postgresql image instead of latest (#6690) 2017-10-12 12:12:48 +03:00
Roman Iuvshyn c9a8d8f556 Update CLI version files for future release (#6635) 2017-10-09 16:40:17 +03:00
Sergii Kabashniuk ee01b2998f Multi-user Eclipse Che (#6441)
Multi-user Eclipse Che (#6441)
#### How to run it.
```docker run -it -e CHE_MULTIUSER=true -e CHE_HOST=<your ip> -e CHE_KEYCLOAK_AUTH-SERVER-URL=http://<your ip>:5050/auth -v /var/run/docker.sock:/var/run/docker.sock -v ~/.che-multiuser:/data eclipse/che:nightly start --skip:pull --skip:nightly```
#### How to manage it
 - Keycloak configured with two realms. ```Master``` and ```che```. Also we have one user admin/admin in both realm. Admin user in master realm is  - super admin. 
-  Eclipse Che configured for che realm
- We enabled user registration in ```Che``` realm
#### Known limitation
 - swagger would not work. We need to upgrade a version. to support openid authentification https://github.com/eclipse/che/issues/6015
- It's working on local docker. We are going to provide scalable version based on OpenShift on next versions.
- Invitation of non-existent users to Eclipse Che organization https://github.com/eclipse/che/issues/6335
#### How to run it when it is in a branch


To run an multiuser Che version, the following steps are required after building the branch:
 - Rebuild init, cli and che images (in the given sequence). To do that, proceed to folder _dockerfiles/<image_name>_ and run _build.sh_
 - Run Che in a  usual way using cli, with additional parameters:  `-e CHE_MULTIUSER=true` and `--skip:pull --skip:nightly`  
   Full command example:
   `docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/user/.che:/data -e CHE_MULTIUSER=true eclipse/che-cli:nightly start --skip:pull --skip:nightly`
 - MacOS users may need to edit _che.env_ file in the data folder, changing `CHE_HOST` and `CHE_KEYCLOAK_AUTH__SERVER__URL` values to their specific IP.
 
When start is succeeded, the following docker containers should be created:  
 - che, exposing 8080 port;
 - che_keycloak, exposing 5050 port;  
 - che_postgres, exposing 5432 port;
2017-10-06 17:27:27 +03:00
Roman Iuvshyn 8e03d56bfb RELEASE: Set next development version (#6345) 2017-09-19 14:52:53 +03:00
Roman Iuvshyn 2850a74a11 RELEASE: Set next development version (#6067) 2017-08-23 11:11:34 +03:00
Roman Iuvshyn c2eb3188c1 RELEASE: Set next development version (#5949) 2017-08-09 11:17:20 +03:00
Roman Iuvshyn 185273f8b9 RELEASE: Set next development version (#5734)
* RELEASE: Set next development version
2017-07-19 12:45:32 +03:00
Roman Iuvshyn ee1eae88fd RELEASE: Add next tag version in CLI 2017-06-29 15:22:39 +03:00
Roman Iuvshyn d1b3f93497 RELEASE: Add next tag version in CLI 2017-06-21 16:31:10 +03:00
Roman Iuvshyn a50cf745b5 RELEASE: Add next tag version in CLI 2017-06-14 10:57:53 +03:00
Florent BENOIT a246875dde Use of new Traefik version (before : RC1, now RC3) (#5232)
* Use of new Traefik version (before : 1.3RC1, now 1.3RC3)

Change-Id: I8b7097f60dc28bfcf2e4585d4c1e1393d53b8332
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-05-29 17:42:05 +02:00
Roman Iuvshin 77a4211ddf RELEASE: add bugfix version 2017-05-29 16:33:20 +03:00
Roman Iuvshin b97c4e2e98 RELEASE: add bugfix version 2017-05-26 13:33:57 +03:00
Roman Iuvshin ef35f95cc1 RELEASE: Add next tag version in CLI 2017-05-24 12:42:36 +03:00
Florent BENOIT a13068e140 Enable single port exposure on Che (#5115)
* Toggle Che single port by enabling CHE_SINGLE_PORT in the che.env file. (CHE_SINGLE_PORT=true, default is false)

By enabling single-port, all browser traffic to Che or any workspace will be routed through the value that you have set to CHE_PORT`, or 8080 if not set. Setting this property will transform the launch sequence of Che to launch a Traefik reverse proxy. The reverse proxy will act as the traffic endpoint for all browser communications. When a new workspace is started or stopped, Che will update Traefik's configuration
with rules for how browser traffic should be routed to Che or a workspace.

It’s now using an official Traefik image (before I was using a custom made image)
There is an interceptor with a kill switch. It means interceptor is applied only if plug-in is enabled (not only if plug-in is added at compilation)
It is automatically enabled when CHE_SINGLE_PORT is turned on

docker-compose file is handling if the single_port is turned on or off and then add the traefik container and redirect port only if the property is enabled. (not enabled by default)

using —debug flag when launching che is also turning on the traffic web console to view traefik routes

It is not enabled by default, so it means that without user change, there is no overhead, no useless container started, etc.

Change-Id: I12644d9202dadc0b10104f78bb055425ca6611ac
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-05-18 14:52:41 +02:00
Roman Iuvshin a26cd0330f RELEASE: Add next tag version in CLI 2017-05-10 17:39:51 +03:00
Roman Iuvshin 91a544817e RELEASE: add bugfix version 5.9.1 2017-04-27 16:27:05 +03:00
Roman Iuvshin cdabad5231 RELEASE: set nightly versions in dockerfiles 2017-04-25 21:53:37 +03:00
Roman Iuvshin b36a74d600 RELEASE: set tag versions in dockerfiles 2017-04-25 15:34:29 +03:00
Roman Iuvshin 0149a81ea1 RELEASE: add bugfix version 5.8.1 2017-04-25 12:52:26 +03:00
Roman Iuvshin 2dec16aa42 RELEASE: set nightly versions in dockerfiles 2017-04-13 15:16:14 +03:00
Roman Iuvshin 5d9fffae71 RELEASE: set tags in dockerfiles 2017-04-13 13:40:51 +03:00
Roman Iuvshin 840ae853f8 Revert "RELEASE: set minor change version"
This reverts commit e23b9257a3.
2017-04-11 20:55:24 +03:00
Roman Iuvshin e23b9257a3 RELEASE: set minor change version 2017-04-11 18:10:45 +03:00
Roman Iuvshin abafb37973 RELEASE: add bugfix version 2017-04-11 12:26:56 +03:00
Roman Iuvshin 12c6c75bca RELEASE: add bugfix version 2017-04-08 19:09:09 +03:00
Roman Iuvshin cecda0ede6 RELEASE: set nightly versions in dockerfiles 2017-04-06 17:57:30 +03:00
Roman Iuvshin a789e18c2f RELEASE: set tags in dockerfiles 2017-04-06 16:26:21 +03:00
Roman Iuvshin 8217fb6a03 RELEASE: set nightly versions in dockerfiles 2017-03-30 18:21:58 +03:00
Roman Iuvshin 9bab57380c RELEASE: set tags in dockerfiles 2017-03-30 12:15:54 +03:00
Roman Iuvshin 0ea484b4b1 RELEASE: set nightly versions in dockerfiles 2017-03-15 18:21:29 +02:00
Roman Iuvshin 98cdab1076 RELEASE: set tags in dockerfiles 2017-03-15 16:20:08 +02:00
Tyler Jewell 2d3e371c45 Customize image names during image build (#4336)
The build scripts have been modified to generate images of the format $ORGANIZATION/$PREFIX-$NAME:$TAG. The default organization is eclipse, the default tag is nightly, and the default prefix is che. You can proivde --organization:<org>, --prefix:<prefix>, or --tag:<tag> on the command line to customize the images that are generated.

There is a new build-che.sh script which builds the minimum set of images to generate a new Che server, the CLI, and unit tests for these custom image names. If you build the CLI image, we overwrite /dockerfiles/cli/version/$TAG/images file to include the customized names that have been provided before this image is built, so the registry within the Docker image is accurate.

Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-03-10 13:41:45 +01:00
Roman Iuvshin ddd2dc4283 RELEASE: add bugfix version to cli versions 2017-03-07 12:09:29 +02:00
Roman Iuvshin 1609506e37 RELEASE: set nightly versions in dockerfiles 2017-03-02 21:50:35 +02:00
Roman Iuvshin a21adc4ecb RELEASE: set tag versions in dockerfiles 2017-03-02 16:48:13 +02:00
Roman Iuvshin f6d6e881ef RELEASE: add bugfix version to cli versions 2017-02-24 10:54:30 +02:00
Roman Iuvshin b8ffa8048a set nightly versions in dockerfiles 2017-02-17 15:58:23 +02:00
Roman Iuvshin 0e71e71dde RELEASE: set tag versions in dockerfiles 2017-02-17 11:23:02 +02:00
Roman Iuvshin 2deb14ddfb RELEASE: add bugfix version 5.2.2 to cli versions 2017-02-13 14:55:19 +02:00