-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area/devfile-specIssues related to Devfile v2Issues related to Devfile v2area/devworkspace-operatorkind/enhancementA feature request - must adhere to the feature request template.A feature request - must adhere to the feature request template.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.
Description
Is your enhancement related to a problem? Please describe
The OpenShift Developer Console will include some new examples that have Devfiles withouth placeholder outerloop component. But those Devfiles will use v2.2 of the spec.
Trying to start a workspace from this repo https://github.com/devfile-samples/devfile-sample-java-springboot-basic, on che next with devworkspace enabled, I faced the following problems:
- Components of type
imageis considered invalid - Command
build-imagereferences the component of typeimagethat is not supported - Commands of type
compositeare not supported mvncommands fail because the defaultworkingDiris/projects- (Related but not a problem with the devfile above): special variable
$PROJECT_SOURCEis not supported
Describe the solution you'd like
- When DevWorkspace is enabled:
- DevWorkspace supports
imagecomponents ignoring them - DevWorkspace ignores commands associated to
imagecomponents - DevWorkspace supports
compositecommands - DevWorkspace sets default working directory to first project folder (not
/projects/) - DevWorkspace supports
PROJECT_SOURCE(notPROJECTS_SOURCE) - DevWorkspace ignores placeholder outerloop component
- When DevWorkspace is disabled devfile library converter handling of v2.2 to v1 #20856
- Devfile converter removes any
imagecomponents during conversion - Devfile converter removes commands associated to
imagecomponents - Devfile converter removes
compositecommands - Devfile converter sets default working directory to first project folder (not
/projects/) - Devfile converter replaces
PROJECT_SOURCEwith the path to the first project/projects/ - Devfile converter removes placeholder outerloop component
Metadata
Metadata
Assignees
Labels
area/devfile-specIssues related to Devfile v2Issues related to Devfile v2area/devworkspace-operatorkind/enhancementA feature request - must adhere to the feature request template.A feature request - must adhere to the feature request template.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.