Commit Graph

6340 Commits (b071721ad3fcd76216e1ca8ae11a9ebdbfd7410c)

Author SHA1 Message Date
Igor Vinokur b071721ad3
CHE-9418: Fix Git status message if the repository is checkouted to tag or commit. (#10172)
Fix Git status message if the repository is checkouted to tag or commit.
Changed getCurrentBranch method in the Git API to getCurrentReference that returns Reference object that contains reference and type (branch, tag or commit).
2018-07-05 11:33:07 +03:00
Maxim Musienko d767fd4668
fix logic error for checking marker type (#10239) 2018-07-05 10:22:31 +03:00
Max Shaposhnik 321d23cb4d
Fix failing test & check formatting (#10279) 2018-07-05 10:06:11 +03:00
Oleksandr Garagatyi 9fe9021330
Adjust Workspace.Next model classes to latest updates in the Workspace.Next vision (#10246)
Rework model, of CheService and renamed it to ChePlugin. 
Replace features hosting to apache server to be able to host plugin files and avoiding having model files for Go lang.
Host YAMLs instead of JSONs. Downloads and parse ChePlugin YAMLs instead of JSONs from the marketplace.
Improve unit tests coverage. 
Add support of Che Server protocol and path, so it is possible to run Classic GWT IDE in Workspace Next now.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-07-04 18:13:20 +02:00
Dmytro Nochevnov c989282f6f
Fix namespace for deployment under OCP user account (#10267)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-07-04 18:19:31 +03:00
Tibor Dancs 09671a1b2b Creating selenium framework tests (abstraction for rh-che) (#10191)
* Prepairing upstream che for abstraction (rh-che tests)

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

Modified TestWorkspaceProvider -> Abstraction, so that rh-che can override needed methods.

Modified TestWorkspaceServiceClient for rh-che tests extension

Abstracted TestWorkspaceServiceClient for RhChe implementation

Fixed inject issues

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

Modified required abstractions, using interfaces instead of implementations of the interface (e.g. DefaultTestUser)

Modified TestWorkspaceProvider -> Abstraction, so that rh-che can override needed methods.

Fixed inject issues

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

* Fixing abstraction, added interface for TestWorkspaceServiceClient

* Reverting test class imports to interfaces

* Fix installing of TestWorkspaceServiceClientFactory

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* removed redundant bind

* Get rid of grouping of static imports in CreateWorkspaceFromBlankStackTest

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-07-04 12:03:09 +03:00
Sergii Leshchenko fef7cc44e6
Fix scope of test dependencies (#10254) 2018-07-04 11:23:20 +03:00
Max Shaposhnik ed187d79d1
Fix machine token auth by using own user machine token (#10249) 2018-07-03 17:20:10 +03:00
Dmytro Kulieshov dae756458e
Fixed absence of internal servers in WorkspaceProjectSynchronizer (#10196)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-07-03 16:03:30 +03:00
Sergii Leshchenko fa72f44806
Add cascade removing of Kubernetes runtime state when workspace is removed (#10244) 2018-07-03 14:31:26 +03:00
Sergey Skorik 3066a81515
Selenium: cover workspace creation from Java stack by selenium test (#10214) 2018-07-03 13:13:09 +03:00
Sergii Leshchenko 43277283de
Add doc for CHE_LOGGER_CONFIG in che.env file (#10245) 2018-07-03 10:50:41 +03:00
Max Shaposhnik 29eef88c71
Make it possible for Go agents to use auth tokens from HTTP header (#10237) 2018-07-03 10:35:53 +03:00
Angel Misevski 4cecef2611 Use Deployments instead of Pods in Kubernetes infra
Modifies KubernetesPods to create workspaces with Deployments instead of
bare Pods.

Changes:
- Rename KubernetesPods -> KubernetesDeployments to indicate change
- Add method to KubernetesDeployments to allow launching short jobs
  (e.g. PVC Cleanup)
- Modify create method to create Deployments
- Modify delete method to support deleting both Deployment-based
  and Pod-based workspaces (allowing updating che-server without
  shutting down all workspaces)
- changes apply to Kubernetes and OpenShift infrastructures.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2018-07-02 23:55:59 -04:00
Aleksandr Shmaraiev 5be0e29f11 Change the wait timeout in the 'Menu' to increase stability selenium tests (#10220) 2018-07-02 11:11:47 +03:00
Oleksii Orel a1d160cbdf CHE-10215 fix factory templates
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-07-02 10:45:16 +03:00
Mykhailo Kuznietsov 80f857bbc6
Update Keycloak to 3.4.3.Final version (#10165) 2018-07-02 09:49:54 +03:00
Eugene Ivantsov c4c4ab2421
Merge pull request #10088 from vrubezhny/che10083
NPEs on workspace start-up #10083
2018-07-02 08:12:13 +03:00
Ilya Buziuk 744196a59a Publish all workspace pod events to the machine logs
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2018-06-30 10:07:22 +02:00
Igor Ohrimenko 02afd06f8c
Selenium: Fix of unexpected fail of "RollingUpdateStrategyWithWorkspacesStartStopTest" selenium test (#10212) 2018-06-27 16:10:45 +03:00
Max Shaposhnik e7866c5b92
Make Authorization header value more uniform and use 'Bearer' prefix (#10197) 2018-06-27 09:52:44 +03:00
Mykola Morhun 44681e8d44
Merge wiptheia dockerfile with Che Theia IDE dockerfile (#10148)
* CHE-10124: Merge wiptheia dockerfile with Che Theia IDE dockerfile

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2018-06-26 18:58:23 +03:00
Igor Ohrimenko f51730a00d
Selenium: Fix of unexpected fail of "AddOrImportProjectFormTest" selenium test (#10118) 2018-06-26 17:17:55 +03:00
Igor Ohrimenko ca695ee93d
Selenium: Create E2E test for checking Hot update feature for wsmaster (#10176) 2018-06-26 16:33:32 +03:00
Vitalii Parfonov d29d5b5f37
Add Html Sanitization for workspace name for preventing XSS (#10198)
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-06-26 15:41:53 +03:00
Maxim Musienko ef444f9c1b
Adapt the CSharpFileEditingTest after latest changes in Csharp language server (#10166)
* Adapt the test after latest changes for C sharp language server
2018-06-26 14:54:41 +03:00
David Festal d4e2d0f3a1
Fix a bug in the Che GWT maven plugin that prevents RhChe to build with upstream `master` (#10177)
It is a bug in the Che GWT maven plugin (in the `ProcessExcludesMojo`) that prevents `rh-che` to build correctly against the Che upstream `master` branch.

The fix consists in using the `baseVersion` (i.e. `6.8.0-SNAPSHOT` for example), instead of the precise version (i.e. `6.8.0-20180625.090508-19` for example) when trying to resolve excluded artifacts, since the precise version available in the Maven repositories can be a different between the main artifact and excluded artifacts.

Signed-off-by: David Festal <dfestal@redhat.com>
2018-06-26 09:36:20 +02:00
Dmytro Nochevnov 7ce7635ab1
Add selenium test of login with OpenShift account (#10158)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-26 10:03:52 +03:00
Ilya Buziuk f80c1867fc che #9946: Better handling of unrecoverable events for k8s & openshift infra (processing both 'container' and 'pod' events)
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2018-06-25 18:55:33 +02:00
Vladyslav Zhukovskyi dbf623c810
Show build details in dedicate window (#10093)
* Show build details in dedicate window

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* New Line

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* New Line

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* New Line

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* Add debug id to the anchor

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* Adopt Dialog About selenium test to actual changes on the UI

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-06-25 11:16:16 +03:00
Vladyslav Zhukovskyi a1128b9045 Update font style for progress loader
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-06-23 14:25:56 +03:00
Aleksandr Shmaraiev ee9e7c302f Selenium: set the GitHub username to lowercase when compared to the value 'Federated Identity' 2018-06-23 10:35:16 +03:00
Sergey Skorik 3c09d1420d
Selenium: cover Python language server format feature by selenium test (#10149) 2018-06-22 13:28:42 +00:00
Sergey Skorik 4e11edb5d8
Selenium: cover workspace creation from Blank stack by selenium test (#10145) 2018-06-22 09:23:13 +00:00
Sergey Skorik 2aa337d7ef
Selenium: move WorkingWithJavaMySqlStackTest and WorkingWithNodeWsTest selenium tests to stack package (#10147) 2018-06-22 09:07:03 +00:00
Dmytro Nochevnov 363126c7a5
Fix start of workspaces of Eclipse Che Singleuser on OCP (#10146)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-22 10:30:26 +03:00
Sergii Leshchenko 8cb69e3aee
Merge pull request #10129 from sleshchenko/secrets
Added secrets into K8s/OS environments
2018-06-22 10:24:49 +03:00
David Festal ae657b4f53
Basic support of the Eclipse Ceylon language (#10096)
Basic support of the Eclipse Ceylon language support, with the following features:
- language description,
- syntax highlighting,
- project creation.

Signed-off-by: David Festal <dfestal@redhat.com>
2018-06-21 17:43:01 +02:00
Vladyslav Zhukovskyi 919f7712a9 Update style for the save mark in editor tab for FireFox
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-06-21 17:40:48 +03:00
Sergii Leshchenko cb81975142 Create a separated secret with image pull secrets per workspace 2018-06-21 17:10:31 +03:00
Sergii Leshchenko fad5e4cc76 Add secrets into K8s/OS environments 2018-06-21 17:10:31 +03:00
Roman Iuvshyn 86a56b0133
Update deploy_che.sh (#10126) 2018-06-21 10:37:28 +03:00
Mykola Morhun 93f495f5ed
Make theia Docker image be able to use yarn cache on Openshift (#10116)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2018-06-21 09:41:27 +03:00
Dmytro Kulieshov ad0a6376c2
Fixed formatting for python language servers (#10060) 2018-06-20 17:06:22 +03:00
Dmytro Nochevnov c55a2db96c
Setup OCP to create objects under the certain user account (#10114)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-20 12:41:27 +03:00
Igor Ohrimenko 4ce5a6fe59
Selenium: Revise and update "Dashboard" selenium tests in "Workspaces" section ("Workspace List" and "New Workspace" pages). (#9997) 2018-06-19 18:06:44 +03:00
Mykhailo Kuznietsov acb69ffc51
Track workspace Pods starting for failures (#9976) 2018-06-19 18:03:10 +03:00
Eugene Ivantsov fcf762988f
Merge pull request #10102 from eclipse/lang_servers
Lang servers
2018-06-19 17:32:54 +03:00
Roman Iuvshyn d7e1c73cf8
RELEASE: Set next development version (#10110) 2018-06-19 17:24:50 +03:00
Aleksandr Shmaraiev 695c187902 Add one condition check to 'AfterMethod' in the 'ContributeTabTest' 2018-06-19 14:09:38 +00:00