-
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
Remove native launch scripts of Eclipse Che (replaced now by Docker CLI) #3780
Conversation
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/1668/ |
adding removal of Vagrantfile as well |
Build # 1676 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/1676/ to view the results. |
ci-build |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/1688/ |
should I wait more time on the review of this PR ? |
We are ok to merge. However, what if we considered an alternative? The purpose of the CLI is to have puppet for taking a single configuration and generating an instance configuration. Today, we do that with a single way to ultimately start che which is with eclipse/che-server. But what if we used puppet to generate multiple ways to start Che - through docker-compose and / or native? And then we had some sort of simple flag in the start command to indicate which technique is used to start your che instance. We could then have templates for generating the native approach for starting che - but you still use the CLI to interface with it. |
We're generating a docker compose file that can be used directly (without cli calls) |
We could generate a native.sh and a native.bat at the same time. So, theoretically this would be possible. |
So, we currently have a |
CLI is used to start che. command is : docker run eclipse/che to use local binaries : add -v <path-to-che-cloned-directory>:/repo Change-Id: I8649830049974043b69f6725480c1799cfe325cd Signed-off-by: Florent BENOIT <[email protected]>
Change-Id: Iea826391d3f211eb709d18a249f22b68af93c00d Signed-off-by: Florent BENOIT <[email protected]>
d3ff187
to
792cc0f
Compare
Pull request rebased. It's open for 6 days : should I merge ? |
Yes, merge. We can plan to add in a second type of |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/1762/ |
…LI) (eclipse-che#3780) * Remove native launch of che / vagrant files CLI is used to start che. command is : docker run eclipse/che to use local binaries : add -v <path-to-che-cloned-directory>:/repo Change-Id: I8649830049974043b69f6725480c1799cfe325cd Signed-off-by: Florent BENOIT <[email protected]>
What does this PR do?
Now, docker CLI is the way to start Eclipse Che so we don't need anymore "native scripts" and Vagrantfile
command to start che is :
docker run eclipse/che
to use local binaries : add
-v <path-to-che-cloned-directory>:/repo
It was originally made as part of Pull Request #3318
but it has been delayed to get stability on docker CLI and developers using it
#3318 (comment)
What issues does this PR fix or reference?
#2977
Previous behavior
Che was launched with shell scripts or with Vagrant
New behavior
Che is launched with CLI
Tests written?
No
Docs updated?
AFAIK in the docs we don't write how to use these scripts.
Changelog
Remove native launch scripts of Eclipse Che (replaced now by Docker CLI)
Change-Id: I8649830049974043b69f6725480c1799cfe325cd
Signed-off-by: Florent BENOIT [email protected]