-
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
As a user, I want to have a possibility to convert old devfile v1 workspaces to the new v2 DevWorkspaces #20845
Comments
@l0rd could you please review and share your thoughts? |
I would not start the new DevWorkspace. I would just create it.
We should document how to retrieve those old v1 devfiles in case of problems and add a link to that doc as well. I would also describe what is expected if a conversion error occurs: we should probably restore the v1 devfile and provide a link to a documentation article that explains how convert a v1 devfile to v2. |
makes sense.
@l0rd The only potential problem is what if the converted workspace fail to start for whatever reason |
Could we...
|
at this point, it is not clear what is going to be the desired UX |
cc @Kasturi1820 |
The short-term plan for 7.41 - 7.42 is simply hiding v1 based workspaces on the UD level - #20900 |
PR has been merged - eclipse-che/che-dashboard#441 |
Is your task related to a problem? Please describe
As a user, I want to have a possibility to convert old devfile v1 workspaces to the new v2 DevWorkspaces, when DevWorkspace engine is enabled.
Describe the solution you'd like
Open
/Start
actions (Delete
is still available) on Dashboard, but have a new "Convert" actionconverted
is added to the old Che 7 workspace which is still stored in the db.converted
attributeDescribe alternatives you've considered
#20254
Additional context
It is planned NOT to delete old Che 7 devfile v1 workspaces from db after the conversion, because it will trigger the PVC cleanup and delete the workspace-related files mounted in the PVC. In the future, it is planned to get rid of the db and use k8s etcd instead
N.B. User still should be able to delete devfile v1 workspace instead of converting it.
Sub-tasks
Open
/Start
menu items for old devfile v1 workspacesShow Original Devfile
action item for converted DevWorkspaces, that will allow to preview original devfile v1Open
action link with theConvert
button / menu item for creating a new DevWorkspace based on the old devfile v1 (under the hood the convertion lib is used - https://github.com/che-incubator/devfile-converter)The text was updated successfully, but these errors were encountered: