Implement editor injector for WebIDE VS Code server
The goal is to inject our VS Code server (packages, docs) into the workspace as an editor.
- VS Code injector from Eclipse https://github.com/che-incubator/che-code
Success Criteria
- Docker image of gitlab-vscode-reh injector
- Devfile plugin with the above injector (Example - https://gitlab.com/gitlab-org/remote-development/gitlab-remote-development-docs/-/blob/main/examples/2-vscode.yaml)
Progress
- x86_64 image can be built using this process https://gitlab.com/gitlab-org/gitlab-web-ide-vscode-fork/-/blob/editor-injector/GL_EDITOR_INJECTOR.md (you have to use the
editor-injector
branch) - then you can run
-
k apply -f 7-webide.yaml
- to add the webide editor template -
k apply -f 8-dw-with-webide.yaml
- to create a workspace with dev template
-
Unsolved issues
-
it's not possible to change the root directory in the workspace in WebIDE -
support multiple architectures -
build the injector as a part of the fork build process -
make sure that we understand which user runs the editor - [ ]
Edited by Tomas Vik