Create v2 devfiles for Getting Started samples
See original GitHub issueIs your enhancement related to a problem? Please describe.
One of the sub-epics of Run Che workspaces using the DevWorkspace operator is to switch our samples from a v1 to v2 based devfiles.
Describe the solution you’d like
- Add v2 devfiles in our samples git repositories
- Implement a new “project samples” registry, alternative to the devfile registry
- Add a installation parameter to switch between devfile and sample registry as the source of the getting started samples
- Adapt tests to use devfile v2 based Getting Started samples
Related to https://github.com/eclipse/che/issues/18666
Further details
A simple devfile v2 is the one available here.
We should use schemaVersion: 2.1.0
rather than schemaVersion: 2.0.0
(che-server support for it)
and the full updated reference is here.
Subtasks
- Add v2.1 devfiles, .che/che-theia-plugins.yaml, .che/che-editor in our samples git repositories (Florent’s note: I think we should use .vscode/extension.json for almost all devfiles)
- done for one example there: https://github.com/che-samples/java-spring-petclinic/tree/devfilev2
- Create a sample registry (metadata) https://github.com/eclipse/che/issues/19906
- devfile registry update to include this new service
- dashboard update to support it
- If devworkspace is deployed, dashboard should use the sample registry https://github.com/eclipse/che/issues/19923
- Adapt QE tests https://github.com/eclipse/che/issues/20913
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Devfile v2 and IDE plug-ins in Eclipse Che - Medium
Each of these samples will use the new DevWorkspace engine. Getting started with devfile v2. There is ongoing work merging Che Devfile registry ......
Read more >Devfile v2 and IDE plug-ins - Eclipse Che Blog
Getting Started. Clicking on a sample will use a Devfile v2 and the DevWorkspace engine. ℹ️ The installation guide is also available in ......
Read more >Building a custom devfile registry
To package any external devfile stacks or samples in your devfile registry, go to the root of your repository and create an extraDevfileEntries.yaml...
Read more >Introduction to Devfile - GitHub Pages
Getting Started. The simplest way to use devfile is to have it deployed into GitHub source repository and then create factory from this...
Read more >Devfile registries :: Eclipse Che Documentation
The User dashboard displays the samples list on the Dashboard → Create Workspace page. Each sample includes a Devfile v2. The Che deployment...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@svor here are the PRs for Scala/Metals:
@apupier @sideeffffect @filipkroupa @AndrienkoAleksandr we are creating devfiles v2 for getting started samples (more information you can find in the description). It’s already done for some samples, you can check the progress in the spreadsheet. So, I’d like to ask you to take care about the samples which you have contributed.
The procedure should be:
If you have any question, please ask me.