Skip to content
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

Rework Che-IDEA image to sidecar-less model #20863

Closed
azatsarynnyy opened this issue Dec 1, 2021 · 2 comments
Closed

Rework Che-IDEA image to sidecar-less model #20863

azatsarynnyy opened this issue Dec 1, 2021 · 2 comments
Assignees
Labels
area/editor/jetbrains/intellij Issues related to the IntelliJ-based IDE for Eclipse Che kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@azatsarynnyy
Copy link
Member

azatsarynnyy commented Dec 1, 2021

Is your task related to a problem? Please describe

There's a new workspace model a.k.a. "sidecar-less" - #20435
We need to support it in our Che-IDEA editor.

How should it work?

The user's Devfile includes a UDI-based container, e.g.:
https://github.com/che-samples/java-guestbook/blob/b1561506771419c61ea81b1c8603fb6c20ddfcc2/devfile.yaml#L7

The editor's Devfile includes an init-container that copies the editor from the init-container to a mounted volume, e.g.:
https://github.com/eclipse-che/che-plugin-registry/blob/7bb4f565ffc10a83712040ea12ee71f31ed099bd/che-editors.yaml#L573
https://github.com/che-incubator/che-code/blob/main/build/scripts/entrypoint-init-container.sh

Then, the editor is launched in the user's UDI-based container, e.g.:
https://github.com/eclipse-che/che-plugin-registry/blob/7bb4f565ffc10a83712040ea12ee71f31ed099bd/che-editors.yaml#L592
https://github.com/che-incubator/che-code/blob/main/build/scripts/entrypoint-volume.sh

Describe the solution you'd like

At first, we need to check if the Projector-based IDEA can be run in a UBI container.

Then, we can try with a similar solution that is used in Che-Code:
https://github.com/eclipse-che/che-plugin-registry/blob/7bb4f565ffc10a83712040ea12ee71f31ed099bd/che-editors.yaml#L552-L612
https://github.com/che-incubator/che-code/tree/main/build

Describe alternatives you've considered

No response

Additional context

The issue is a part of the epic #20591

@azatsarynnyy azatsarynnyy added kind/task Internal things, technical debt, and to-do tasks to be performed. sprint/current severity/P1 Has a major impact to usage or development of the system. team/editors area/editor/jetbrains/intellij Issues related to the IntelliJ-based IDE for Eclipse Che labels Dec 1, 2021
@azatsarynnyy azatsarynnyy added this to the 7.41 milestone Dec 1, 2021
@azatsarynnyy azatsarynnyy mentioned this issue Dec 1, 2021
1 task
@benoitf
Copy link
Contributor

benoitf commented Dec 21, 2021

@azatsarynnyy 7.41.0 release will be cut tomorrow. This issue is not yet closed, so please close it if it's done or move it to 7.42

@azatsarynnyy
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/jetbrains/intellij Issues related to the IntelliJ-based IDE for Eclipse Che kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants