Commit Graph

762 Commits (03949e0c19e8bed48e461eae05238cd158c500e2)

Author SHA1 Message Date
Sergii Leshchenko 96f35085e8 Refactor Devfile converting process
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-02-21 16:38:07 +02:00
Angel Misevski 8c4b3924b9 Enable getting workspace events from ReplicaSets and Deployments
- Allow KubernetesDeployments#watchEvents to handle events from
  Deployments and ReplicaSets as well as Pods.
  - Necessary to handle quota events (e.g. exceeding quota)
- Fix regression where sometimes unrecoverable events weren't handled
  at all due to pod naming issues
- Add 'FailedCreate' to unrecoverable events list (this event occurs
  when quota is exceeded.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2019-02-13 09:31:52 -05:00
Oleksandr Garagatyi f33f662189 Update versions of plugin brokers to v0.12.0
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-02-12 15:39:01 +02:00
Anatoliy Bazko a713ac4da6
Fix Che brokers versions (#12639)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2019-02-09 16:44:01 +02:00
Roman Iuvshyn a694c4f971
RELEASE: Set next development version (#12596) 2019-02-06 18:22:35 +02:00
Oleksandr Garagatyi 1c692a5b50 Update version of plugin brokers
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-02-06 10:58:29 +02:00
Oleksandr Garagatyi ab82e73140
Make Che 7 model fields use camel-case (#12560)
And update brokers versions.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-02-05 11:43:16 +02:00
Lukas Krejci 92c28509d8 Implement automatic mounting of project sources volume into /projects
by specifying the mountSources attribute in che-plugin.yaml.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-01-31 16:09:06 +01:00
Sébastien D 095bf59627 Web Plugin: Add VueJS Language Support (#12470)
Web Plugin: Add VueJS Language Support
2019-01-28 09:25:44 +01:00
Oleksandr Garagatyi 076b06ab17 Update version of image of init plugin broker
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-01-22 18:22:05 +02:00
Roman Iuvshyn 4ad10f2218
RELEASE: Set next development version (#12441) 2019-01-16 11:51:02 +02:00
Oleksandr Garagatyi acdf32a540 Update brokers to the latest version
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-01-14 13:52:03 +02:00
Masaki Muranaka 07ceab7754 Remove redundant elements (<groupId> and <version>) (#12406)
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2019-01-14 13:07:42 +02:00
Oleksandr Garagatyi 72065b582f
Add binding of VS Code extension broker for Che 7 (#12149)
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-01-10 21:09:40 +02:00
Lukas Krejci d8a87ba1b1 Only install the wsmaster metrics module when metrics are enabled.
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-01-08 08:52:56 +01:00
Lukas Krejci 7f38fc4e91 Sorting the poms.
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-01-08 08:52:35 +01:00
Lukas Krejci dec24d8ac4 Merge remote-tracking branch 'upstream/master' into workspace-prometheus-metrics
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-01-07 22:27:22 +01:00
Lukas Krejci 68d2788b18 Move the wsmaster metrics into a separate module so that
the metrics-related functionality doesn't "infect" the rest of the codebase

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-01-07 15:34:33 +01:00
Sergii Leshchenko a64f03f665 Add periodical job that stops Runtimes without existing pods 2018-12-28 10:32:02 +02:00
Max Shaposhnik cea3f482db
Factory support of devfile 2018-12-26 16:20:28 +02:00
Roman Iuvshyn b872b317cb
RELEASE: Set next development version (#12277) 2018-12-26 13:04:51 +02:00
Oleksandr Garagatyi 4e367f201d
Use init broker to remove plugins files on brokering (#12163)
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-12-26 12:05:52 +02:00
Lukas Krejci 90903645ee Add an ability to get workspaces ids by status and threshold timestamp (#12177)
It includes:
- reworking Workspace Activity API to store timestamps of each status changes;
- add REST API endpoint to get workspaces ids by status and threshold timestamp;
2018-12-22 17:19:38 +02:00
Mykhailo Kuznietsov 69288516c8
Upgrade Tomcat and change default CORS configuration (#12144) 2018-12-22 10:56:27 +02:00
Valeriy Svydenko 90b5bdef23
Remove maven server (#12235)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-12-21 17:16:28 +02:00
Sergii Leshchenko cbb54e8088 Refactor and improve pre workspace PVC strategy 2018-12-14 10:29:12 +02:00
Sergii Leshchenko 111183fb7b Make Workspace Agent use custom java trust store if there is mounted CA certificate file 2018-12-11 15:42:43 +02:00
Mykhailo Kuznietsov b7e1918e32
Upgrade dependencies (#11944) 2018-12-11 11:34:48 +02:00
Oleksandr Garagatyi 2c1740eab2
Use latest plugin brokers (#12141)
Changes brokers configuration to use the latest version 
of Che plugin broker and Theia plugin broker instead of
Theia remote plugin broker.
Fixes start of workspace when broker sent sidecar config 
with uppercase chars.
2018-12-10 21:02:00 -07:00
Max Shaposhnik 3a14bacda1
Devfile local features implenentation with schema validation and automated model build. 2018-12-06 16:19:21 +02:00
Roman Iuvshyn 45490d2a3b
RELEASE: Set next development version (#12115) 2018-12-05 18:33:02 +02:00
Mykhailo Kuznietsov 3d366a1c19
Add ability to change CORS configuration on Che Server through env vars (#12046) 2018-12-04 14:56:38 +02:00
Sergii Kabashniuk da3eefe237
Metrics POC (#11990)
With CHE_METRICS_ENABLED env variable enable Prometheus metrics endpoint
2018-11-27 23:47:24 +02:00
Sergii Leshchenko 4edd9190bf Make k8s/OS internal runtime return commands 2018-11-27 09:19:28 +02:00
Sergii Leshchenko 0ff2a2ee0e Update Che Plugin Broker to v0.4.0 version
The reason why it is updated: ChePluginBroker:v0.4.0 publishes id
and version of plugins
2018-11-27 09:19:23 +02:00
Masaki Muranaka d309ef4b83 Remove redundant <version> elements. (#12023)
As they will be inherited from `parent.version`.

Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2018-11-25 21:17:08 +02:00
Angel Misevski fa2a2dffeb Add property to control ping interval in ServersChecker
Add property `che.workspace.server.ping_interval_milliseconds` to
control ping interval when checking that servers are running during
workspace start.

Default value is 3000 ms (3 seconds) which is the current hardcoded
interval.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2018-11-22 11:28:34 -05:00
Oleksandr Garagatyi aaa8f424cd
Make a workspace run without any user env (#11890)
Allows running Che 7 workspace without any user environment but with Che 7 tooling set.
Workspace without environment has an empty list of environments and null value in `defaultEnv` field.
Field `activeEnv` is supposed to be `null` too.
What is changed:
- Migration of DB
- make defaultEnv nullable
- remove env_name from runtimes primary key
- make env_name in runtimes nullable
- Make code respect the fact that there are workspaces with no env
- settings API that returns the list of supported environment types returns no-environment type that - indicates that infrastructure support workspace with no environment at all.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-11-21 16:39:54 +02:00
Roman Iuvshyn 99afaef87f
RELEASE: Set next development version (#11930) 2018-11-14 12:29:03 +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 5b4aea8cc3
Added dirigible server to liveness probes list (#11829) 2018-11-06 10:24:08 +02:00
Roman Iuvshyn 365d25f275
RELEASE: Set next development version (#11710) 2018-10-24 16:38:03 +03:00
Oleksandr Garagatyi fde09c684a Change Theia broker image to one hosted in wsskeleton repo 2018-10-18 11:41:32 +03:00
Thomas Mäder 60e9470bf9 Fix stacks ci tests, allow wait for multiple jdltls resolve msg (#11517)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder d9870629c6 Removed unused eclipse bundles (#10907)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko a10f8194e1 use jdt.ls extension in java test-plugin (#7429)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko db11bd3e30 use extension of jdt.ls
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder 8b5d67d063 Clean up install script & added launcher plugin
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Vitalii Parfonov 355535dc56
Cleanup code afre removing test LangServer (#11613)
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-10-17 08:48:54 +03:00
Sergii Kabashniuk 8cc8a3e8f2
Add workspace name and namespace as environment variable (#11623)
Add workspace name and namespace as an environment variable (#11623)
2018-10-16 17:19:07 +03:00