Commit Graph

75 Commits (da3eefe2378e878de1801ac5912c031ae172dfef)

Author SHA1 Message Date
Sergii Kabashniuk da3eefe237
Metrics POC (#11990)
With CHE_METRICS_ENABLED env variable enable Prometheus metrics endpoint
2018-11-27 23:47:24 +02:00
Eugene Ivantsov cc1fb31ec4
Use proxy forwarding (#11137)
* Use proxy forwarding

* Double quotes for bool
2018-11-20 06:55:08 +02:00
Sergii Kabashniuk 8a38002dd9
Basic tracing support for OpenShift (#11844)
Basic tracing support for OpenShift (#11844)
2018-11-09 14:42:52 +02:00
Sergii Kabashniuk b53c0e5825
PostgreSQL debug mode (#9343)
* Added eclipse/che-postgres:nightly-debug image to run postgresql with configured logger format compatible with pgbadger reporting tool
2018-10-31 09:54:38 +02:00
Sergii Leshchenko 79e2813a10 Set Plugin Broker pull policy according to parameter 2018-10-04 21:12:36 +03:00
Oleksandr Garagatyi a44570e2f8 CHE-11408: Disable probes of Che master when debug is enabled
Remove readiness/liveness probes from Che deployment when debug is
enabled.
This allows to debug Che master for a long period of time without
Che container being killed because of unresponsive probes.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>

Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-10-01 09:31:47 +03:00
Sergii Kabashniuk e53b34b2b1
Setup default value for CHE_WORKSPACE_PLUGIN__REGISTRY__URL (#11354)
Setup default value for CHE_WORKSPACE_PLUGIN__REGISTRY__URL
2018-09-26 14:01:02 +03:00
Sergii Leshchenko 41b14c71b6
Make OpenShift infrastructure to create workspace service account if needed (#11199) 2018-09-21 08:50:25 +03:00
Oleksandr Garagatyi 036f044155 Add a property for default sidecar mem limit
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-09-17 14:01:34 +03:00
Sergii Leshchenko b10c305d10 CHE-10991 Add creating of workspace service account in deployment Che on OpenShift 2018-09-13 11:03:09 +03:00
Eugene Ivantsov cb17ad3099
Use edit role for Che SA (#11177) 2018-09-13 10:15:21 +03:00
Oleksandr Garagatyi 8d589d0197 Fix an ability to use locally built images of Che on minishift
Latest versions of minishift ignore Che master docker image that
was built locally inside the VM.
Removeing docker.io from the image name workarounds the issue.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-09-07 17:20:37 +03:00
Sergii Kabashniuk 77a00179db
Add che.workspace.plugin_registry_url information to workspace/settings Rest method (#11015)
Add che.workspace.plugin_registry_url information to workspace/settings Rest method
2018-09-04 10:09:20 +03:00
Eugene Ivantsov 733d7bbd34
Multiple changes to deploy scripts (#11025)
* Multiple changes to deploy scripts

* Remove debug echo

* Fix formatting

* Fix formatting

* Fixup
2018-09-03 14:38:14 +03:00
Oleksandr Garagatyi 27bed82d5c
CHE-10561: Rework WS.NEXT flow to latest concept of plugin broker (#10740)
* Move wsnext flow in Kubernetes infra implementation

Now we need to start a broker and pass meta.yaml files to it.
Starting a broker is infra-specific stuff, so it has to be done
on the infra implementation side because we don't have a part
in the infra SPI that would allow us to start a broker.
Passing Meta files using InternalEnvironment object is more
invasive than passing only attributes. So, this commit applies
less invasive scheme.

* CHE-10202,10561: Add fetching of Che editor, plugins meta from the registry

Add fetching of Che editor ID from workspace attributes.
Add fetching of Che plugins IDs from workspace attributes.
Use colon sign for separating editor/plugin ID and version
instead of the slash.
Remove old Workspace.Next model objects.

* CHE-10561: Share WS.NEXT between k8s and OS infras

Use WS.NEXT in both k8s and OS infrastructure implementations.

* CHE-10561: fix fetching meta.yaml files from che-plugin-registry

* CHE-10561: Fix sidecar model serialization

Fixes the fact that some fields in workspace sidecar tooling model
POJOs were incorrectly named or required custom serialization of
fields.

* CHE-10561: Add listening of che-plugin-broker

Add code that allows listening for events from Che plugin broker.
An event might contain workspace tooling config as a result if the broker
finished successfully or error otherwise.

* CHE-10561: Add PluginBrokerManager to control broker lifecycle

Adds PluginBrokerManager that configures/starts/waits Che plugin
broker.

Remove unused code.
Remove notion of Workspace next.

* Align plugin registry property between different components

* Fix extra  path in che plugin registry URL

Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-09-03 08:57:32 +03:00
Eugene Ivantsov 1bacf0c5d1
Merge pull request #11011 from eclipse/ocp_sh_improvements
Ocp sh improvements
2018-08-31 14:45:48 +03:00
Eugene Ivantsov d75c8fa1c5 ocp.sh stuff 2018-08-31 14:43:37 +03:00
Eugene Ivantsov 0d752f76c1 ocp.sh stuff 2018-08-31 14:43:09 +03:00
Eugene Ivantsov 868b2aa60a ocp.sh stuff 2018-08-31 14:41:48 +03:00
Dmytro Nochevnov 265e044e0a
Fix path to OCP oauth certificate (#11010)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-31 13:57:08 +03:00
Sergii Kabashniuk 2b7ebd8f85
Added ability to deploy che plugin registry with ocp.sh (#10954)
Added ability to deploy che plugin registry with ocp.sh ./ocp.sh --deploy-che --deploy-che-plugin-registry
Add environment variableCHE_PLUGIN_REGISTRY_URL for che-master with a link to che plugin registry
2018-08-30 10:18:51 +03:00
Eugene Ivantsov 27d3c58718 Remove host dir arg 2018-08-28 13:33:35 +03:00
Eugene Ivantsov d176a5144f Revert update to 3.10 2018-08-28 12:15:59 +03:00
Eugene Ivantsov 01051b8ac7
Merge pull request #10888 from eclipse/create_okd_dir
Do not exit when okd dir removal fails
2018-08-27 10:16:35 +03:00
Sergii Kabashniuk 3ed123e8d3
Revert removal of CHE_MULTIUSER variable from che-server-template.yaml (#10911) 2018-08-27 10:08:00 +03:00
Eugene Ivantsov 566769d014 Do not exit when okd dir removal fails 2018-08-23 13:18:27 +03:00
Eugene Ivantsov 99a4ff5c00 Check if okd dir exists before removing content 2018-08-23 11:25:42 +03:00
Eugene Ivantsov ca4543f386 Create OKD local dir 2018-08-23 10:34:26 +03:00
Eugene Ivantsov 193a395f87
Merge pull request #10766 from eclipse/openshift_v_3_10
Multiple changes to deploy scripts
2018-08-22 20:52:57 +03:00
Eugene Ivantsov e5ed7028ae Remove local dir. Fix path to crt file 2018-08-21 12:28:38 +03:00
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Oleksandr Garagatyi eda8344ae6 Remove marketplace placeholder leftovers
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-08-20 11:08:07 +03:00
Oleksandr Garagatyi b5d727e475 Make Che communicate with che-plugin-registry
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-08-20 11:08:07 +03:00
Eugene Ivantsov d20e560693 remove todo 2018-08-15 15:53:30 +03:00
Eugene Ivantsov b676010b23 Revert workaround with tags 2018-08-14 19:34:08 +03:00
Eugene Ivantsov 5d5eb2bad9 Uncomment function 2018-08-14 17:54:49 +03:00
Eugene Ivantsov 9baa4bb84a Exit if ansible service broker deployment times out 2018-08-14 13:54:08 +03:00
Eugene Ivantsov 3eb094a7c1 Multiple changes to deploy scripts 2018-08-14 12:39:45 +03:00
Angel Misevski 44588aa775 Remove unnecessary properties from kubernetes/OS infrastructure
Removes properties

- che.infra.kubernetes.username : can change, requiring reconfiguration
- che.infra.kubernetes.password : can change, requiring reconfiguration
- che.infra.kubernetes.oauth_token : expires

as they complicate setup and all represent suboptimal running scenarios.
Use che serviceaccount instead.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2018-08-07 10:11:12 -04:00
Mykhailo Kuznietsov 1170a06bb9
Add Proxy env variables for workspace containers in Openshift and Kub… (#10387) 2018-07-31 17:27:36 +03:00
Sergii Leshchenko a2c3a2229c
Added an ability to specify custom ocp tools dir (#10302)
* Fix evaluation of OC version in ocp.sh script

* Add an ability to specify custom ocp tools dir

The motivation to do that is not to download oc and jq
binaries each time after reboot since default folder is located in tmp
folder
2018-07-06 10:24:32 +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 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
Roman Iuvshyn 86a56b0133
Update deploy_che.sh (#10126) 2018-06-21 10:37:28 +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
Sergey Skorik 509e83955f
Fix image-che-flag
Use the right env name
2018-06-18 09:59:40 +03:00
Eugene Ivantsov 5fed493c90 Fix ocp.sh 2018-06-13 09:19:09 +03:00
Oleksandr Garagatyi bddbd658bf Add Workspace Next support to Openshift recipe/infra
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-06-08 17:10:24 +03:00
Oleksandr Garagatyi ddba875800 Fix incorrect link to Che docs
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-06-08 15:26:27 +03:00
Eugene Ivantsov 29cb708773 Adding self signed cert to Java trust store 2018-05-30 12:27:41 +03:00