Details
-
Task
-
Resolution: Done
-
Major
-
2.13.0.GA
-
False
-
False
-
Description
Synced from Eclipse Che issue
https://github.com/eclipse/che/issues/20607
Is your enhancement related to a problem? Please describe
I have a repository having a devfile v1 there.
Then, I want to add devfile v2 in my repository but still have the v1.
I would like to be able to specify the path to my v2 when I'm running in a DevWorkspace instance
Describe the solution you'd like
I would like to be able to specify like devfilePath=devfile.v2 at the end of the URL for factory workflow to switch to different devfiles
Describe alternatives you've considered
N/A but if there are better proposals
Additional context
to have both devfile v1 and v2 in a repository and be able to use for example online instance workspaces.openshift.com and a DevWorkspace instance to load my projects using my devfiles.
Release Notes Text
If the devfile is not at the root of a repository or has a different name than devfile.yaml it can be referenced using a parameter devfilePath in the factory URL.