-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Theia respect Devfile of a field of Workspace #13112
Labels
kind/enhancement
A feature request - must adhere to the feature request template.
Comments
sleshchenko
added
the
kind/enhancement
A feature request - must adhere to the feature request template.
label
Apr 10, 2019
sleshchenko
changed the title
Make Theia respecting Devfile of a field of Workspace
Make Theia respect Devfile of a field of Workspace
Apr 11, 2019
6 tasks
Closed
Done for projects synchronization and workspace panel. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
We're working on improving Che Server and add an ability to use Devfile as a new way to configure workspace. It will be implemented in the following way: user is able to create a workspace from WorkspaceConfig or Devfile but both at the same can not be defined.
Then user is able to start such workspace with Devfile (WorkspaceConfig is missing) and classical runtime will appear in workspace.
We did not make and merge final needed changes for Che Server but we already have some dirty(in meaning of code) POC.
This issue is to make Theia respect Projects defined in Devfile as a field of Workspace. Below is present a workspace config and detailed instruction on how to get POC working.
Note that workspace with WorkspaceConfig should be supported as well to provide backward compatibility.
Workspace JSON with WorkspaceConfig
Workspace JSON with Devfile
In scope of this issue the actual difference that makes sense is that in one case projects configuration are located at
.config.projects
and in another with Devfile.devfile.projects
. Note that the project configuration format is a bit different: for WorkspaceConfig -> ProjectConfig , and for Devfile -> Project.Reproduction Steps
sleshchenko/che-server:devfile
.{CHE_HOST}/swagger/#!/workspace/createFromDevfile
Workspace Recipe to start
Expected: Projects defined in Devfile are imported
Actual: Theia does not clone projects sources since workspace config is missing.
The text was updated successfully, but these errors were encountered: