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

Launching a workspace using `.devfile.yaml` file from Gitlab repo hosted internally fails

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • With this fix, the availability of workspace start from gitlab repository with .devfile, is restored.
    • Bug Fix
    • Proposed

      Description of problem:

      With Devspaces 3.16, we are not able to use .devfile.yaml file in Gitlab hosted repo. The devfile not found error is observed.
      ~~~
      Could not reach devfile at https://<gitlab-host>/api/v4/projects/username%2Ftest/repository/files/devfile.yaml/raw?ref=HEAD
      ~~~

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1.  Create a devfile and rename the file in gitlab repo as `.devfile.yaml`
      2.  Launch the workspace from the dashboard using the GItlab repo Url  

       

      Actual results:

      Below error is observed, with `.devfile.yaml`, works fine with `devfile.yaml`

      Could not reach devfile at https://<gitlab-host>/api/v4/projects/username%2Ftest/repository/files/devfile.yaml/raw?ref=HEAD 

       

      Expected results:

      The workspace should be launched using the `.devfile.yaml` file as well.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              ivinokur-1 Igor Vinokur
              rhn-support-jyarora Jyotsana Arora
              Shmaraiev Oleksandr Shmaraiev Oleksandr
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: