-
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
Devfile projects not working with custom theia editor #20128
Comments
@sgraband hello, |
@svor thanks for your help! Is there any reason why i cannot reuse the existing workspace-plugin? |
@sgraband the other option you have is to use the devworkspace operator. Note that this is an experimental feature but, in this case, projects are cloned by an init container rather than the editor. |
You can try to reuse it but workspace-plugin depends on another plugins/extensions, so it could be a problem |
I tried to enable the devworkspace operator with these instructions. However, i have a few questions:
|
yes correct, it brings devWorkspace support /devfile v2.0 instead of che-server/devfilev1 workspaces
yes, it's handling only devfile 2.1.0+ devfiles
It's a different engine supporting only devfile v2
Using the instruction should be enough.
Yes it's actively support as che-server workspaces will be deprecated and replaced by DevWorkspace / DevWorkspace operator you can track with dedicated milestones in che github tracker |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Summary
I have a custom theia editor, that i am deploying to che. Specifying the editor in the devfile works as expected. However, when i specify a project in the devfile, to clone into the workspace, the project is not cloned. I do not get an error, hence it seems like the process for cloning the repository is not even started. There is also no indication in the logs that the cloning is tried.
When trying out a workspace from the default devfile-registry it works. Do i need to configure my theia editor in a specific way to get the support for importing projects via the devfile? Or is this unexpected behavior?
Relevant information
Che Version
7.32.2
Deployed on minikube using chectl
The text was updated successfully, but these errors were encountered: