-
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
Workspace creation from config with code #4266
Comments
Your code is not part of a workspace, so it will not be exported when you export a workspace. So, you should have your code committed to a git repository, or saved within a ZIP file - and then when you re-import a workspace, you can then re-clone the code. The code is treated as a special purpose set of files and it's persisted outside of the workspace itself so that the workspace runtime can have an independent workflow of the code workflow. Your code is automatically saved onto the host - you can see it in /data/instance where /data is the folder where you mounted when starting Che. |
@rajivece @TylerJewell source is saved to workspace config, but it's just config. When you start such a workspace, you will see your project icon in the project tree with a red cross on it, which means it is in workspace config but there are no sources (physical location). When clicking on such a project, the IDE should offer you to close the project from the repo which is saved in a workspace config. Here's the issue - #4196 |
Closing the issue. Follow #4196 |
Hi,
I'm trying to export workspace with code from git using export as a file and trying to import it into another Che instance through Dashboard -> New Workspace -> Create from configuration.
Workspace is created successfully but the code is not pulled.
How do I achieve this?
Reproduction Steps:
Two instances of Che are running on two systems
OS and version:
Ubuntu 14.04
Docker version: 1.12.6
The text was updated successfully, but these errors were encountered: