Devfiles: Che doesn't expand projects in zip archives #14206
Labels
area/editor/theia
Issues related to the che-theia IDE of Che
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P2
Has a minor but important impact to the usage or development of the system.
Milestone
Describe the bug
I saw that the Devfile spec supports zip archives, so I created a devfile that references a project in a zip archive (located here):
When I go to create a workspace, the workspace is created fine, however Che tries to git clone the zip archive, rather than unzipping it. What's interesting is that instead of reporting an error, Che doesn't report any problems and in fact, it says the clone was successful, despite the project location not being a git repo.
Che version
Steps to reproduce
Create a workspace from my devfile linked above. Workspace creation will succeed, but there will be no projects in the workspace. Theia will display a message saying the zip archived was git cloned
/projects
and checked out default breanchExpected behavior
Che downloads the zip archive and unzips it under
/projects/
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
The text was updated successfully, but these errors were encountered: