Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Dashboard showed wrong default devfile content of workspace created from private GitHub repo using SSH URL #23301

Open
dmytro-ndp opened this issue Jan 5, 2025 · 0 comments
Assignees
Labels
area/dashboard kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Jan 5, 2025

Describe the bug

User Dashboard showed wrong default devfile content of workspace created from private GitHub repo using SSH URL.

Expected devfile yaml content: https://github.com/crw-qe/quarkus-api-example-public/blob/main/devfile.yaml

Actual devfile yaml content:

schemaVersion: 2.2.0
metadata:
  name: quarkus-api-example-private-d4hf
attributes:
  controller.devfile.io/bootstrap-devworkspace: true
projects:
  - git:
      remotes:
        origin: [email protected]:crw-qe/quarkus-api-example-private.git
    name: quarkus-api-example-private
components:
  - name: universal-developer-image
    container:
      image: quay.io/devfile/universal-developer-image:ubi8-latest

Screenshot from 2025-01-05 21-53-20

Screencast:
scrnli_GgaR048tsZvCNH.webm

DevWorkspace.yaml:
devworkspace-quarkus-api-example-private-d4hf.yaml.txt

Che version

7.96@latest

Steps to reproduce

  1. Install Eclipse Che.
  2. Create private repo on GitHub.com using https://github.com/crw-qe/quarkus-api-example-public
  3. Make sure you have ssh key added to your account on GitHub.com and to the User Dashboard in Eclipse Che.
  4. Create workspace using SSH URL.
  5. Go to "User Dashboard > Workspaces > (new workspace) > Devfile" tab.

Expected behavior

Devfile content displayed at the "Dashboard > Workspaces > (new workspace) > Devfile" tab should be the same as https://github.com/crw-qe/quarkus-api-example-private/blob/main/devfile.yaml

Runtime

OpenShift

Screenshots

No response

Installation method

chectl/next

Environment

Linux

Eclipse Che Logs

No response

Additional context

The error reproduced with Dev Spaces 3.17.0 on Dev Sandbox and with Eclipse Che Next on Che dogfooding instance having configured GitHub OAuth.

@dmytro-ndp dmytro-ndp added kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system. area/dashboard labels Jan 5, 2025
@dmytro-ndp dmytro-ndp changed the title User Dashboard shown wrong default devfile content of workspace created from private GitHub repo using SSH URL User Dashboard showed wrong default devfile content of workspace created from private GitHub repo using SSH URL Jan 5, 2025
@dmytro-ndp dmytro-ndp changed the title User Dashboard showed wrong default devfile content of workspace created from private GitHub repo using SSH URL User Dashboard showed wrong default devfile content of workspace created from private GitHub repo using SSH URL, or gogs public repo using http URL Jan 6, 2025
@dmytro-ndp dmytro-ndp changed the title User Dashboard showed wrong default devfile content of workspace created from private GitHub repo using SSH URL, or gogs public repo using http URL User Dashboard showed wrong default devfile content of workspace created from private GitHub repo using SSH URL Jan 6, 2025
@vinokurig vinokurig self-assigned this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

2 participants