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

Documentation and Solution Needed for Using Parent ID Devfiles Without an Internal Devfile Registry #23117

Open
eye0fra opened this issue Aug 27, 2024 · 3 comments
Assignees
Labels
area/devfile-registry area/doc Issues related to documentation kind/enhancement A feature request - must adhere to the feature request template. kind/question Questions that haven't been identified as being feature requests or bugs. severity/P1 Has a major impact to usage or development of the system. status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach

Comments

@eye0fra
Copy link

eye0fra commented Aug 27, 2024

Is your enhancement related to a problem? Please describe

With the upcoming deprecation of the internal devfile registry in Eclipse Che, users will need alternative methods for accessing and using parent ID devfiles, particularly when following a "getting started" approach. Currently, the process for obtaining and referencing a parent devfile ID is unclear without relying on the internal registry.

The following issues need to be addressed:

  1. How to Obtain the Parent Devfile ID:

    • What are the recommended methods for obtaining the ID of a parent devfile if the internal registry is no longer available?
    • Is parent ID with URI is the only way supported ?
    • Is there a way to use the Che dashboard URL to acquire the parent devfile ID?
    • Would the by Kubernetes resource works (declariteve approach)?
  2. Support for Git Repositories:

    • If a Git repository URI is used to reference a parent devfile, how can this be implemented effectively?
    • The solution should work seamlessly with both public and private Git repositories. If using private repositories, what specific steps are required to ensure secure and successful access?
  3. Documentation and Guides:

    • There is a need for clear, comprehensive documentation that outlines the steps to follow for users who are transitioning away from the internal devfile registry.
    • This documentation should include examples, best practices, and potential pitfalls to avoid.

Describe the solution you'd like

The goal of this issue is to ensure that users of OpenShift DevSpaces can continue to use parent ID devfiles effectively even after the deprecation of the internal devfile registry. A well-documented and secure process should be established, with clear guidance on how to reference parent devfiles using alternative methods, including support for private Git repositories and Kubernetes resources.

Describe alternatives you've considered

No response

Additional context

No response

@eye0fra eye0fra added the kind/enhancement A feature request - must adhere to the feature request template. label Aug 27, 2024
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Aug 27, 2024
@AObuchow AObuchow added kind/question Questions that haven't been identified as being feature requests or bugs. area/doc Issues related to documentation area/devfile-registry severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Aug 28, 2024
@ibuziuk
Copy link
Member

ibuziuk commented Oct 8, 2024

@eye0fra could you please take a look at the devfile.io samples / docs - https://devfile.io/docs/2.3.0/referring-to-a-parent-devfile
smth. like this should work for example:

parent:
  id: udi
  registryUrl: https://registry.stage.devfile.io/
  version: 1.0.0

@ibuziuk ibuziuk added the status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach label Oct 8, 2024
@ibuziuk ibuziuk self-assigned this Oct 9, 2024
@ibuziuk ibuziuk moved this to 📅 Planned in Eclipse Che Team A Backlog Oct 9, 2024
@ibuziuk ibuziuk moved this from 📅 Planned to 🚧 In Progress in Eclipse Che Team A Backlog Jan 7, 2025
@ibuziuk
Copy link
Member

ibuziuk commented Jan 9, 2025

@eye0fra hello, please, find more follow up on this issues with answers inlined:

What are the recommended methods for obtaining the ID of a parent devfile if the internal registry is no longer available?

From Eclipse Che perspective the recommended approach is to use URI reference e.g. :

https://gist.github.com/ibuziuk/ff5d5da5ae887dfd420b10eda17a9a2e

A very powerful feature is that when images in parent devfile are updated the CDE would be also updated accordingly after restart (without any changes in the child devfile)

Is there a way to use the Che dashboard URL to acquire the parent devfile ID?

not sure I get the question, but for existing workspaces you can preview devfile definition from the User Dashboard:

Screenshot 2025-01-09 at 16 06 00

@eye0fra
Copy link
Author

eye0fra commented Jan 21, 2025

Yes, we are currently using the same mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devfile-registry area/doc Issues related to documentation kind/enhancement A feature request - must adhere to the feature request template. kind/question Questions that haven't been identified as being feature requests or bugs. severity/P1 Has a major impact to usage or development of the system. status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach
Projects
Status: 🚧 In Progress
Development

No branches or pull requests

5 participants
@ibuziuk @eye0fra @AObuchow @che-bot and others