factory devfile: should support URL from Github
See original GitHub issueDescribe the bug
Providing a devfile.yaml URL from Github to the Che factory is failling. Che is expecting a raw
URL. But it is a common that user provide the Github view URL.
Che version
- latest
- nightly
- other: please specify
Steps to reproduce
- go to https://github.com/eclipse/che-devfile-registry/tree/master/devfiles/quarkus
- right click on the
devfile.yaml
link. - copy the link address (should be https://github.com/eclipse/che-devfile-registry/blob/master/devfiles/quarkus/devfile.yaml)
- paste the link in the Che dashboard (add workspace, url of devfile)
- the dashboard is failing to load the devfile.
Expected behavior
it should detect that it is github and fetch the raw devfile automatically: https://github.com/eclipse/che-devfile-registry/raw/master/devfiles/quarkus/devfile.yaml
Screenshots
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Different behavior between repo URL and devfile URL in factory
Describe the bug The behavior of factory URLs is different depending on if the URL points at e.g. a github repo versus a...
Read more >Support Devfile format to generate a workspace #11549
A developer can generate a workspace by just calling a url: che.host/f? ... Factory flow should support k8s/OS tool in Devfile Factory flow ......
Read more >Simplify the factory URL link #18165 - eclipse/che - GitHub
The simple proposal Mario brought, we can at least start with the factory URL with hash that supports only Repo, Devfile URL.
Read more >The devfile registry should allow referencing external ... - GitHub
Basically all that the factory service is supporting with the url attribute. The text was updated successfully, but these errors were ...
Read more >Failed to start workspaces using devfile spec v2.1.0 #19299
... a workspace using a factory link it fails with "Failed to resolve a devfile. ... I would like to support latest version...
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
not reproduced on the latest version 7.26-snapshot.
Tested with the wrong url. Reopening.