Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2396

Ability to provide the path to the devfile yaml file when using factory workflow

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 2.13.0.GA
    • 2.13.0.GA
    • docs
    • False
    • False
    • Hide
      = Support alternate devfile path

      With this update, when using the {devworkspace} engine, you can specify the devfile path when creating a workspace from a URL. Use the `devfilePath` parameter. It enables the coexistence of two devfiles in the same repository, to support the version 1 to version 2 migration.


      Show
      = Support alternate devfile path With this update, when using the {devworkspace} engine, you can specify the devfile path when creating a workspace from a URL. Use the `devfilePath` parameter. It enables the coexistence of two devfiles in the same repository, to support the version 1 to version 2 migration.

    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.

      Attachments

        Activity

          People

            rhn-support-mleonov Max Leonov
            jiralint_jira Friendly Jira Robot (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: