* gitignore dashboard war overlays folder
Signed-off-by: Michal Vala <mvala@redhat.com>
* gitignore all overlays folders in assembly
Signed-off-by: Michal Vala <mvala@redhat.com>
* Adds prometheus and grafana as to the deployment
moves che's custom charts into "custom-charts" directory so that they don't
interfere with helm which uses the "charts" directory to download and use
all the other remote dependencies.
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
* Deploy our own ingress for prometheus and grafana so that we can have
templatized names of the same format as the same of the deployment.
Also removed the hardcoded time interval in the sample dashboard so that
it uses the default of "last 6 hrs".
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
* New lines at the end of the files and whitespace removal.
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;
* Added {% include base.html %} to all markdown. Add license information to some files. Added docs/assets/images to .gitignore .
* Added {% include base.html %} to all markdown. Add license information to some files. Added docs/assets/images to .gitignore .
Signed-off-by: James Drummond <jdrummond@codenvy.com>
* Added documentation. The markdown and configuration files are used by jekyll to generate static html. This static html can be used both in the eclipse che product with the already include tomcat server and on web hosting sites such as https://www.eclipse.org/che/docs/ .
* CHE-2977 "move the core Che Dockerfiles and Dockerfile.centos into /dockerfiles/che"
merge docker.sh and che.sh.
also docker.sh script is moved from the assembly folder to the docker image folder and named entrypoint.sh
Change-Id: I7404f8f2896e8a7eea83ecab57a6c4c623c68abe
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
Added a ShowMessageProcessor and a ShowMessageMessager classes to process
incoming `window/showMessage` notification and display a notification
in `float` mode in the UI if the message type is `error` or `warning`, in
the events panel otherwise. Note that the notification type for `error`
messages is incorrectly set to `Log` because of a bug in the typefox
dependency: `io.typefox.lsapi.MessageType#Log` has the value `1` instead of
`4`.
This issue depends on https://github.com/eclipse/che/pull/3113
(Add a 'warning' state for the notifications)
To test the pull request, please follow the instructions on
https://github.com/eclipse/che/pull/3123 to run the 'test-lang' server.
Once in the workspace, create a project, add a `foo.test` file (the
Language Server support for the 'test-lang' will be activated), then
type the following line
> window/showMessage:error: a message
and wait for the editor to save the changes. This will trigger a
`window/showMessage` notification from the 'test-lang' server in the Che UI.
Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
(these files may be generated by a `che dir up` command)
Change-Id: Ie9ab1196b3fa5be07442753bcd863baff74c81dd
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>