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

Workspace failed to launch using factory from Bitbucket.org repository

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Starting a cloud development environment from a Bitbucket repository

      Before this update, starting a workspace from a Bitbucket repository URL in the format `user@bitbucket.org` would fail. With this update, the issue is fixed.
      Show
      = Starting a cloud development environment from a Bitbucket repository Before this update, starting a workspace from a Bitbucket repository URL in the format ` user@bitbucket.org ` would fail. With this update, the issue is fixed.
    • Bug Fix
    • Done

      Description of problem:

      • The workspace doesn't run when launch factory from Bitbucket.org repository with devfile v2, is observed the error:
      Unable to create devworkspace: DevWorkspace.workspace.devfile.io "public-bb-repo-devfile-v2" is invalid: [<nil>: Invalid value: "": "spec.template.projects[0]" must validate one and only one schema (oneOf). Found none valid, spec.template.projects[0].git: Required value]
      
      • This is reproduced for all test-cases:
        • public repo No OAuth
        • public/private refused OAuth
        • public/private setup OAuth
      • Used devfile has ver.2:
      schemaVersion: 2.1.0
      metadata:
        name: private-repo-testname
      
      • See screenshots:


      Prerequisites:

      • DS 3.5.0.RC-03-06 with
      Index image v4.10: brew.registry.redhat.io/rh-osbs/iib:447635
      Index image v4.12: brew.registry.redhat.io/rh-osbs/iib:447639
      

      Actual results:

      the workspace start failed

      Expected results:

      the workspace should be run

      Reproducibility:

      Always

        1. ds350-bb-org-factory-resolver-api-1.png
          394 kB
          Shmaraiev Oleksandr
        2. ds350-bb-org-factory-ws-no-run-dashboard.png
          426 kB
          Shmaraiev Oleksandr
        3. ds350-bb-org-no-oauth-ws-NO-tun.png
          157 kB
          Shmaraiev Oleksandr

              ivinokur-1 Igor Vinokur
              oshmarai Shmaraiev Oleksandr
              Shmaraiev Oleksandr Shmaraiev Oleksandr
              Jana Vrbkova Jana Vrbkova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: