Commit Graph

5 Commits (9abfec7c5fbf964ccae93eb4e4487efb54db59ff)

Author SHA1 Message Date
Dmytro Nochevnov 85b5b863b6
Adapt webdriver.sh to Multiuser Che; add ability to set rerun attempts (#7847)
Move --multiuser parameter from selenium-test.sh to webdriver.sh
Compare selenium testing results with multiuser CI job
Differ 'CI job' from 'build' in terms of comparation of test results
Add an ability to set exact number of rerun of selenium tests

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-12-13 10:00:56 +02: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
Dmytro Nochevnov 178a0cfce1 Fix comparing selenium tests execution results with CI (#6477)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-09-29 16:07:55 +03:00
Dmytro Nochevnov 8cd4b0f307 Clean up target directory at start of selenium tests (#6380)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-09-21 14:43:50 +03:00
Anatoliy Bazko 3c9df76538 Add selenium tests (#5759)
* Add selenium tests
2017-08-22 11:24:25 +00:00