Skip to content

Support v2 devfiles with che-server by converting them into corresponding v1 devfiles #20644

@sleshchenko

Description

@sleshchenko

Is your task related to a problem? Please describe

That's important because Che and CRW don't get devfile v2 support(devworkspace mode) by default, but OpenShift Console already use them for default samples and it breaks integration.

image

Describe the solution you'd like

Che should supply devfile v2 in Che Server mode (by converting it to devfile v1).

It includes the following subtasks:

📓 dashboard won't validate generated devfile v1 (from devfile v2) against devfile v1 schema, and if there is any bug in conversion logic, the user will get an unclear message that some component is not a valid or field is missing, but in a fact there is nothing user can do with that.

Release Notes Text

Che now supports creating workspaces from a Devfile that uses v2 of the spec even if the workspace engine is the che-server (the default). Previously that was possible only if Che was configured with the DevWorkspace operator as workspace engine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/che-serverarea/dashboardkind/bugOutline of a bug - must adhere to the bug report template.new&noteworthyFor new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notessprint/current

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions