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

Auto opening projects in Eclipse Che environment #75

Merged
merged 1 commit into from
Jan 17, 2022
Merged

Conversation

vzhukovs
Copy link
Collaborator

@vzhukovs vzhukovs commented Jan 15, 2022

This changes proposal adds an ability to automatic project open in Eclipse Che environment.

Devfile located by $DEVWORKSPACE_FLATTENED_DEVFILE
Requires installed yq on the runtime image. Doesn't organized to execute on the local image run.

Fixes: eclipse-che/che#21003

Steps to check:
Create the workspace from the following url on the minikube:

https://<your-che-host>/dashboard/#https://github.com/che-incubator/jetbrains-editor-images?che-editor=https://gist.githubusercontent.com/vzhukovs/55caad47363e1b4f3d4a6ab3fe85a03a/raw/23e9ae0d3d50ef914e64fecd56fd63be78f3f1ea/devfile.yaml
  • If devfile contains more than one project, then $PROJECTS_ROOT will be opened as project directory.
  • If devfile contains only one project, then it will be opened by default.
  • if devfile doesn't contain any project, then $PROJECTS_ROOT will be opened as project directory.

Signed-off-by: Vladyslav Zhukovskyi vzhukovs@redhat.com

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
@vzhukovs vzhukovs merged commit 2577171 into main Jan 17, 2022
@vzhukovs vzhukovs deleted the che#21003 branch January 17, 2022 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto opening cloned project in JetBrains' related editors
2 participants