question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create v2 devfiles for Getting Started samples

See original GitHub issue

Is 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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
svorcommented, Oct 29, 2021

@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:

  • Create a new branch in sample’s repository (if you don’t have permissions ask me)
  • Add devfile.yaml version 2. Here you can find Devfile V2 API, also you can look at existing devfile v2 for quarkus sample
  • Add the link to the branch with devfile v2 into meta.yaml in che-devfile-registry, for example take a look at quarkus meta.yaml

If you have any question, please ask me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found