-
Notifications
You must be signed in to change notification settings - Fork 62
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
Ensure devfiles available on the registry are compatible with devworkspace #681
Comments
Che currently shows on its landing page a list of "Getting Started" projects. That's a list of GitHub repos or zip files that have a devfile at their root. It's important that Getting Started have a devfile at their root if we want to drive Devfile adoption. And Che is migrating all "Getting Started" to zip files instead of GitHub repos because that provides better performances and support air-gap environment by default. To use the Devfile Registry as the source for Che "Getting Started" we could use the Devfile Registry samples. That was the original idea. But that may not be the best option (see below the problems for samples). The alternative is to use the Devfile Registry stacks. That means that, at Che build time, the Devfile Registry stacks are fetched and projects zip files are created. The zip files should include the stack Devfile without the "projects" or "projectStarter" section. Anyway this is a list of problems that need to be addressed to adopt the Devfile Registry in Che: General devfiles problems:
Specific samples problems:
|
This item can be problematic. Where would the |
That’s a good point @kadel. After some thoughts this morning I concluded that we should use `$PROJECT_SOURCE` in all single-project devfiles (all devfiles in the registry).
|
I have updated my comment suggesting to use |
Closing. Starting from 7.82.0 Eclipse Che is going to use registry.devfile.io by default |
The goal of this issue is to make sure that all the devfile that are provided in the registry are tested and made compatible with devworkspace and in line with #679
Which area/kind this issue is related to?
/area registry
/area devworkspace
Stacks fixes:
${PROJECTS_ROOT}
with${PROJECT_SOURCE}
in commandsworkingDir
/project(s)
with${PROJECT_SOURCE}
in commandsworkingDir
(PR)Samples fixes:
buildguidance
componentsquay.io/eclipse/che-java11-maven:nightly
).schemaVersion
>= 2.1.0projectStarter
andproject
from the Devfiles in a git repositorydevfile.yaml
published atregistry.devfile.io
and the ones in the git repositoriesThe text was updated successfully, but these errors were encountered: