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.

'Try it' buttons on Che Theia PR are not working

See original GitHub issue

Describe the bug

I’m not able to start a workspace using Try it buttons. The error is:

Cause: Devfile schema validation failed. Error: (/metadata):The value must be of object type, but actual type is null.(/generateName):The object must not have a property whose name is "generateName".(/projects/0):The object must have a property whose name is "source".(/source):The object must not have a property whose name is "source".(/type):The object must not have a property whose name is "type".(/location):The object must not have a property whose name is "location".(/branch):The object must not have a property whose name is "branch".(/components/0):The object must have a property whose name is "type".

Che version

  • nightly

Steps to reproduce

Try to use Try it buttons on a PR to che-theia

The URL is like the following: https://workspaces.openshift.com/f?url=https://raw.githubusercontent.com/chepullreq4/pr-check-files/master/che-theia/pr-1161/simple/che-theia-simple-devfile.yaml

Screenshots

try_it

try_it_error

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
dmytro-ndpcommented, Jul 20, 2021

@RomanNikitenko: “Try it” buttons are linked with devfiles with:

   persistVolumes: false

The correct variant:

  persistVolumes: "false"

Let’s reopen an issue and fix the devfile templates.

1reaction
dmytro-ndpcommented, Jul 12, 2021

@RomanNikitenko: Che QE team is responsible for Che Theia PR check on CRW Jenkins including Try it buttons.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 2. Che-Theia IDE basics - Red Hat Customer Portal
The Che-Theia IDE allows users to define custom commands in a devfile that are then available when working in a workspace. The following...
Read more >
Active editor doesn't detect when content on disk is newer #7036
There is an inconsistency between Theia and VS Code, in that in doesn't detect if content of a file is newer when modified...
Read more >
Theia - Cloud and Desktop IDE Platform
An Open, Flexible and Extensible Cloud & Desktop IDE Platform. Efficiently develop and deliver Cloud & Desktop IDEs and tools with modern web...
Read more >
Gitpod: Always ready to code.
Gitpod is a cloud development environment for teams to efficiently and securely develop software. Improve your team's developer experience by coding in a ......
Read more >
Eclipse Theia 1.0 – Open-Source Alternative to Visual Studio ...
There are some programs that do a very good job of asking before they send any crash or problem reports. Microsoft is not...
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