Use verbacio config to define max_body_size for request entity. I'ts prevent fail Theia image build if was applied extension with big size.
Redirect Verbaccio logs to the file with help config. We detach Verbaccio process so input from this application become mixed with Theia image build output.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
- Make Resource memory request configurable for k8s and OpenShift.
- Add alias for backwards compatibility to che.workspace.default_memory_limit_mb.
- set memory request to 512Mb.
- document CHE_WORKSPACE_DEFAULT__MEMORY__REQUEST__MB in che.env.
- Configure helm scripts to allow memory attributes on deployment.
Signed-off-by: Sergey Kuperman <sergey.kuperman@sap.com>
- switch apk command to yum commands
Introduce usage of e and u flag in setup.sh (fail if there is one error in this script)
Change-Id: Iaf0b9b4d96209ccc60a62bacb9c36e0f618d6dc4
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
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>
* - move all Dockerfile logic to separate setup file
- allow to apply patches on top of existing theia instance
- recompile all extensions to ensure its compatible with current theia version
- Then we publish internally a new version on a local registry, and change dependency version on all extensions to make compliant with this version
- install globally typescript so typescript lsp is working
remaining 4 extensions not installed:
- https://github.com/eclipse/che-theia-github-plugin
- https://github.com/eclipse/che-theia-task-plugin
- https://github.com/eclipse/che-theia-java-plugin
- https://github.com/eclipse/che-theia-terminal-plugin (but terminal is not compliant for openshift)
Change-Id: Ic6ba219e35b0e83783dc37b28f05dd54f2864cf2
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
Parse THEIA_PORT environment variable in Theia start.sh script
to prevent failure of Theia start on k8s when there is a k8s
service "theia" and k8s injects THEIA_PORT environment variable
with a value such as tcp://19.19.191.19:3000
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
* Generate cache with THEIA_VERSION, Generate resolutions to use Theia dependency with strict version.
* Optimize docker images size.
* Reuse Theia node_modules on default extensions build.
* Use extensions json to get list default extensions from github or file system.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
also, if it is not provided but that the rate limit is reached, it will exit asking user to provide GITHUB_TOKEN
Change-Id: I29c575124f73afce39fda5a3fe92e57de387223c
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
Optimizing che-theia-factory loading sequence by adding it to the default che-theia docker image (#10062)
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>